summaryrefslogtreecommitdiffstats
path: root/karm/printdialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'karm/printdialog.cpp')
-rw-r--r--karm/printdialog.cpp52
1 files changed, 26 insertions, 26 deletions
diff --git a/karm/printdialog.cpp b/karm/printdialog.cpp
index b2e4635d9..92a306a01 100644
--- a/karm/printdialog.cpp
+++ b/karm/printdialog.cpp
@@ -20,17 +20,17 @@
*
*/
-#include <qbuttongroup.h>
-#include <qcheckbox.h>
-#include <qhbox.h>
-#include <qlabel.h>
-#include <qlayout.h>
-#include <qlineedit.h>
-#include <qpixmap.h>
-#include <qpushbutton.h>
-#include <qstring.h>
-#include <qwidget.h>
-#include <qwhatsthis.h>
+#include <tqbuttongroup.h>
+#include <tqcheckbox.h>
+#include <tqhbox.h>
+#include <tqlabel.h>
+#include <tqlayout.h>
+#include <tqlineedit.h>
+#include <tqpixmap.h>
+#include <tqpushbutton.h>
+#include <tqstring.h>
+#include <tqwidget.h>
+#include <tqwhatsthis.h>
#include <kiconloader.h>
#include <klocale.h> // i18n
@@ -44,57 +44,57 @@ PrintDialog::PrintDialog()
: KDialogBase(0, "PrintDialog", true, i18n("Print Dialog"), Ok|Cancel,
Ok, true )
{
- QWidget *page = new QWidget( this );
+ TQWidget *page = new TQWidget( this );
setMainWidget(page);
int year, month;
- QVBoxLayout *layout = new QVBoxLayout(page, KDialog::spacingHint());
+ TQVBoxLayout *layout = new TQVBoxLayout(page, KDialog::spacingHint());
layout->addSpacing(10);
layout->addStretch(1);
// Date Range
- QGroupBox *rangeGroup = new QGroupBox(1, Horizontal, i18n("Date Range"),
+ TQGroupBox *rangeGroup = new TQGroupBox(1, Horizontal, i18n("Date Range"),
page);
layout->addWidget(rangeGroup);
- QWidget *rangeWidget = new QWidget(rangeGroup);
- QHBoxLayout *rangeLayout = new QHBoxLayout(rangeWidget, 0, spacingHint());
+ TQWidget *rangeWidget = new TQWidget(rangeGroup);
+ TQHBoxLayout *rangeLayout = new TQHBoxLayout(rangeWidget, 0, spacingHint());
- rangeLayout->addWidget(new QLabel(i18n("From:"), rangeWidget));
+ rangeLayout->addWidget(new TQLabel(i18n("From:"), rangeWidget));
_from = new KDateEdit(rangeWidget);
// Default from date to beginning of the month
- year = QDate::currentDate().year();
- month = QDate::currentDate().month();
- _from->setDate(QDate(year, month, 1));
+ year = TQDate::currentDate().year();
+ month = TQDate::currentDate().month();
+ _from->setDate(TQDate(year, month, 1));
rangeLayout->addWidget(_from);
- rangeLayout->addWidget(new QLabel(i18n("To:"), rangeWidget));
+ rangeLayout->addWidget(new TQLabel(i18n("To:"), rangeWidget));
_to = new KDateEdit(rangeWidget);
rangeLayout->addWidget(_to);
layout->addSpacing(10);
layout->addStretch(1);
- _allTasks = new QComboBox( page );
+ _allTasks = new TQComboBox( page );
_allTasks->insertItem( i18n( "Selected Task" ) );
_allTasks->insertItem( i18n( "All Tasks" ) );
layout->addWidget( _allTasks );
- _perWeek = new QCheckBox( i18n( "Summarize per week" ), page );
+ _perWeek = new TQCheckBox( i18n( "Summarize per week" ), page );
layout->addWidget( _perWeek );
- _totalsOnly = new QCheckBox( i18n( "Totals only" ), page );
+ _totalsOnly = new TQCheckBox( i18n( "Totals only" ), page );
layout->addWidget( _totalsOnly );
layout->addSpacing(10);
layout->addStretch(1);
}
-QDate PrintDialog::from() const
+TQDate PrintDialog::from() const
{
return _from->date();
}
-QDate PrintDialog::to() const
+TQDate PrintDialog::to() const
{
return _to->date();
}