From 7716a5e605907a009e19f429cec4e6b5f346bd71 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Fri, 1 Feb 2013 15:14:36 -0600 Subject: Rename a number of classes to enhance compatibility with KDE4 --- umbrello/umbrello/umllistview.cpp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'umbrello/umbrello/umllistview.cpp') diff --git a/umbrello/umbrello/umllistview.cpp b/umbrello/umbrello/umllistview.cpp index d6f23206..5bd20125 100644 --- a/umbrello/umbrello/umllistview.cpp +++ b/umbrello/umbrello/umllistview.cpp @@ -73,7 +73,7 @@ protected: * Reimplemented from TQToolTip for internal reasons. * At classifiers, only the method names are shown in the list view - * we use a tooltip for the full signature display. - * Once KListView's tooltip overriding mechanism works, we can kick + * Once TDEListView's tooltip overriding mechanism works, we can kick * this class out. */ virtual void maybeTip (const TQPoint& pos) { @@ -94,7 +94,7 @@ protected: UMLListView::UMLListView(TQWidget *parent, const char *name) - : KListView(parent,name), m_pMenu(0), m_doc(UMLApp::app()->getDocument()) + : TDEListView(parent,name), m_pMenu(0), m_doc(UMLApp::app()->getDocument()) { loadPixmaps(); @@ -115,7 +115,7 @@ UMLListView::UMLListView(TQWidget *parent, const char *name) addColumn(m_doc->getName()); #ifdef WANT_LVTOOLTIP - /* In KDE-3.3, we cannot use KListView's builtin mechanism for + /* In KDE-3.3, we cannot use TDEListView's builtin mechanism for overriding the tooltips. Instead, see the above class LVToolTip. setShowToolTips( true ); setTooltipColumn( 0 ); @@ -194,25 +194,25 @@ void UMLListView::contentsMousePressEvent(TQMouseEvent *me) { connect(m_pMenu, TQT_SIGNAL(activated(int)), this, TQT_SLOT(popupMenuSel(int))); }//end if right button - this->KListView::contentsMousePressEvent(me); + this->TDEListView::contentsMousePressEvent(me); } void UMLListView::contentsMouseReleaseEvent(TQMouseEvent *me) { if (me->button() != Qt::LeftButton) { - this->KListView::contentsMouseReleaseEvent(me); + this->TDEListView::contentsMouseReleaseEvent(me); return; } const TQPoint pt = this->TQScrollView::contentsToViewport( me->pos() ); UMLListViewItem *item = dynamic_cast(itemAt(pt)); if (item == NULL || !Model_Utils::typeIsDiagram(item->getType())) { - this->KListView::contentsMouseReleaseEvent(me); + this->TDEListView::contentsMouseReleaseEvent(me); return; } // Switch to diagram on mouse release - not on mouse press // because the user might intend a drag-to-note. m_doc->changeCurrentView( item->getID() ); UMLApp::app()->getDocWindow()->showDocumentation(m_doc->findView(item->getID()), false); - this->KListView::contentsMouseReleaseEvent(me); + this->TDEListView::contentsMouseReleaseEvent(me); } void UMLListView::keyPressEvent(TQKeyEvent *ke) { -- cgit v1.2.3