diff options
Diffstat (limited to 'kalarm/templatelistview.cpp')
-rw-r--r-- | kalarm/templatelistview.cpp | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/kalarm/templatelistview.cpp b/kalarm/templatelistview.cpp index bf1e00850..1c0dd504b 100644 --- a/kalarm/templatelistview.cpp +++ b/kalarm/templatelistview.cpp @@ -32,21 +32,21 @@ = Class: TemplateListView = Displays the list of outstanding alarms. =============================================================================*/ -QValueList<EventListViewBase*> TemplateListView::mInstanceList; +TQValueList<EventListViewBase*> TemplateListView::mInstanceList; -TemplateListView::TemplateListView(bool includeCmdAlarms, const QString& whatsThisText, QWidget* parent, const char* name) +TemplateListView::TemplateListView(bool includeCmdAlarms, const TQString& whatsThisText, TQWidget* parent, const char* name) : EventListViewBase(parent, name), mWhatsThisText(whatsThisText), mIconColumn(0), mNameColumn(1), mExcludeCmdAlarms(!includeCmdAlarms) { - addColumn(QString::null); // icon column + addColumn(TQString::null); // icon column addLastColumn(i18n("Name")); setSorting(mNameColumn); // sort initially by name setColumnAlignment(mIconColumn, Qt::AlignHCenter); - setColumnWidthMode(mIconColumn, QListView::Maximum); + setColumnWidthMode(mIconColumn, TQListView::Maximum); mInstanceList.append(this); } @@ -61,8 +61,8 @@ TemplateListView::~TemplateListView() */ void TemplateListView::populate() { - QValueList<KAEvent> templates = KAlarm::templateList(); - for (QValueList<KAEvent>::Iterator it = templates.begin(); it != templates.end(); ++it) + TQValueList<KAEvent> templates = KAlarm::templateList(); + for (TQValueList<KAEvent>::Iterator it = templates.begin(); it != templates.end(); ++it) addEntry(*it); } @@ -75,9 +75,9 @@ EventListViewItemBase* TemplateListView::createItem(const KAEvent& event) } /****************************************************************************** -* Returns the QWhatsThis text for a specified column. +* Returns the TQWhatsThis text for a specified column. */ -QString TemplateListView::whatsThisText(int column) const +TQString TemplateListView::whatsThisText(int column) const { if (column == mIconColumn) return i18n("Alarm type"); @@ -113,7 +113,7 @@ TemplateListViewItem::TemplateListViewItem(TemplateListView* parent, const KAEve /****************************************************************************** * Return the alarm summary text. */ -QString TemplateListViewItem::lastColumnText() const +TQString TemplateListViewItem::lastColumnText() const { return event().templateName(); } @@ -121,7 +121,7 @@ QString TemplateListViewItem::lastColumnText() const /****************************************************************************** * Return the column sort order for one item in the list. */ -QString TemplateListViewItem::key(int column, bool) const +TQString TemplateListViewItem::key(int column, bool) const { TemplateListView* listView = templateListView(); if (column == listView->iconColumn()) |