From f78eb03afb8c9a380985d26286afc40b4c89b292 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Fri, 1 Feb 2013 15:15:35 -0600 Subject: Rename a number of classes to enhance compatibility with KDE4 --- languages/cpp/debugger/dbgtoolbar.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'languages/cpp/debugger/dbgtoolbar.cpp') diff --git a/languages/cpp/debugger/dbgtoolbar.cpp b/languages/cpp/debugger/dbgtoolbar.cpp index 8933ea12..16fe3b53 100644 --- a/languages/cpp/debugger/dbgtoolbar.cpp +++ b/languages/cpp/debugger/dbgtoolbar.cpp @@ -40,7 +40,7 @@ // Implements a floating toolbar for the debugger. -// Unfortunately, I couldn't get the KToolBar to work nicely when it +// Unfortunately, I couldn't get the TDEToolBar to work nicely when it // was floating, so I was forced to write these classes. I'm not sure whether // I didn't try hard enough or ... and I've forgotten what the problems were // now. @@ -48,7 +48,7 @@ // The problem with using this is that it will not dock as a normal toolbar. // I'm not convince that this is a real problem though. -// So, if you can get it to work as a KToolBar, and it works well when the +// So, if you can get it to work as a TDEToolBar, and it works well when the // app is running, then all these classes can be removed. // This code is very specific to the internal debugger in tdevelop. @@ -64,7 +64,7 @@ namespace GDBDebugger // I would have preferred to use normal decoration on the toolbar and removed // the iconify, close, etc buttons from the window title but again I kept running // into problems. Instead, I used no decoration and this class. Also this looks -// similar to the KToolBar floating style. +// similar to the TDEToolBar floating style. class DbgMoveHandle : public TQFrame { public: @@ -108,7 +108,7 @@ void DbgMoveHandle::mousePressEvent(TQMouseEvent *e) return; if (e->button() == Qt::RightButton) { - KPopupMenu *menu = new KPopupMenu(this); + TDEPopupMenu *menu = new TDEPopupMenu(this); menu->insertTitle(i18n("Debug Toolbar")); menu->insertItem(i18n("Dock to Panel"), parent(), TQT_SLOT(slotDock())); @@ -241,7 +241,7 @@ void DbgDocker::mousePressEvent(TQMouseEvent *e) } case Qt::RightButton: { - KPopupMenu* menu = new KPopupMenu(this); + TDEPopupMenu* menu = new TDEPopupMenu(this); menu->insertTitle(i18n("Debug Toolbar")); menu->insertItem(i18n("Activate"), toolBar_, TQT_SLOT(slotUndock())); menu->insertItem(i18n("Activate (TDevelop gets focus)"), toolBar_, TQT_SLOT(slotActivateAndUndock())); -- cgit v1.2.3