diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-04-13 00:46:47 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-04-13 00:46:47 +0000 |
commit | 67e29a054cfcb1b0d2fe6b0a316cf6b3eec087b7 (patch) | |
tree | 5f52a9eada2e9f3654fc327d7c14dfef570a6ecb /kalarm/templatelistview.cpp | |
parent | 2ee4bf4fd5eff93b2fbef0ff8e8063edffc5da5c (diff) | |
download | tdepim-67e29a054cfcb1b0d2fe6b0a316cf6b3eec087b7.tar.gz tdepim-67e29a054cfcb1b0d2fe6b0a316cf6b3eec087b7.zip |
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
Diffstat (limited to 'kalarm/templatelistview.cpp')
-rw-r--r-- | kalarm/templatelistview.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/kalarm/templatelistview.cpp b/kalarm/templatelistview.cpp index 1c0dd504b..435789ce4 100644 --- a/kalarm/templatelistview.cpp +++ b/kalarm/templatelistview.cpp @@ -35,17 +35,17 @@ TQValueList<EventListViewBase*> 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 |