-rw-r--r-- | core/pim/addressbook/contacteditor.cpp | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/core/pim/addressbook/contacteditor.cpp b/core/pim/addressbook/contacteditor.cpp index 0e752ca..6edab2c 100644 --- a/core/pim/addressbook/contacteditor.cpp +++ b/core/pim/addressbook/contacteditor.cpp | |||
@@ -1,24 +1,43 @@ | |||
1 | /* | ||
2 | * Copyright (c) 2002 Michael R. Crawford <mike@tuxnami.org> | ||
3 | * | ||
4 | * This file is an add-on for the OPIE Palmtop Environment | ||
5 | * | ||
6 | * This file may be distributed and/or modified under the terms of the | ||
7 | * GNU General Public License version 2 as published by the Free Software | ||
8 | * Foundation and appearing in the file LICENSE.GPL included in the pacakaging | ||
9 | * of this file. | ||
10 | * | ||
11 | * This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE | ||
12 | * WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. | ||
13 | * | ||
14 | * | ||
15 | * This is a rewrite of the abeditor.h file, modified to provide a more | ||
16 | * intuitive interface to TrollTech's original Address Book editor. This | ||
17 | * is made to operate exactly in interface with the exception of name. | ||
18 | * | ||
19 | */ | ||
1 | 20 | ||
2 | #include "contacteditor.h" | 21 | #include "contacteditor.h" |
3 | #include "addresspicker.h" | 22 | #include "addresspicker.h" |
4 | 23 | ||
5 | #include <qpe/categoryselect.h> | 24 | #include <qpe/categoryselect.h> |
6 | #include <qpe/qpeapplication.h> | 25 | #include <qpe/qpeapplication.h> |
7 | #include <qpe/qpedialog.h> | 26 | #include <qpe/qpedialog.h> |
8 | 27 | ||
9 | #include <qcombobox.h> | 28 | #include <qcombobox.h> |
10 | #include <qlabel.h> | 29 | #include <qlabel.h> |
11 | #include <qtabwidget.h> | 30 | #include <qtabwidget.h> |
12 | #include <qlayout.h> | 31 | #include <qlayout.h> |
13 | #include <qlineedit.h> | 32 | #include <qlineedit.h> |
14 | #include <qmultilineedit.h> | 33 | #include <qmultilineedit.h> |
15 | #include <qscrollview.h> | 34 | #include <qscrollview.h> |
16 | #include <qtoolbutton.h> | 35 | #include <qtoolbutton.h> |
17 | #include <qpushbutton.h> | 36 | #include <qpushbutton.h> |
18 | #include <qmainwindow.h> | 37 | #include <qmainwindow.h> |
19 | #include <qvaluelist.h> | 38 | #include <qvaluelist.h> |
20 | 39 | ||
21 | static inline bool containsAlphaNum( const QString &str ); | 40 | static inline bool containsAlphaNum( const QString &str ); |
22 | static inline bool constainsWhiteSpace( const QString &str ); | 41 | static inline bool constainsWhiteSpace( const QString &str ); |
23 | 42 | ||
24 | // helper functions, convert our comma delimited list to proper | 43 | // helper functions, convert our comma delimited list to proper |