summaryrefslogtreecommitdiffstats
path: root/kalarm/eventlistviewbase.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kalarm/eventlistviewbase.cpp')
-rw-r--r--kalarm/eventlistviewbase.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/kalarm/eventlistviewbase.cpp b/kalarm/eventlistviewbase.cpp
index 23af4aafc..ce0257301 100644
--- a/kalarm/eventlistviewbase.cpp
+++ b/kalarm/eventlistviewbase.cpp
@@ -30,7 +30,7 @@
#include "eventlistviewbase.moc"
-class EventListWhatsThisBase : public QWhatsThis
+class EventListWhatsThisBase : public TQWhatsThis
{
public:
EventListWhatsThisBase(EventListViewBase* lv) : TQWhatsThis(lv), mListView(lv) { }
@@ -45,8 +45,8 @@ class EventListWhatsThisBase : public QWhatsThis
= Base class for displaying a list of events.
=============================================================================*/
-EventListViewBase::EventListViewBase(TQWidget* parent, const char* name)
- : KListView(parent, name),
+EventListViewBase::EventListViewBase(TQWidget* tqparent, const char* name)
+ : KListView(tqparent, name),
mFind(0),
mLastColumn(-1),
mLastColumnHeaderWidth(0)
@@ -370,7 +370,7 @@ int EventListViewBase::itemHeight()
if (!item)
{
// The list is empty, so create a temporary item to find its height
- TQListViewItem* item = new TQListViewItem(this, TQString::null);
+ TQListViewItem* item = new TQListViewItem(this, TQString());
int height = item->height();
delete item;
return height;
@@ -392,8 +392,8 @@ TQPixmap* EventListViewItemBase::mEmailIcon;
int EventListViewItemBase::mIconWidth = 0;
-EventListViewItemBase::EventListViewItemBase(EventListViewBase* parent, const KAEvent& event)
- : TQListViewItem(parent),
+EventListViewItemBase::EventListViewItemBase(EventListViewBase* tqparent, const KAEvent& event)
+ : TQListViewItem(tqparent),
mEvent(event)
{
iconWidth(); // load the icons
@@ -404,9 +404,9 @@ EventListViewItemBase::EventListViewItemBase(EventListViewBase* parent, const KA
*/
void EventListViewItemBase::setLastColumnText()
{
- EventListViewBase* parent = (EventListViewBase*)listView();
- setText(parent->lastColumn(), lastColumnText());
- mLastColumnWidth = width(parent->fontMetrics(), parent, parent->lastColumn());
+ EventListViewBase* tqparent = (EventListViewBase*)listView();
+ setText(tqparent->lastColumn(), lastColumnText());
+ mLastColumnWidth = width(tqparent->fontMetrics(), tqparent, tqparent->lastColumn());
}
/******************************************************************************