configguiopie.h
00001 /* 00002 This file is part of KitchenSync. 00003 00004 Copyright (c) 2006 Tobias Koenig <tokoe@kde.org> 00005 00006 This program is free software; you can redistribute it and/or modify 00007 it under the terms of the GNU General Public License as published by 00008 the Free Software Foundation; either version 2 of the License, or 00009 (at your option) any later version. 00010 00011 This program is distributed in the hope that it will be useful, 00012 but WITHOUT ANY WARRANTY; without even the implied warranty of 00013 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00014 GNU General Public License for more details. 00015 00016 You should have received a copy of the GNU General Public License 00017 along with this program; if not, write to the Free Software 00018 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, 00019 USA. 00020 */ 00021 #ifndef CONFIGGUIOPIE_H 00022 #define CONFIGGUIOPIE_H 00023 00024 #include "configgui.h" 00025 00026 class TQComboBox; 00027 class TQLineEdit; 00028 class TQSpinBox; 00029 00030 class ConfigGuiOpie : public ConfigGui 00031 { 00032 public: 00033 ConfigGuiOpie( const QSync::Member &, TQWidget *parent ); 00034 00035 void load( const TQString &xml ); 00036 TQString save() const; 00037 00038 private: 00039 TQLineEdit *mDeviceIP; 00040 TQComboBox *mDeviceType; 00041 TQLineEdit *mUserName; 00042 TQLineEdit *mPassword; 00043 TQComboBox *mConnectionType; 00044 TQSpinBox *mPort; 00045 }; 00046 00047 #endif