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 <qvaluelist.h>
00028 #include <qpair.h>
00029
00030 class QLabel;
00031 class QLineEdit;
00032 class QComboBox;
00033
00034 class ConfigGuiGnokii : public ConfigGui
00035 {
00036 Q_OBJECT
00037
00038 public:
00039 ConfigGuiGnokii( const QSync::Member &, QWidget *parent );
00040
00041 void load( const QString &xml );
00042 QString save() const;
00043
00044 private:
00045 QComboBox *mConnection;
00046 KComboBox *mPort;
00047 QLabel *mPortLabel;
00048 KComboBox *mModel;
00049
00050 BluetoothWidget *mBluetooth;
00051
00052 typedef QPair<QString, QString> ConnectionType;
00053 typedef QValueList<ConnectionType> ConnectionTypeList;
00054 ConnectionTypeList mConnectionTypes;
00055
00056 protected slots:
00057 void slotConnectionChanged( int nth );
00058 void slotModelChanged();
00059
00060 };
00061
00062 #endif
|