From fd5d099065a748cac49e20a13481f85666c53c71 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Fri, 1 Feb 2013 15:14:12 -0600 Subject: Rename a number of classes to enhance compatibility with KDE4 --- karm/taskview.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'karm/taskview.cpp') diff --git a/karm/taskview.cpp b/karm/taskview.cpp index bcabad37f..14477cf51 100644 --- a/karm/taskview.cpp +++ b/karm/taskview.cpp @@ -37,7 +37,7 @@ class DesktopTracker; -TaskView::TaskView(TQWidget *parent, const char *name, const TQString &icsfile ):KListView(parent,name) +TaskView::TaskView(TQWidget *parent, const char *name, const TQString &icsfile ):TDEListView(parent,name) { _preferences = Preferences::instance( icsfile ); _storage = KarmStorage::instance(); @@ -119,10 +119,10 @@ KarmStorage* TaskView::storage() void TaskView::contentsMousePressEvent ( TQMouseEvent * e ) { kdDebug(5970) << "entering contentsMousePressEvent" << endl; - KListView::contentsMousePressEvent(e); + TDEListView::contentsMousePressEvent(e); Task* task = current_item(); // This checks that there has been a click onto an item, - // not into an empty part of the KListView. + // not into an empty part of the TDEListView. if ( task != 0 && // zero can happen if there is no task e->pos().y() >= current_item()->itemPos() && e->pos().y() < current_item()->itemPos()+current_item()->height() ) @@ -145,7 +145,7 @@ void TaskView::contentsMouseDoubleClickEvent ( TQMouseEvent * e ) // not in the blank space, if yes, stop all other tasks and start the new timer. { kdDebug(5970) << "entering contentsMouseDoubleClickEvent" << endl; - KListView::contentsMouseDoubleClickEvent(e); + TDEListView::contentsMouseDoubleClickEvent(e); Task *task = current_item(); -- cgit v1.2.1