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 TQ_OBJECT
00038
00039 public:
00040 ConfigGuiGnokii( const QSync::Member &, TQWidget *parent );
00041
00042 void load( const TQString &xml );
00043 TQString save() const;
00044
00045 private:
00046 TQComboBox *mConnection;
00047 KComboBox *mPort;
00048 TQLabel *mPortLabel;
00049 KComboBox *mModel;
00050
00051 BluetoothWidget *mBluetooth;
00052
00053 typedef TQPair<TQString, TQString> ConnectionType;
00054 typedef TQValueList<ConnectionType> ConnectionTypeList;
00055 ConnectionTypeList mConnectionTypes;
00056
00057 protected slots:
00058 void slotConnectionChanged( int nth );
00059 void slotModelChanged();
00060
00061 };
00062
00063 #endif
|