From 67e29a054cfcb1b0d2fe6b0a316cf6b3eec087b7 Mon Sep 17 00:00:00 2001 From: tpearson Date: Wed, 13 Apr 2011 00:46:47 +0000 Subject: Initial conversion of kdepim to TQt This will probably require some tweaking before it will build under Qt4, however Qt3 builds are OK. Any alterations this commit makes to kdepim behaviour under Qt3 are unintentional and should be fixed. git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1227832 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kalarm/templatelistview.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'kalarm/templatelistview.cpp') diff --git a/kalarm/templatelistview.cpp b/kalarm/templatelistview.cpp index 1c0dd504..435789ce 100644 --- a/kalarm/templatelistview.cpp +++ b/kalarm/templatelistview.cpp @@ -35,17 +35,17 @@ TQValueList TemplateListView::mInstanceList; -TemplateListView::TemplateListView(bool includeCmdAlarms, const TQString& whatsThisText, TQWidget* parent, const char* name) - : EventListViewBase(parent, name), +TemplateListView::TemplateListView(bool includeCmdAlarms, const TQString& whatsThisText, TQWidget* tqparent, const char* name) + : EventListViewBase(tqparent, name), mWhatsThisText(whatsThisText), mIconColumn(0), mNameColumn(1), mExcludeCmdAlarms(!includeCmdAlarms) { - addColumn(TQString::null); // icon column + addColumn(TQString()); // icon column addLastColumn(i18n("Name")); setSorting(mNameColumn); // sort initially by name - setColumnAlignment(mIconColumn, Qt::AlignHCenter); + setColumnAlignment(mIconColumn, TQt::AlignHCenter); setColumnWidthMode(mIconColumn, TQListView::Maximum); mInstanceList.append(this); @@ -92,8 +92,8 @@ TQString TemplateListView::whatsThisText(int column) const = Contains the details of one alarm for display in the TemplateListView. =============================================================================*/ -TemplateListViewItem::TemplateListViewItem(TemplateListView* parent, const KAEvent& event) - : EventListViewItemBase(parent, event) +TemplateListViewItem::TemplateListViewItem(TemplateListView* tqparent, const KAEvent& event) + : EventListViewItemBase(tqparent, event) { setLastColumnText(); // set the template name column text -- cgit v1.2.3