configpart.h
00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022 #ifndef KSNYC_CONFIGPART_H
00023 #define KSNYC_CONFIGPART_H
00024
00025 #include <qwidget.h>
00026 #include <qmap.h>
00027
00028 #include "kapabilities.h"
00029 #include "configwidget.h"
00030
00031 class QVBox;
00032 class QHBox;
00033 class QGridLayout;
00034 class QCheckBox;
00035 class QComboBox;
00036 class QLineEdit;
00037 class QLabel;
00038 class QFrame;
00039 class QGroupBox;
00040 class QSpacer;
00041 class QSpacerItem;
00042 class QPushButton;
00043 class QListView;
00044
00045 namespace KSync {
00046
00047
00049 class ConfigPart : public ConfigWidget{
00050 public:
00055 ConfigPart(const Kapabilities &src, QWidget*, const char *name=0 );
00056
00061 ConfigPart(const Kapabilities& base,
00062 const Kapabilities& config,
00063 QWidget*, const char* name );
00064 ~ConfigPart();
00065 void setCapabilities(const Kapabilities & );
00066 Kapabilities capabilities()const;
00067 private:
00068 void init();
00069 void initialize(const Kapabilities & );
00070 void apply( const Kapabilities& );
00071 class ConfigPartPrivate;
00072 ConfigPartPrivate *d;
00073 Kapabilities m_kap;
00074 QCheckBox *m_ckbMetaSyncing;
00075 QGridLayout *m_mainLayout;
00076
00077 QLabel *m_lblAutoHandle;
00078
00079
00080 QGroupBox *m_grpConnection;
00081 QGridLayout *m_conLayout;
00082
00083 QComboBox *m_conSrcIp;
00084 QComboBox *m_conDestIp;
00085 QComboBox *m_conUser;
00086 QComboBox *m_conPass;
00087 QComboBox *m_conPort;
00088 QLabel *m_lblSrcIp;
00089 QLabel *m_lblDestIp;
00090 QLabel *m_lblUser;
00091 QLabel *m_lblPass;
00092 QLabel *m_lblPort;
00093
00094
00095 QGroupBox *m_grpModel;
00096 QGridLayout *m_grpLayout;
00097 QLabel *m_lblDevice;
00098 QLabel *m_lblConnection;
00099 QLabel *m_grpUser;
00100 QLabel *m_grpPass;
00101 QComboBox *m_cmbPass;
00102 QComboBox *m_cmbUser;
00103 QComboBox *m_cmbDevice;
00104 QComboBox *m_cmbConnection;
00105
00106
00107 QGroupBox *m_grpDevice;
00108 QGridLayout *m_devLay;
00109 QMap<QString, QLineEdit*> m_devGroup;
00110
00111 QGroupBox *m_grpFetch;
00112 QPushButton* m_fetchAdd;
00113 QPushButton* m_fetchBrowse;
00114 QPushButton* m_fetchRem;
00115 QListView *m_view;
00116
00117 QLabel* m_lblName;
00118 QLineEdit* m_lneName;
00119 bool push:1;
00120 };
00121 }
00122
00123 #endif
This file is part of the documentation for kitchensync Library Version 3.3.2.