summaryrefslogtreecommitdiffstats
path: root/korganizer/plugins/timespanview/kotimespanview.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/timespanview/kotimespanview.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/timespanview/kotimespanview.cpp')
-rw-r--r--korganizer/plugins/timespanview/kotimespanview.cpp20
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 );