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/plugins/printing/list | |
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/plugins/printing/list')
-rw-r--r-- | korganizer/plugins/printing/list/listprint.cpp | 8 | ||||
-rw-r--r-- | korganizer/plugins/printing/list/listprint.h | 10 |
2 files changed, 9 insertions, 9 deletions
diff --git a/korganizer/plugins/printing/list/listprint.cpp b/korganizer/plugins/printing/list/listprint.cpp index 0221f1c67..4a90bfb5b 100644 --- a/korganizer/plugins/printing/list/listprint.cpp +++ b/korganizer/plugins/printing/list/listprint.cpp @@ -34,7 +34,7 @@ #include <kconfig.h> #include <kdebug.h> -#include <qbuttongroup.h> +#include <tqbuttongroup.h> #include "calprintlistconfig_base.h" @@ -52,7 +52,7 @@ K_EXPORT_COMPONENT_FACTORY( libkorg_listprint, ListPrintFactory ) * Print Day **************************************************************/ -QWidget *CalPrintList::createConfigWidget( QWidget *w ) +TQWidget *CalPrintList::createConfigWidget( TQWidget *w ) { return new CalPrintListConfig_Base( w ); } @@ -98,7 +98,7 @@ void CalPrintList::saveConfig() } } -void CalPrintList::setDateRange( const QDate& from, const QDate& to ) +void CalPrintList::setDateRange( const TQDate& from, const TQDate& to ) { CalPrintPluginBase::setDateRange( from, to ); CalPrintListConfig_Base *cfg = @@ -109,7 +109,7 @@ void CalPrintList::setDateRange( const QDate& from, const QDate& to ) } } -void CalPrintList::print( QPainter &p, int width, int height ) +void CalPrintList::print( TQPainter &p, int width, int height ) { } diff --git a/korganizer/plugins/printing/list/listprint.h b/korganizer/plugins/printing/list/listprint.h index dc370ba86..561e0d467 100644 --- a/korganizer/plugins/printing/list/listprint.h +++ b/korganizer/plugins/printing/list/listprint.h @@ -39,18 +39,18 @@ class CalPrintList : public CalPrintPluginBase public: CalPrintList():CalPrintPluginBase() {} virtual ~CalPrintList() {} - virtual QString description() { return i18n("Print list"); } - virtual QString info() { return i18n("Prints a list of events and to-dos"); } + virtual TQString description() { return i18n("Print list"); } + virtual TQString info() { return i18n("Prints a list of events and to-dos"); } virtual int sortID() { return 950; } - virtual QWidget *createConfigWidget( QWidget* ); + virtual TQWidget *createConfigWidget( TQWidget* ); public: - virtual void print(QPainter &p, int width, int height); + virtual void print(TQPainter &p, int width, int height); virtual void readSettingsWidget(); virtual void setSettingsWidget(); virtual void loadConfig(); virtual void saveConfig(); - virtual void setDateRange( const QDate& from, const QDate& to ); + virtual void setDateRange( const TQDate& from, const TQDate& to ); protected: bool mUseDateRange; |