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 /korganizer/calprinter.h | |
parent | 11edc920afe4f274c0964436633aa632c8288a40 (diff) | |
download | kdepimpi-a08aff328d4393031d5ba7d622c2b05705a89d73.zip kdepimpi-a08aff328d4393031d5ba7d622c2b05705a89d73.tar.gz kdepimpi-a08aff328d4393031d5ba7d622c2b05705a89d73.tar.bz2 |
initial public commit of qt4 portp1
-rw-r--r-- | korganizer/calprinter.h | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/korganizer/calprinter.h b/korganizer/calprinter.h index 7b58f4f..e065779 100644 --- a/korganizer/calprinter.h +++ b/korganizer/calprinter.h | |||
@@ -1,3 +1,5 @@ | |||
1 | //Added by qt3to4: | ||
2 | #include <QLabel> | ||
1 | /* | 3 | /* |
2 | This file is part of KOrganizer. | 4 | This file is part of KOrganizer. |
3 | 5 | ||
@@ -28,7 +30,7 @@ | |||
28 | 30 | ||
29 | #ifndef KORG_NOPRINTER | 31 | #ifndef KORG_NOPRINTER |
30 | 32 | ||
31 | #include <qptrlist.h> | 33 | #include <q3ptrlist.h> |
32 | 34 | ||
33 | #include <kdialogbase.h> | 35 | #include <kdialogbase.h> |
34 | 36 | ||
@@ -38,8 +40,8 @@ | |||
38 | 40 | ||
39 | using namespace KCal; | 41 | using namespace KCal; |
40 | 42 | ||
41 | class QVButtonGroup; | 43 | class Q3VButtonGroup; |
42 | class QWidgetStack; | 44 | class Q3WidgetStack; |
43 | class KPrinter; | 45 | class KPrinter; |
44 | class CalPrintDialog; | 46 | class CalPrintDialog; |
45 | class KConfig; | 47 | class KConfig; |
@@ -94,7 +96,7 @@ class CalPrinter : public QObject, public KOrg::CalPrinterBase | |||
94 | void print( PrintType type, const QDate &fd, const QDate &td ); | 96 | void print( PrintType type, const QDate &fd, const QDate &td ); |
95 | 97 | ||
96 | protected: | 98 | protected: |
97 | QPtrList<CalPrintBase> mPrintPlugins; | 99 | Q3PtrList<CalPrintBase> mPrintPlugins; |
98 | 100 | ||
99 | private: | 101 | private: |
100 | KPrinter *mPrinter; | 102 | KPrinter *mPrinter; |
@@ -109,7 +111,7 @@ class CalPrintDialog : public KDialogBase | |||
109 | { | 111 | { |
110 | Q_OBJECT | 112 | Q_OBJECT |
111 | public: | 113 | public: |
112 | CalPrintDialog( QPtrList<CalPrintBase> plugins, KPrinter *p, | 114 | CalPrintDialog( Q3PtrList<CalPrintBase> plugins, KPrinter *p, |
113 | QWidget *parent = 0, const char *name = 0 ); | 115 | QWidget *parent = 0, const char *name = 0 ); |
114 | virtual ~CalPrintDialog(); | 116 | virtual ~CalPrintDialog(); |
115 | CalPrintBase *selectedPlugin(); | 117 | CalPrintBase *selectedPlugin(); |
@@ -127,9 +129,9 @@ signals: | |||
127 | void okClicked(); | 129 | void okClicked(); |
128 | private: | 130 | private: |
129 | KPrinter *mPrinter; | 131 | KPrinter *mPrinter; |
130 | QVButtonGroup *mTypeGroup; | 132 | Q3VButtonGroup *mTypeGroup; |
131 | QWidgetStack *mConfigArea; | 133 | Q3WidgetStack *mConfigArea; |
132 | QPtrList<CalPrintBase> mPrintPlugins; | 134 | Q3PtrList<CalPrintBase> mPrintPlugins; |
133 | QLabel *mPrinterLabel; | 135 | QLabel *mPrinterLabel; |
134 | QString mPreviewText; | 136 | QString mPreviewText; |
135 | QComboBox *mOrientationSelection; | 137 | QComboBox *mOrientationSelection; |