summaryrefslogtreecommitdiffstats
path: root/kalarm/templatelistview.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kalarm/templatelistview.cpp')
-rw-r--r--kalarm/templatelistview.cpp12
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