summaryrefslogtreecommitdiffstats
path: root/umbrello/umbrello/umllistview.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-01 15:14:36 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-01 15:14:36 -0600
commit7716a5e605907a009e19f429cec4e6b5f346bd71 (patch)
tree16cf4a5d7a24db774f988022d514adefc75015c0 /umbrello/umbrello/umllistview.cpp
parent0117fbed932653a04aeef16b2ed7edee858959ac (diff)
downloadtdesdk-7716a5e605907a009e19f429cec4e6b5f346bd71.tar.gz
tdesdk-7716a5e605907a009e19f429cec4e6b5f346bd71.zip
Rename a number of classes to enhance compatibility with KDE4
Diffstat (limited to 'umbrello/umbrello/umllistview.cpp')
-rw-r--r--umbrello/umbrello/umllistview.cpp14
1 files changed, 7 insertions, 7 deletions
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<UMLListViewItem*>(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) {