diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-02-01 15:14:12 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-02-01 15:14:12 -0600 |
commit | fd5d099065a748cac49e20a13481f85666c53c71 (patch) | |
tree | a0f1672cd88eb0e69b9ddc2ed9b08ecd98538bd3 /kalarm/eventlistviewbase.cpp | |
parent | b440a9c608596cd88efdb3bfa4661c5e37efbe4b (diff) | |
download | tdepim-fd5d099065a748cac49e20a13481f85666c53c71.tar.gz tdepim-fd5d099065a748cac49e20a13481f85666c53c71.zip |
Rename a number of classes to enhance compatibility with KDE4
Diffstat (limited to 'kalarm/eventlistviewbase.cpp')
-rw-r--r-- | kalarm/eventlistviewbase.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/kalarm/eventlistviewbase.cpp b/kalarm/eventlistviewbase.cpp index a8f5b4d18..f093fa87a 100644 --- a/kalarm/eventlistviewbase.cpp +++ b/kalarm/eventlistviewbase.cpp @@ -46,7 +46,7 @@ class EventListWhatsThisBase : public TQWhatsThis =============================================================================*/ EventListViewBase::EventListViewBase(TQWidget* parent, const char* name) - : KListView(parent, name), + : TDEListView(parent, name), mFind(0), mLastColumn(-1), mLastColumnHeaderWidth(0) @@ -237,7 +237,7 @@ void EventListViewBase::slotDeselect() */ bool EventListViewBase::anySelected() const { - for (TQListViewItem* item = KListView::firstChild(); item; item = item->nextSibling()) + for (TQListViewItem* item = TDEListView::firstChild(); item; item = item->nextSibling()) if (isSelected(item)) return true; return false; @@ -263,7 +263,7 @@ const KAEvent* EventListViewBase::selectedEvent() const EventListViewItemBase* EventListViewBase::selectedItem() const { if (selectionMode() == TQListView::Single) - return (EventListViewItemBase*)KListView::selectedItem(); + return (EventListViewItemBase*)TDEListView::selectedItem(); TQListViewItem* item = 0; for (TQListViewItem* it = firstChild(); it; it = it->nextSibling()) @@ -346,7 +346,7 @@ void EventListViewBase::resizeLastColumn() */ void EventListViewBase::resizeEvent(TQResizeEvent* re) { - KListView::resizeEvent(re); + TDEListView::resizeEvent(re); resizeLastColumn(); } @@ -357,7 +357,7 @@ void EventListViewBase::resizeEvent(TQResizeEvent* re) */ void EventListViewBase::showEvent(TQShowEvent* se) { - KListView::showEvent(se); + TDEListView::showEvent(se); resizeLastColumn(); } |