00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022 #ifndef CONFIGGUISYNCMLOBEX_H
00023 #define CONFIGGUISYNCMLOBEX_H
00024
00025 #include <tqdom.h>
00026
00027 #include "configgui.h"
00028 #include "connectionwidgets.h"
00029
00030 class TQCheckBox;
00031 class TQComboBox;
00032 class TQGridLayout;
00033 class TQSpinBox;
00034 class KComboBox;
00035 class KLineEdit;
00036 class KURLRequester;
00037
00038 class ConfigGuiSyncmlObex : public ConfigGui
00039 {
00040 Q_OBJECT
00041 TQ_OBJECT
00042
00043 public:
00044 ConfigGuiSyncmlObex( const QSync::Member &, TQWidget *parent = 0 );
00045
00046 void load( const TQString &xml );
00047 TQString save() const;
00048
00049 public slots:
00050 void slotConnectionChanged( int pos );
00051
00052 private:
00053
00054 typedef TQPair<int, TQString> ConnectionType;
00055 typedef TQValueList<ConnectionType> ConnectionTypeList;
00056 ConnectionTypeList mConnectionTypes;
00057
00058 TQComboBox *mConnection;
00059 BluetoothWidget *mBluetooth;
00060 UsbWidget *mUsb;
00061
00062
00063 typedef TQPair<int, TQString> SyncmlVersion;
00064 typedef TQValueList<SyncmlVersion> SyncmlVersionList;
00065 SyncmlVersionList mSyncmlVersions;
00066
00067 TQStringList mIdentiferList;
00068 KLineEdit *mUsername;
00069 KLineEdit *mPassword;
00070 TQCheckBox *mUseStringTable;
00071 TQCheckBox *mOnlyReplace;
00072 TQSpinBox *mRecvLimit;
00073 TQSpinBox *mMaxObjSize;
00074 TQComboBox *mSyncmlVersion;
00075 KComboBox *mIdentifier;
00076 TQCheckBox *mWbxml;
00077
00078 TQGridLayout *mGridLayout;
00079
00080 KComboBox *mContactDb;
00081 KComboBox *mCalendarDb;
00082 KComboBox *mNoteDb;
00083
00084 protected slots:
00085 void addLineEdit( TQWidget *parent, const TQString &text, KComboBox **edit, int row );
00086 };
00087
00088 #endif