kitchensync
configguignokii.h00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021 #ifndef CONFIGGUIGNOKII_H
00022 #define CONFIGGUIGNOKII_H
00023
00024 #include "configgui.h"
00025 #include "connectionwidgets.h"
00026
00027 #include <tqvaluelist.h>
00028 #include <tqpair.h>
00029
00030 class TQLabel;
00031 class TQLineEdit;
00032 class TQComboBox;
00033
00034 class ConfigGuiGnokii : public ConfigGui
00035 {
00036 Q_OBJECT
00037
00038 public:
00039 ConfigGuiGnokii( const QSync::Member &, TQWidget *parent );
00040
00041 void load( const TQString &xml );
00042 TQString save() const;
00043
00044 private:
00045 TQComboBox *mConnection;
00046 KComboBox *mPort;
00047 TQLabel *mPortLabel;
00048 KComboBox *mModel;
00049
00050 BluetoothWidget *mBluetooth;
00051
00052 typedef QPair<TQString, TQString> ConnectionType;
00053 typedef TQValueList<ConnectionType> ConnectionTypeList;
00054 ConnectionTypeList mConnectionTypes;
00055
00056 protected slots:
00057 void slotConnectionChanged( int nth );
00058 void slotModelChanged();
00059
00060 };
00061
00062 #endif
|