summaryrefslogtreecommitdiffabout
path: root/libkdepim/ksyncprefsdialog.h
Unidiff
Diffstat (limited to 'libkdepim/ksyncprefsdialog.h') (more/less context) (ignore whitespace changes)
-rw-r--r--libkdepim/ksyncprefsdialog.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/libkdepim/ksyncprefsdialog.h b/libkdepim/ksyncprefsdialog.h
index 24543e1..e8a9709 100644
--- a/libkdepim/ksyncprefsdialog.h
+++ b/libkdepim/ksyncprefsdialog.h
@@ -13,32 +13,34 @@
13 GNU General Public License for more details. 13 GNU General Public License for more details.
14 14
15 You should have received a copy of the GNU General Public License 15 You should have received a copy of the GNU General Public License
16 along with this program; if not, write to the Free Software 16 along with this program; if not, write to the Free Software
17 Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. 17 Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
18 18
19 As a special exception, permission is given to link this program 19 As a special exception, permission is given to link this program
20 with any edition of Qt, and distribute the resulting executable, 20 with any edition of Qt, and distribute the resulting executable,
21 without including the source code for Qt in the source distribution. 21 without including the source code for Qt in the source distribution.
22*/ 22*/
23#ifndef _KSYNCPREFSDIALOG_H 23#ifndef _KSYNCPREFSDIALOG_H
24#define _KSYNCPREFSDIALOG_H 24#define _KSYNCPREFSDIALOG_H
25 25
26 26
27#include <kdialogbase.h> 27#include <kdialogbase.h>
28#include <qptrlist.h> 28#include <qptrlist.h>
29#include <qtable.h>
30#include <qhbox.h>
29 31
30//#include <libkdepim/kprefsdialog.h> 32//#include <libkdepim/kprefsdialog.h>
31 33
32class KColorButton; 34class KColorButton;
33class QSpinBox;; 35class QSpinBox;;
34class QRadioButton; 36class QRadioButton;
35class QCheckBox; 37class QCheckBox;
36class QSlider; 38class QSlider;
37class KURLRequester; 39class KURLRequester;
38class QComboBox; 40class QComboBox;
39class QButtonGroup; 41class QButtonGroup;
40class QLineEdit; 42class QLineEdit;
41class QVBox; 43class QVBox;
42class QStringList; 44class QStringList;
43class KSyncProfile; 45class KSyncProfile;
44 46
@@ -67,51 +69,59 @@ class KSyncPrefsDialog : public KDialog
67 void fillSSH(); 69 void fillSSH();
68 void fillFTP(); 70 void fillFTP();
69 void textChanged( const QString & ); 71 void textChanged( const QString & );
70 void profileChanged( int ); 72 void profileChanged( int );
71 void chooseFile(); 73 void chooseFile();
72 void chooseFileAB(); 74 void chooseFileAB();
73 void chooseFilePWM(); 75 void chooseFilePWM();
74 void slotOK(); 76 void slotOK();
75 void helpDevice(); 77 void helpDevice();
76 void helpModel(); 78 void helpModel();
77 void helpConnection(); 79 void helpConnection();
78 80
79 protected: 81 protected:
80 void usrWriteConfig(); 82 void usrWriteConfig();
81 void setupSyncAlgTab(); 83 void setupSyncAlgTab();
82 void readFilter(); 84 void readFilter();
85 void readResources();
83 private: 86 private:
84 int currentSelection; 87 int currentSelection;
85 QPtrList<KSyncProfile> mSyncProfiles; 88 QPtrList<KSyncProfile> mSyncProfiles;
86 QStringList mSyncProfileNames; 89 QStringList mSyncProfileNames;
87 QStringList mFilterKapi; 90 QStringList mFilterKapi;
88 QStringList mFilterKopi; 91 QStringList mFilterKopi;
92 QStringList mResourcesKopi;
93 QStringList mResourcesKapi;
89 QLineEdit * mMyMachineName; 94 QLineEdit * mMyMachineName;
90 QComboBox * mProfileBox; 95 QComboBox * mProfileBox;
91 QRadioButton* mIsLocal; 96 QRadioButton* mIsLocal;
92 QRadioButton* mIsNotLocal; 97 QRadioButton* mIsNotLocal;
93 QRadioButton* mIsPhone; 98 QRadioButton* mIsPhone;
94 QRadioButton* mIsPi; 99 QRadioButton* mIsPi;
100 QRadioButton* mIsPiSpecific;
95 QCheckBox* mIncludeInRing; 101 QCheckBox* mIncludeInRing;
96 QCheckBox* mIncludeInRingAB; 102 QCheckBox* mIncludeInRingAB;
97 QCheckBox* mIncludeInRingPWM; 103 QCheckBox* mIncludeInRingPWM;
98 void addProfile ( KSyncProfile* ); 104 void addProfile ( KSyncProfile* );
99 void insertProfiles(); 105 void insertProfiles();
100 void saveProfile(); 106 void saveProfile();
101 QButtonGroup* proGr; 107 QButtonGroup* proGr;
108 QHBox * mTableBox;
109 QTable* mResTableKopi;
110 QTable* mResTableKapi;
111 QTable* mResTablePwmpi;
102 112
103 QComboBox * mFilterOutCal; 113 QComboBox * mFilterOutCal;
104 QComboBox * mFilterInCal; 114 QComboBox * mFilterInCal;
105 QComboBox * mFilterOutAB; 115 QComboBox * mFilterOutAB;
106 QComboBox * mFilterInAB; 116 QComboBox * mFilterInAB;
107 117
108 QRadioButton* loc, *rem, *newest, *ask, *f_loc,* f_rem, *both; 118 QRadioButton* loc, *rem, *newest, *ask, *f_loc,* f_rem, *both;
109 119
110 120
111 QLineEdit * mRemotePostcommand; 121 QLineEdit * mRemotePostcommand;
112 QLineEdit * mRemotePrecommand; 122 QLineEdit * mRemotePrecommand;
113 QLineEdit * mRemoteFile; 123 QLineEdit * mRemoteFile;
114 QLineEdit * mLocalTempFile; 124 QLineEdit * mLocalTempFile;
115 125
116 QLineEdit * mRemotePostcommandAB; 126 QLineEdit * mRemotePostcommandAB;
117 QLineEdit * mRemotePrecommandAB; 127 QLineEdit * mRemotePrecommandAB;