summaryrefslogtreecommitdiffstats
path: root/kalarm/alarmlistview.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kalarm/alarmlistview.cpp')
-rw-r--r--kalarm/alarmlistview.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/kalarm/alarmlistview.cpp b/kalarm/alarmlistview.cpp
index 546752ea2..355cc4e3e 100644
--- a/kalarm/alarmlistview.cpp
+++ b/kalarm/alarmlistview.cpp
@@ -44,7 +44,7 @@
class AlarmListTooltip : public TQToolTip
{
public:
- AlarmListTooltip(TQWidget* tqparent) : TQToolTip(tqparent) { }
+ AlarmListTooltip(TQWidget* parent) : TQToolTip(parent) { }
virtual ~AlarmListTooltip() {}
protected:
virtual void maybeTip(const TQPoint&);
@@ -59,8 +59,8 @@ TQValueList<EventListViewBase*> AlarmListView::mInstanceList;
bool AlarmListView::mDragging = false;
-AlarmListView::AlarmListView(const TQValueList<int>& order, TQWidget* tqparent, const char* name)
- : EventListViewBase(tqparent, name),
+AlarmListView::AlarmListView(const TQValueList<int>& order, TQWidget* parent, const char* name)
+ : EventListViewBase(parent, name),
mMousePressed(false),
mDrawMessageInColour(false),
mShowExpired(false)
@@ -414,20 +414,20 @@ void AlarmListView::contentsMouseReleaseEvent(TQMouseEvent *e)
int AlarmListViewItem::mTimeHourPos = -2;
int AlarmListViewItem::mDigitWidth = -1;
-AlarmListViewItem::AlarmListViewItem(AlarmListView* tqparent, const KAEvent& event, const TQDateTime& now)
- : EventListViewItemBase(tqparent, event),
+AlarmListViewItem::AlarmListViewItem(AlarmListView* parent, const KAEvent& event, const TQDateTime& now)
+ : EventListViewItemBase(parent, event),
mMessageTruncated(false),
mTimeToAlarmShown(false)
{
setLastColumnText(); // set the message column text
DateTime dateTime = event.expired() ? event.startDateTime() : event.displayDateTime();
- if (tqparent->column(AlarmListView::TIME_COLUMN) >= 0)
- setText(tqparent->column(AlarmListView::TIME_COLUMN), alarmTimeText(dateTime));
- if (tqparent->column(AlarmListView::TIME_TO_COLUMN) >= 0)
+ if (parent->column(AlarmListView::TIME_COLUMN) >= 0)
+ setText(parent->column(AlarmListView::TIME_COLUMN), alarmTimeText(dateTime));
+ if (parent->column(AlarmListView::TIME_TO_COLUMN) >= 0)
{
TQString tta = timeToAlarmText(now);
- setText(tqparent->column(AlarmListView::TIME_TO_COLUMN), tta);
+ setText(parent->column(AlarmListView::TIME_TO_COLUMN), tta);
mTimeToAlarmShown = !tta.isNull();
}
TQTime t = dateTime.time();
@@ -468,7 +468,7 @@ AlarmListViewItem::AlarmListViewItem(AlarmListView* tqparent, const KAEvent& eve
break;
}
}
- setText(tqparent->column(AlarmListView::REPEAT_COLUMN), repeatText);
+ setText(parent->column(AlarmListView::REPEAT_COLUMN), repeatText);
mRepeatOrder.sprintf("%c%08d", '0' + repeatOrder, repeatInterval);
bool showColour = (event.action() == KAEvent::MESSAGE || event.action() == KAEvent::FILE);