diff options
Diffstat (limited to 'korganizer/printing/calprinter.h')
-rw-r--r-- | korganizer/printing/calprinter.h | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/korganizer/printing/calprinter.h b/korganizer/printing/calprinter.h index e05073e58..a1cea6a24 100644 --- a/korganizer/printing/calprinter.h +++ b/korganizer/printing/calprinter.h @@ -27,7 +27,7 @@ #ifndef KORG_NOPRINTER -#include <qptrlist.h> +#include <tqptrlist.h> #include <kdialogbase.h> #include <korganizer/baseview.h> #include <korganizer/printplugin.h> @@ -50,7 +50,7 @@ class QLabel; different formats (day, week, month). It also provides a way for setting up the printer and remembering these preferences. */ -class KDE_EXPORT CalPrinter : public QObject, public KOrg::CalPrinterBase +class KDE_EXPORT CalPrinter : public TQObject, public KOrg::CalPrinterBase { Q_OBJECT @@ -67,7 +67,7 @@ class KDE_EXPORT CalPrinter : public QObject, public KOrg::CalPrinterBase \param cal calendar to be printed \param helper is a pointer to the KOrg::CoreHelper object */ - CalPrinter( QWidget *par, Calendar *cal, KOrg::CoreHelper *helper ); + CalPrinter( TQWidget *par, Calendar *cal, KOrg::CoreHelper *helper ); virtual ~CalPrinter(); void init( Calendar *calendar ); @@ -78,7 +78,7 @@ class KDE_EXPORT CalPrinter : public QObject, public KOrg::CalPrinterBase \param start Start date \param end End date */ - void setDateRange( const QDate &start, const QDate &end ); + void setDateRange( const TQDate &start, const TQDate &end ); public slots: void updateConfig(); @@ -87,7 +87,7 @@ class KDE_EXPORT CalPrinter : public QObject, public KOrg::CalPrinterBase void doPrint( KOrg::PrintPlugin *selectedStyle, CalPrinter::ePrintOrientation dlgorientation, bool preview = false ); public: - void print( int type, const QDate &fd, const QDate &td, + void print( int type, const TQDate &fd, const TQDate &td, Incidence::List selectedIncidences = Incidence::List(), bool preview = false ); Calendar *calendar() const; @@ -98,7 +98,7 @@ class KDE_EXPORT CalPrinter : public QObject, public KOrg::CalPrinterBase private: Calendar *mCalendar; - QWidget *mParent; + TQWidget *mParent; KConfig *mConfig; KOrg::CoreHelper *mCoreHelper; }; @@ -108,7 +108,7 @@ class CalPrintDialog : public KDialogBase Q_OBJECT public: CalPrintDialog( KOrg::PrintPlugin::List plugins, - QWidget *parent = 0, const char *name = 0 ); + TQWidget *parent = 0, const char *name = 0 ); virtual ~CalPrintDialog(); KOrg::PrintPlugin *selectedPlugin(); void setOrientation( CalPrinter::ePrintOrientation orientation ); @@ -122,11 +122,11 @@ class CalPrintDialog : public KDialogBase void slotOk(); private: - QVButtonGroup *mTypeGroup; - QWidgetStack *mConfigArea; - QMap<int, KOrg::PrintPlugin*> mPluginIDs; - QString mPreviewText; - QComboBox *mOrientationSelection; + TQVButtonGroup *mTypeGroup; + TQWidgetStack *mConfigArea; + TQMap<int, KOrg::PrintPlugin*> mPluginIDs; + TQString mPreviewText; + TQComboBox *mOrientationSelection; CalPrinter::ePrintOrientation mOrientation; }; |