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/whatsnext | |
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/whatsnext')
-rw-r--r-- | korganizer/plugins/printing/whatsnext/whatsnextprint.cpp | 8 | ||||
-rw-r--r-- | korganizer/plugins/printing/whatsnext/whatsnextprint.h | 10 |
2 files changed, 9 insertions, 9 deletions
diff --git a/korganizer/plugins/printing/whatsnext/whatsnextprint.cpp b/korganizer/plugins/printing/whatsnext/whatsnextprint.cpp index 48dd30436..b5d43ae97 100644 --- a/korganizer/plugins/printing/whatsnext/whatsnextprint.cpp +++ b/korganizer/plugins/printing/whatsnext/whatsnextprint.cpp @@ -34,7 +34,7 @@ #include <kconfig.h> #include <kdebug.h> -#include <qbuttongroup.h> +#include <tqbuttongroup.h> #include "calprintwhatsnextconfig_base.h" @@ -51,7 +51,7 @@ K_EXPORT_COMPONENT_FACTORY( libkorg_whatsnextprint, WhatsNextPrintFactory ) * Print What's Next **************************************************************/ -QWidget *CalPrintWhatsNext::createConfigWidget( QWidget *w ) +TQWidget *CalPrintWhatsNext::createConfigWidget( TQWidget *w ) { return new CalPrintWhatsNextConfig_Base( w ); } @@ -97,7 +97,7 @@ void CalPrintWhatsNext::saveConfig() } } -void CalPrintWhatsNext::setDateRange( const QDate& from, const QDate& to ) +void CalPrintWhatsNext::setDateRange( const TQDate& from, const TQDate& to ) { CalPrintPluginBase::setDateRange( from, to ); CalPrintWhatsNextConfig_Base *cfg = @@ -108,7 +108,7 @@ void CalPrintWhatsNext::setDateRange( const QDate& from, const QDate& to ) } } -void CalPrintWhatsNext::print( QPainter &p, int width, int height ) +void CalPrintWhatsNext::print( TQPainter &p, int width, int height ) { } diff --git a/korganizer/plugins/printing/whatsnext/whatsnextprint.h b/korganizer/plugins/printing/whatsnext/whatsnextprint.h index bdba1f71b..fb9ee66ee 100644 --- a/korganizer/plugins/printing/whatsnext/whatsnextprint.h +++ b/korganizer/plugins/printing/whatsnext/whatsnextprint.h @@ -39,18 +39,18 @@ class CalPrintWhatsNext : public CalPrintPluginBase public: CalPrintWhatsNext():CalPrintPluginBase() {} virtual ~CalPrintWhatsNext() {} - virtual QString description() { return i18n("Print What's Next"); } - virtual QString info() { return i18n("Prints a list of all upcoming events and todos."); } + virtual TQString description() { return i18n("Print What's Next"); } + virtual TQString info() { return i18n("Prints a list of all upcoming events and todos."); } virtual int sortID() { return 50; } - 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; |