author | Michael Krelin <hacker@klever.net> | 2007-07-04 11:23:42 (UTC) |
---|---|---|
committer | Michael Krelin <hacker@klever.net> | 2007-07-04 11:23:42 (UTC) |
commit | a08aff328d4393031d5ba7d622c2b05705a89d73 (patch) (unidiff) | |
tree | 8ee90d686081c52e7c69b5ce946e9b1a7d690001 /kaddressbook/viewconfigurewidget.h | |
parent | 11edc920afe4f274c0964436633aa632c8288a40 (diff) | |
download | kdepimpi-a08aff328d4393031d5ba7d622c2b05705a89d73.zip kdepimpi-a08aff328d4393031d5ba7d622c2b05705a89d73.tar.gz kdepimpi-a08aff328d4393031d5ba7d622c2b05705a89d73.tar.bz2 |
initial public commit of qt4 portp1
Diffstat (limited to 'kaddressbook/viewconfigurewidget.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | kaddressbook/viewconfigurewidget.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kaddressbook/viewconfigurewidget.h b/kaddressbook/viewconfigurewidget.h index 0c2b77c..e3b9b12 100644 --- a/kaddressbook/viewconfigurewidget.h +++ b/kaddressbook/viewconfigurewidget.h | |||
@@ -15,33 +15,33 @@ | |||
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 VIEWCONFIGUREWIDGET_H | 24 | #ifndef VIEWCONFIGUREWIDGET_H |
25 | #define VIEWCONFIGUREWIDGET_H | 25 | #define VIEWCONFIGUREWIDGET_H |
26 | 26 | ||
27 | 27 | ||
28 | 28 | ||
29 | #include "configurewidget.h" | 29 | #include "configurewidget.h" |
30 | 30 | ||
31 | class QVBox; | 31 | class Q3VBox; |
32 | 32 | ||
33 | #include <kdialogbase.h> | 33 | #include <kdialogbase.h> |
34 | #include <qpixmap.h> | 34 | #include <qpixmap.h> |
35 | 35 | ||
36 | class KJanusWidget; | 36 | class KJanusWidget; |
37 | class QString; | 37 | class QString; |
38 | class ViewConfigureFieldsPage; | 38 | class ViewConfigureFieldsPage; |
39 | class ViewConfigureFilterPage; | 39 | class ViewConfigureFilterPage; |
40 | class ViewConfigureDialog; | 40 | class ViewConfigureDialog; |
41 | /** | 41 | /** |
42 | This widget is the base class for all view configuration widgets. The | 42 | This widget is the base class for all view configuration widgets. The |
43 | author of a view may wish to inherit from this widget and add config pages | 43 | author of a view may wish to inherit from this widget and add config pages |
44 | that add custom config options. The default implementation of this widget | 44 | that add custom config options. The default implementation of this widget |
45 | is to show a page with the select fields widget. For simple views this may | 45 | is to show a page with the select fields widget. For simple views this may |
46 | be sufficient. | 46 | be sufficient. |
47 | */ | 47 | */ |
@@ -61,33 +61,33 @@ class ViewConfigureWidget : public ConfigureWidget | |||
61 | Do not change the group of the config object in this method. | 61 | Do not change the group of the config object in this method. |
62 | */ | 62 | */ |
63 | virtual void restoreSettings( KConfig *config ); | 63 | virtual void restoreSettings( KConfig *config ); |
64 | 64 | ||
65 | /** | 65 | /** |
66 | Writes the configuration from the GUI to the config object. If this | 66 | Writes the configuration from the GUI to the config object. If this |
67 | method is overloaded, be sure to call the base class's method. | 67 | method is overloaded, be sure to call the base class's method. |
68 | 68 | ||
69 | Do not change the group of the config object in this method. | 69 | Do not change the group of the config object in this method. |
70 | */ | 70 | */ |
71 | virtual void saveSettings( KConfig *config ); | 71 | virtual void saveSettings( KConfig *config ); |
72 | 72 | ||
73 | 73 | ||
74 | /** | 74 | /** |
75 | Use this method to add new pages to the widget. | 75 | Use this method to add new pages to the widget. |
76 | */ | 76 | */ |
77 | QVBox *addPage( const QString &item, const QString &header = QString::null, | 77 | Q3VBox *addPage( const QString &item, const QString &header = QString::null, |
78 | const QPixmap &pixmap = QPixmap() ); | 78 | const QPixmap &pixmap = QPixmap() ); |
79 | 79 | ||
80 | private: | 80 | private: |
81 | KJanusWidget *mMainWidget; | 81 | KJanusWidget *mMainWidget; |
82 | 82 | ||
83 | ViewConfigureFieldsPage *mFieldsPage; | 83 | ViewConfigureFieldsPage *mFieldsPage; |
84 | ViewConfigureFilterPage *mFilterPage; | 84 | ViewConfigureFilterPage *mFilterPage; |
85 | }; | 85 | }; |
86 | 86 | ||
87 | class ViewConfigureDialog : public KDialogBase | 87 | class ViewConfigureDialog : public KDialogBase |
88 | { | 88 | { |
89 | Q_OBJECT | 89 | Q_OBJECT |
90 | 90 | ||
91 | public: | 91 | public: |
92 | ViewConfigureDialog( ViewConfigureWidget *wdg, const QString &viewName, | 92 | ViewConfigureDialog( ViewConfigureWidget *wdg, const QString &viewName, |
93 | QWidget *parent, const char *name = 0 ); | 93 | QWidget *parent, const char *name = 0 ); |