summaryrefslogtreecommitdiffstats
path: root/korganizer/plugins/printing/journal/journalprint.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:53:50 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:53:50 +0000
commit7be55ffa061c026e35e2d6a0effe1161ddb0d41f (patch)
tree8474f9b444b2756228600050f07a7ff25de532b2 /korganizer/plugins/printing/journal/journalprint.cpp
parentf587f20a6d09f1729dd0a8c1cd8ee0110aec7451 (diff)
downloadtdepim-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/journal/journalprint.cpp')
-rw-r--r--korganizer/plugins/printing/journal/journalprint.cpp12
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();