summaryrefslogtreecommitdiffstats
path: root/karm/printdialog.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-02-16 20:17:18 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-02-16 20:17:18 +0000
commitf4fae92b6768541e2952173c3d4b09040f95bf7e (patch)
treed8c5d93232235cd635f3310b4d95490df181ba2d /karm/printdialog.cpp
parent125c0a08265b75a133644d3b55f47e37c919f45d (diff)
downloadtdepim-f4fae92b6768541e2952173c3d4b09040f95bf7e.tar.gz
tdepim-f4fae92b6768541e2952173c3d4b09040f95bf7e.zip
Moved kpilot from kdepim to applications, as the core Trinity libraries should not contain hardware-dependent software
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1221127 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'karm/printdialog.cpp')
-rw-r--r--karm/printdialog.cpp26
1 files changed, 13 insertions, 13 deletions
diff --git a/karm/printdialog.cpp b/karm/printdialog.cpp
index 92a306a01..6b3ca85b4 100644
--- a/karm/printdialog.cpp
+++ b/karm/printdialog.cpp
@@ -48,14 +48,14 @@ PrintDialog::PrintDialog()
setMainWidget(page);
int year, month;
- TQVBoxLayout *layout = new TQVBoxLayout(page, KDialog::spacingHint());
- layout->addSpacing(10);
- layout->addStretch(1);
+ TQVBoxLayout *tqlayout = new TQVBoxLayout(page, KDialog::spacingHint());
+ tqlayout->addSpacing(10);
+ tqlayout->addStretch(1);
// Date Range
TQGroupBox *rangeGroup = new TQGroupBox(1, Horizontal, i18n("Date Range"),
page);
- layout->addWidget(rangeGroup);
+ tqlayout->addWidget(rangeGroup);
TQWidget *rangeWidget = new TQWidget(rangeGroup);
TQHBoxLayout *rangeLayout = new TQHBoxLayout(rangeWidget, 0, spacingHint());
@@ -64,29 +64,29 @@ PrintDialog::PrintDialog()
_from = new KDateEdit(rangeWidget);
// Default from date to beginning of the month
- year = TQDate::currentDate().year();
- month = TQDate::currentDate().month();
+ year = TQDate::tqcurrentDate().year();
+ month = TQDate::tqcurrentDate().month();
_from->setDate(TQDate(year, month, 1));
rangeLayout->addWidget(_from);
rangeLayout->addWidget(new TQLabel(i18n("To:"), rangeWidget));
_to = new KDateEdit(rangeWidget);
rangeLayout->addWidget(_to);
- layout->addSpacing(10);
- layout->addStretch(1);
+ tqlayout->addSpacing(10);
+ tqlayout->addStretch(1);
_allTasks = new TQComboBox( page );
_allTasks->insertItem( i18n( "Selected Task" ) );
_allTasks->insertItem( i18n( "All Tasks" ) );
- layout->addWidget( _allTasks );
+ tqlayout->addWidget( _allTasks );
_perWeek = new TQCheckBox( i18n( "Summarize per week" ), page );
- layout->addWidget( _perWeek );
+ tqlayout->addWidget( _perWeek );
_totalsOnly = new TQCheckBox( i18n( "Totals only" ), page );
- layout->addWidget( _totalsOnly );
+ tqlayout->addWidget( _totalsOnly );
- layout->addSpacing(10);
- layout->addStretch(1);
+ tqlayout->addSpacing(10);
+ tqlayout->addStretch(1);
}
TQDate PrintDialog::from() const