diff options
Diffstat (limited to 'korganizer/plugins/printing/journal/journalprint.cpp')
-rw-r--r-- | korganizer/plugins/printing/journal/journalprint.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/korganizer/plugins/printing/journal/journalprint.cpp b/korganizer/plugins/printing/journal/journalprint.cpp index 31b1b10b6..551f23a9d 100644 --- a/korganizer/plugins/printing/journal/journalprint.cpp +++ b/korganizer/plugins/printing/journal/journalprint.cpp @@ -33,7 +33,7 @@ #include <kconfig.h> #include <kdebug.h> -#include <qbuttongroup.h> +#include <tqbuttongroup.h> #include "calprintjournalconfig_base.h" @@ -50,7 +50,7 @@ K_EXPORT_COMPONENT_FACTORY( libkorg_journalprint, JournalPrintFactory ) * Print Journal **************************************************************/ -QWidget *CalPrintJournal::createConfigWidget( QWidget *w ) +TQWidget *CalPrintJournal::createConfigWidget( TQWidget *w ) { return new CalPrintJournalConfig_Base( w ); } @@ -96,7 +96,7 @@ void CalPrintJournal::saveConfig() } } -void CalPrintJournal::setDateRange( const QDate& from, const QDate& to ) +void CalPrintJournal::setDateRange( const TQDate& from, const TQDate& to ) { CalPrintPluginBase::setDateRange( from, to ); CalPrintJournalConfig_Base *cfg = @@ -107,7 +107,7 @@ void CalPrintJournal::setDateRange( const QDate& from, const QDate& to ) } } -void CalPrintJournal::print( QPainter &p, int width, int height ) +void CalPrintJournal::print( TQPainter &p, int width, int height ) { int x=0, y=0; Journal::List journals( mCalendar->journals() ); @@ -116,14 +116,14 @@ void CalPrintJournal::print( QPainter &p, int width, int height ) journals.clear(); Journal::List::Iterator it = allJournals.begin(); for ( ; it != allJournals.end(); ++it ) { - QDate dt = (*it)->dtStart().date(); + TQDate dt = (*it)->dtStart().date(); if ( mFromDate <= dt && dt <= mToDate ) { journals.append( *it ); } } } - drawHeader( p, i18n("Journal entries"), QDate(), QDate(), QRect( 0, 0, width, headerHeight() ) ); + drawHeader( p, i18n("Journal entries"), TQDate(), TQDate(), TQRect( 0, 0, width, headerHeight() ) ); y = headerHeight() + 15; Journal::List::Iterator it = journals.begin(); |