diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:53:50 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:53:50 +0000 |
commit | 7be55ffa061c026e35e2d6a0effe1161ddb0d41f (patch) | |
tree | 8474f9b444b2756228600050f07a7ff25de532b2 /korganizer/printing/calprinter.h | |
parent | f587f20a6d09f1729dd0a8c1cd8ee0110aec7451 (diff) | |
download | tdepim-7be55ffa061c026e35e2d6a0effe1161ddb0d41f.tar.gz tdepim-7be55ffa061c026e35e2d6a0effe1161ddb0d41f.zip |
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1157655 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
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; }; |