Diffstat (limited to 'libkdepim/ksyncprefsdialog.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | libkdepim/ksyncprefsdialog.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/libkdepim/ksyncprefsdialog.h b/libkdepim/ksyncprefsdialog.h index 8094bdd..d3f8f4c 100644 --- a/libkdepim/ksyncprefsdialog.h +++ b/libkdepim/ksyncprefsdialog.h | |||
@@ -45,92 +45,107 @@ class KSyncProfile; | |||
45 | /** Dialog to change the korganizer configuration. | 45 | /** Dialog to change the korganizer configuration. |
46 | */ | 46 | */ |
47 | class KSyncPrefsDialog : public KDialog | 47 | class KSyncPrefsDialog : public KDialog |
48 | { | 48 | { |
49 | Q_OBJECT | 49 | Q_OBJECT |
50 | public: | 50 | public: |
51 | /** Initialize dialog and pages */ | 51 | /** Initialize dialog and pages */ |
52 | KSyncPrefsDialog(QWidget *parent=0,char *name=0,bool modal=false); | 52 | KSyncPrefsDialog(QWidget *parent=0,char *name=0,bool modal=false); |
53 | ~KSyncPrefsDialog(); | 53 | ~KSyncPrefsDialog(); |
54 | void usrReadConfig(); | 54 | void usrReadConfig(); |
55 | void setLocalMachineName ( const QString& name ); | 55 | void setLocalMachineName ( const QString& name ); |
56 | QString getLocalMachineName ( ); | 56 | QString getLocalMachineName ( ); |
57 | 57 | ||
58 | QStringList getSyncProfileNames(); | 58 | QStringList getSyncProfileNames(); |
59 | 59 | ||
60 | public slots: | 60 | public slots: |
61 | protected slots: | 61 | protected slots: |
62 | void accept(); | 62 | void accept(); |
63 | void deleteProfile(); | 63 | void deleteProfile(); |
64 | void newProfile(); | 64 | void newProfile(); |
65 | void cloneProfile(); | 65 | void cloneProfile(); |
66 | void kindChanged(bool); | 66 | void kindChanged(bool); |
67 | void fillSSH(); | 67 | void fillSSH(); |
68 | void fillFTP(); | 68 | void fillFTP(); |
69 | void textChanged( const QString & ); | 69 | void textChanged( const QString & ); |
70 | void profileChanged( int ); | 70 | void profileChanged( int ); |
71 | void chooseFile(); | 71 | void chooseFile(); |
72 | void chooseFileAB(); | 72 | void chooseFileAB(); |
73 | void chooseFilePWM(); | 73 | void chooseFilePWM(); |
74 | void slotOK(); | 74 | void slotOK(); |
75 | void helpDevice(); | 75 | void helpDevice(); |
76 | void helpModel(); | 76 | void helpModel(); |
77 | void helpConnection(); | 77 | void helpConnection(); |
78 | 78 | ||
79 | protected: | 79 | protected: |
80 | void usrWriteConfig(); | 80 | void usrWriteConfig(); |
81 | 81 | ||
82 | void setupSyncAlgTab(); | 82 | void setupSyncAlgTab(); |
83 | 83 | ||
84 | private: | 84 | private: |
85 | int currentSelection; | 85 | int currentSelection; |
86 | QPtrList<KSyncProfile> mSyncProfiles; | 86 | QPtrList<KSyncProfile> mSyncProfiles; |
87 | QStringList mSyncProfileNames; | 87 | QStringList mSyncProfileNames; |
88 | QLineEdit * mMyMachineName; | 88 | QLineEdit * mMyMachineName; |
89 | QComboBox * mProfileBox; | 89 | QComboBox * mProfileBox; |
90 | QRadioButton* mIsLocal; | 90 | QRadioButton* mIsLocal; |
91 | QRadioButton* mIsNotLocal; | 91 | QRadioButton* mIsNotLocal; |
92 | QRadioButton* mIsPhone; | 92 | QRadioButton* mIsPhone; |
93 | QRadioButton* mIsPi; | ||
93 | QCheckBox* mIncludeInRing; | 94 | QCheckBox* mIncludeInRing; |
94 | QCheckBox* mIncludeInRingAB; | 95 | QCheckBox* mIncludeInRingAB; |
95 | QCheckBox* mIncludeInRingPWM; | 96 | QCheckBox* mIncludeInRingPWM; |
96 | void addProfile ( KSyncProfile* ); | 97 | void addProfile ( KSyncProfile* ); |
97 | void insertProfiles(); | 98 | void insertProfiles(); |
98 | void saveProfile(); | 99 | void saveProfile(); |
99 | QButtonGroup* proGr; | 100 | QButtonGroup* proGr; |
100 | 101 | ||
101 | QRadioButton* loc, *rem, *newest, *ask, *f_loc,* f_rem, *both; | 102 | QRadioButton* loc, *rem, *newest, *ask, *f_loc,* f_rem, *both; |
102 | 103 | ||
103 | 104 | ||
104 | QLineEdit * mRemotePostcommand; | 105 | QLineEdit * mRemotePostcommand; |
105 | QLineEdit * mRemotePrecommand; | 106 | QLineEdit * mRemotePrecommand; |
106 | QLineEdit * mRemoteFile; | 107 | QLineEdit * mRemoteFile; |
107 | QLineEdit * mLocalTempFile; | 108 | QLineEdit * mLocalTempFile; |
108 | 109 | ||
109 | QLineEdit * mRemotePostcommandAB; | 110 | QLineEdit * mRemotePostcommandAB; |
110 | QLineEdit * mRemotePrecommandAB; | 111 | QLineEdit * mRemotePrecommandAB; |
111 | QLineEdit * mRemoteFileAB; | 112 | QLineEdit * mRemoteFileAB; |
112 | QLineEdit * mLocalTempFileAB; | 113 | QLineEdit * mLocalTempFileAB; |
113 | 114 | ||
114 | QLineEdit * mRemotePostcommandPWM; | 115 | QLineEdit * mRemotePostcommandPWM; |
115 | QLineEdit * mRemotePrecommandPWM; | 116 | QLineEdit * mRemotePrecommandPWM; |
116 | QLineEdit * mRemoteFilePWM; | 117 | QLineEdit * mRemoteFilePWM; |
117 | QLineEdit * mLocalTempFilePWM; | 118 | QLineEdit * mLocalTempFilePWM; |
118 | 119 | ||
120 | |||
121 | QLineEdit * mRemotePw; | ||
122 | QLineEdit * mRemoteIP; | ||
123 | QLineEdit * mRemotePort; | ||
124 | |||
125 | QLineEdit * mRemotePwAB; | ||
126 | QLineEdit * mRemoteIPAB; | ||
127 | QLineEdit * mRemotePortAB; | ||
128 | |||
129 | QLineEdit * mRemotePwPWM; | ||
130 | QLineEdit * mRemoteIPPWM; | ||
131 | QLineEdit * mRemotePortPWM; | ||
132 | |||
119 | QLineEdit * mPhoneDevice; | 133 | QLineEdit * mPhoneDevice; |
120 | QLineEdit * mPhoneConnection; | 134 | QLineEdit * mPhoneConnection; |
121 | QLineEdit * mPhoneModel; | 135 | QLineEdit * mPhoneModel; |
122 | 136 | ||
123 | QWidget* mSetupSyncAlgTab; | 137 | QWidget* mSetupSyncAlgTab; |
124 | QVBox* localFileWidget; | 138 | QVBox* localFileWidget; |
125 | QVBox* remoteFileWidget; | 139 | QVBox* remoteFileWidget; |
126 | QVBox* phoneWidget; | 140 | QVBox* phoneWidget; |
141 | QVBox* piWidget; | ||
127 | QCheckBox* mWriteBackFile; | 142 | QCheckBox* mWriteBackFile; |
128 | QCheckBox* mWriteBackFuture; | 143 | QCheckBox* mWriteBackFuture; |
129 | QSpinBox* mWriteBackFutureWeeks; | 144 | QSpinBox* mWriteBackFutureWeeks; |
130 | QCheckBox* mWriteBackExisting; | 145 | QCheckBox* mWriteBackExisting; |
131 | QCheckBox* mAskForPreferences; | 146 | QCheckBox* mAskForPreferences; |
132 | QCheckBox* mShowSummaryAfterSync; | 147 | QCheckBox* mShowSummaryAfterSync; |
133 | QCheckBox* mWriteContactToSIM; | 148 | QCheckBox* mWriteContactToSIM; |
134 | }; | 149 | }; |
135 | 150 | ||
136 | #endif | 151 | #endif |