summaryrefslogtreecommitdiffstats
path: root/kalarm/eventlistviewbase.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kalarm/eventlistviewbase.cpp')
-rw-r--r--kalarm/eventlistviewbase.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/kalarm/eventlistviewbase.cpp b/kalarm/eventlistviewbase.cpp
index c463c8ad..a8f5b4d1 100644
--- a/kalarm/eventlistviewbase.cpp
+++ b/kalarm/eventlistviewbase.cpp
@@ -45,8 +45,8 @@ class EventListWhatsThisBase : public TQWhatsThis
= Base class for displaying a list of events.
=============================================================================*/
-EventListViewBase::EventListViewBase(TQWidget* tqparent, const char* name)
- : KListView(tqparent, name),
+EventListViewBase::EventListViewBase(TQWidget* parent, const char* name)
+ : KListView(parent, name),
mFind(0),
mLastColumn(-1),
mLastColumnHeaderWidth(0)
@@ -392,8 +392,8 @@ TQPixmap* EventListViewItemBase::mEmailIcon;
int EventListViewItemBase::mIconWidth = 0;
-EventListViewItemBase::EventListViewItemBase(EventListViewBase* tqparent, const KAEvent& event)
- : TQListViewItem(tqparent),
+EventListViewItemBase::EventListViewItemBase(EventListViewBase* parent, const KAEvent& event)
+ : TQListViewItem(parent),
mEvent(event)
{
iconWidth(); // load the icons
@@ -404,9 +404,9 @@ EventListViewItemBase::EventListViewItemBase(EventListViewBase* tqparent, const
*/
void EventListViewItemBase::setLastColumnText()
{
- EventListViewBase* tqparent = (EventListViewBase*)listView();
- setText(tqparent->lastColumn(), lastColumnText());
- mLastColumnWidth = width(tqparent->fontMetrics(), tqparent, tqparent->lastColumn());
+ EventListViewBase* parent = (EventListViewBase*)listView();
+ setText(parent->lastColumn(), lastColumnText());
+ mLastColumnWidth = width(parent->fontMetrics(), parent, parent->lastColumn());
}
/******************************************************************************