diff options
Diffstat (limited to 'korganizer/plugins/timespanview/kotimespanview.cpp')
-rw-r--r-- | korganizer/plugins/timespanview/kotimespanview.cpp | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/korganizer/plugins/timespanview/kotimespanview.cpp b/korganizer/plugins/timespanview/kotimespanview.cpp index 507438a6a..eec3ab461 100644 --- a/korganizer/plugins/timespanview/kotimespanview.cpp +++ b/korganizer/plugins/timespanview/kotimespanview.cpp @@ -22,7 +22,7 @@ without including the source code for Qt in the source distribution. */ -#include <qlayout.h> +#include <tqlayout.h> #include <kconfig.h> #include <kstandarddirs.h> @@ -35,16 +35,16 @@ #include "kotimespanview.h" #include "kotimespanview.moc" -KOTimeSpanView::KOTimeSpanView(Calendar *calendar, QWidget *parent, +KOTimeSpanView::KOTimeSpanView(Calendar *calendar, TQWidget *parent, const char *name) : KOEventView( calendar, parent, name ) { - QBoxLayout *topLayout = new QVBoxLayout( this ); + TQBoxLayout *topLayout = new TQVBoxLayout( this ); mTimeSpanWidget = new TimeSpanWidget( this ); topLayout->addWidget( mTimeSpanWidget ); - connect( mTimeSpanWidget, SIGNAL( dateRangeChanged() ), SLOT( updateView() ) ); + connect( mTimeSpanWidget, TQT_SIGNAL( dateRangeChanged() ), TQT_SLOT( updateView() ) ); } KOTimeSpanView::~KOTimeSpanView() @@ -58,7 +58,7 @@ void KOTimeSpanView::readSettings() KConfig config( "korganizerrc", true, false); // Open read-only, no kdeglobals config.setGroup("Views"); - QValueList<int> sizes = config.readIntListEntry("Separator TimeSpanView"); + TQValueList<int> sizes = config.readIntListEntry("Separator TimeSpanView"); if (sizes.count() == 2) { mTimeSpanWidget->setSplitterSizes(sizes); } @@ -70,7 +70,7 @@ void KOTimeSpanView::writeSettings(KConfig *config) config->setGroup("Views"); - QValueList<int> list = mTimeSpanWidget->splitterSizes(); + TQValueList<int> list = mTimeSpanWidget->splitterSizes(); config->writeEntry("Separator TimeSpanView",list); } @@ -97,15 +97,15 @@ void KOTimeSpanView::updateView() mTimeSpanWidget->endDateTime().date() ); } -void KOTimeSpanView::showDates(const QDate &start, const QDate &end) +void KOTimeSpanView::showDates(const TQDate &start, const TQDate &end) { - QDate s = start.addDays( -2 ); - QDate e = end.addDays( 2 ); + TQDate s = start.addDays( -2 ); + TQDate e = end.addDays( 2 ); insertItems( s, e ); } -void KOTimeSpanView::insertItems(const QDate &start, const QDate &end) +void KOTimeSpanView::insertItems(const TQDate &start, const TQDate &end) { mTimeSpanWidget->clear(); mTimeSpanWidget->setDateRange( start, end ); |