From 7be55ffa061c026e35e2d6a0effe1161ddb0d41f Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 31 Jul 2010 19:53:50 +0000 Subject: Trinity Qt initial conversion git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1157655 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- korganizer/plugins/timespanview/kotimespanview.cpp | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'korganizer/plugins/timespanview/kotimespanview.cpp') 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 +#include #include #include @@ -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 sizes = config.readIntListEntry("Separator TimeSpanView"); + TQValueList 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 list = mTimeSpanWidget->splitterSizes(); + TQValueList 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 ); -- cgit v1.2.1