author | zautrix <zautrix> | 2004-10-14 09:28:50 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2004-10-14 09:28:50 (UTC) |
commit | 3d79ab275374292196c7d032ffd2e321841c8cb0 (patch) (unidiff) | |
tree | 6ceaba2a5f375cfebc88189000221fe456e6f9d2 /kaddressbook/kabcore.h | |
parent | 57bd80b04dddd40a897dce8b6902d1046d71c631 (diff) | |
download | kdepimpi-3d79ab275374292196c7d032ffd2e321841c8cb0.zip kdepimpi-3d79ab275374292196c7d032ffd2e321841c8cb0.tar.gz kdepimpi-3d79ab275374292196c7d032ffd2e321841c8cb0.tar.bz2 |
umlaute phone fixes
-rw-r--r-- | kaddressbook/kabcore.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/kaddressbook/kabcore.h b/kaddressbook/kabcore.h index 5871d39..c7be343 100644 --- a/kaddressbook/kabcore.h +++ b/kaddressbook/kabcore.h | |||
@@ -8,48 +8,49 @@ | |||
8 | (at your option) any later version. | 8 | (at your option) any later version. |
9 | 9 | ||
10 | This program is distributed in the hope that it will be useful, | 10 | This program is distributed in the hope that it will be useful, |
11 | but WITHOUT ANY WARRANTY; without even the implied warranty of | 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of |
12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
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 | 23 | ||
24 | #ifndef KABCORE_H | 24 | #ifndef KABCORE_H |
25 | #define KABCORE_H | 25 | #define KABCORE_H |
26 | 26 | ||
27 | #include <kabc/field.h> | 27 | #include <kabc/field.h> |
28 | 28 | ||
29 | #ifndef KAB_EMBEDDED | 29 | #ifndef KAB_EMBEDDED |
30 | #endif //KAB_EMBEDDED | 30 | #endif //KAB_EMBEDDED |
31 | #include <qdict.h> | 31 | #include <qdict.h> |
32 | #include <qtimer.h> | ||
32 | 33 | ||
33 | #include <qwidget.h> | 34 | #include <qwidget.h> |
34 | #include <qpopupmenu.h> | 35 | #include <qpopupmenu.h> |
35 | #include <ksyncmanager.h> | 36 | #include <ksyncmanager.h> |
36 | 37 | ||
37 | namespace KABC { | 38 | namespace KABC { |
38 | class AddressBook; | 39 | class AddressBook; |
39 | } | 40 | } |
40 | 41 | ||
41 | #ifndef KAB_EMBEDDED | 42 | #ifndef KAB_EMBEDDED |
42 | class KAboutData; | 43 | class KAboutData; |
43 | class KConfig; | 44 | class KConfig; |
44 | 45 | ||
45 | class KAddressBookService; | 46 | class KAddressBookService; |
46 | class LDAPSearchDialog; | 47 | class LDAPSearchDialog; |
47 | #else //KAB_EMBEDDED | 48 | #else //KAB_EMBEDDED |
48 | class KAddressBookMain; | 49 | class KAddressBookMain; |
49 | //US class QAction; | 50 | //US class QAction; |
50 | #endif //KAB_EMBEDDED | 51 | #endif //KAB_EMBEDDED |
51 | class KCMultiDialog; | 52 | class KCMultiDialog; |
52 | class KXMLGUIClient; | 53 | class KXMLGUIClient; |
53 | class ExtensionManager; | 54 | class ExtensionManager; |
54 | class XXPortManager; | 55 | class XXPortManager; |
55 | class JumpButtonBar; | 56 | class JumpButtonBar; |
@@ -122,49 +123,48 @@ class KABCore : public QWidget, public KSyncInterface | |||
122 | */ | 123 | */ |
123 | QStringList selectedUIDs() const; | 124 | QStringList selectedUIDs() const; |
124 | 125 | ||
125 | /** | 126 | /** |
126 | Displays the ResourceSelectDialog and returns the selected | 127 | Displays the ResourceSelectDialog and returns the selected |
127 | resource or a null pointer if no resource was selected by | 128 | resource or a null pointer if no resource was selected by |
128 | the user. | 129 | the user. |
129 | */ | 130 | */ |
130 | KABC::Resource *requestResource( QWidget *parent ); | 131 | KABC::Resource *requestResource( QWidget *parent ); |
131 | 132 | ||
132 | #ifndef KAB_EMBEDDED | 133 | #ifndef KAB_EMBEDDED |
133 | static KAboutData *createAboutData(); | 134 | static KAboutData *createAboutData(); |
134 | #endif //KAB_EMBEDDED | 135 | #endif //KAB_EMBEDDED |
135 | 136 | ||
136 | #ifdef KAB_EMBEDDED | 137 | #ifdef KAB_EMBEDDED |
137 | inline QPopupMenu* getImportMenu() { return ImportMenu;} | 138 | inline QPopupMenu* getImportMenu() { return ImportMenu;} |
138 | inline QPopupMenu* getExportMenu() { return ExportMenu;} | 139 | inline QPopupMenu* getExportMenu() { return ExportMenu;} |
139 | #endif //KAB_EMBEDDED | 140 | #endif //KAB_EMBEDDED |
140 | 141 | ||
141 | public slots: | 142 | public slots: |
142 | #ifdef KAB_EMBEDDED | 143 | #ifdef KAB_EMBEDDED |
143 | void createAboutData(); | 144 | void createAboutData(); |
144 | #endif //KAB_EMBEDDED | 145 | #endif //KAB_EMBEDDED |
145 | 146 | ||
146 | void statusMessage(QString, int time = 0 ); | ||
147 | void showLicence(); | 147 | void showLicence(); |
148 | void faq(); | 148 | void faq(); |
149 | void whatsnew() ; | 149 | void whatsnew() ; |
150 | void synchowto() ; | 150 | void synchowto() ; |
151 | void writeToPhone(); | 151 | void writeToPhone(); |
152 | 152 | ||
153 | /** | 153 | /** |
154 | Is called whenever a contact is selected in the view. | 154 | Is called whenever a contact is selected in the view. |
155 | */ | 155 | */ |
156 | void setContactSelected( const QString &uid ); | 156 | void setContactSelected( const QString &uid ); |
157 | 157 | ||
158 | /** | 158 | /** |
159 | Opens the preferred mail composer with all selected contacts as | 159 | Opens the preferred mail composer with all selected contacts as |
160 | arguments. | 160 | arguments. |
161 | */ | 161 | */ |
162 | void sendMail(); | 162 | void sendMail(); |
163 | 163 | ||
164 | /** | 164 | /** |
165 | Opens the preferred mail composer with the given contacts as | 165 | Opens the preferred mail composer with the given contacts as |
166 | arguments. | 166 | arguments. |
167 | */ | 167 | */ |
168 | void sendMail( const QString& email ); | 168 | void sendMail( const QString& email ); |
169 | 169 | ||
170 | 170 | ||
@@ -349,48 +349,49 @@ class KABCore : public QWidget, public KSyncInterface | |||
349 | void getFile( bool success ); | 349 | void getFile( bool success ); |
350 | void syncFileRequest(); | 350 | void syncFileRequest(); |
351 | void setDetailsVisible( bool visible ); | 351 | void setDetailsVisible( bool visible ); |
352 | void setDetailsToState(); | 352 | void setDetailsToState(); |
353 | // void slotSyncMenu( int ); | 353 | // void slotSyncMenu( int ); |
354 | private slots: | 354 | private slots: |
355 | void setJumpButtonBarVisible( bool visible ); | 355 | void setJumpButtonBarVisible( bool visible ); |
356 | void setCaptionBack(); | 356 | void setCaptionBack(); |
357 | void importFromOL(); | 357 | void importFromOL(); |
358 | void extensionModified( const KABC::Addressee::List &list ); | 358 | void extensionModified( const KABC::Addressee::List &list ); |
359 | void extensionChanged( int id ); | 359 | void extensionChanged( int id ); |
360 | void clipboardDataChanged(); | 360 | void clipboardDataChanged(); |
361 | void updateActionMenu(); | 361 | void updateActionMenu(); |
362 | void configureKeyBindings(); | 362 | void configureKeyBindings(); |
363 | void removeVoice(); | 363 | void removeVoice(); |
364 | #ifdef KAB_EMBEDDED | 364 | #ifdef KAB_EMBEDDED |
365 | void configureResources(); | 365 | void configureResources(); |
366 | #endif //KAB_EMBEDDED | 366 | #endif //KAB_EMBEDDED |
367 | 367 | ||
368 | void slotEditorDestroyed( const QString &uid ); | 368 | void slotEditorDestroyed( const QString &uid ); |
369 | void configurationChanged(); | 369 | void configurationChanged(); |
370 | void addressBookChanged(); | 370 | void addressBookChanged(); |
371 | 371 | ||
372 | private: | 372 | private: |
373 | QTimer *mMessageTimer; | ||
373 | void initGUI(); | 374 | void initGUI(); |
374 | void initActions(); | 375 | void initActions(); |
375 | QString getPhoneFile(); | 376 | QString getPhoneFile(); |
376 | 377 | ||
377 | AddresseeEditorDialog *createAddresseeEditorDialog( QWidget *parent, | 378 | AddresseeEditorDialog *createAddresseeEditorDialog( QWidget *parent, |
378 | const char *name = 0 ); | 379 | const char *name = 0 ); |
379 | 380 | ||
380 | KXMLGUIClient *mGUIClient; | 381 | KXMLGUIClient *mGUIClient; |
381 | 382 | ||
382 | KABC::AddressBook *mAddressBook; | 383 | KABC::AddressBook *mAddressBook; |
383 | 384 | ||
384 | ViewManager *mViewManager; | 385 | ViewManager *mViewManager; |
385 | // QSplitter *mDetailsSplitter; | 386 | // QSplitter *mDetailsSplitter; |
386 | KDGanttMinimizeSplitter *mExtensionBarSplitter; | 387 | KDGanttMinimizeSplitter *mExtensionBarSplitter; |
387 | ViewContainer *mDetails; | 388 | ViewContainer *mDetails; |
388 | KDGanttMinimizeSplitter* mMiniSplitter; | 389 | KDGanttMinimizeSplitter* mMiniSplitter; |
389 | XXPortManager *mXXPortManager; | 390 | XXPortManager *mXXPortManager; |
390 | JumpButtonBar *mJumpButtonBar; | 391 | JumpButtonBar *mJumpButtonBar; |
391 | IncSearchWidget *mIncSearchWidget; | 392 | IncSearchWidget *mIncSearchWidget; |
392 | ExtensionManager *mExtensionManager; | 393 | ExtensionManager *mExtensionManager; |
393 | 394 | ||
394 | KCMultiDialog *mConfigureDialog; | 395 | KCMultiDialog *mConfigureDialog; |
395 | 396 | ||
396 | #ifndef KAB_EMBEDDED | 397 | #ifndef KAB_EMBEDDED |