summaryrefslogtreecommitdiffstats
path: root/parts/quickopen
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-01 15:15:35 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-01 15:15:35 -0600
commitf78eb03afb8c9a380985d26286afc40b4c89b292 (patch)
tree3c087e2f119e645c902958c3bc3c802abf078ad0 /parts/quickopen
parentda1941ccadffe5ae70ee111c53f0ec2b3d990869 (diff)
downloadtdevelop-f78eb03afb8c9a380985d26286afc40b4c89b292.tar.gz
tdevelop-f78eb03afb8c9a380985d26286afc40b4c89b292.zip
Rename a number of classes to enhance compatibility with KDE4
Diffstat (limited to 'parts/quickopen')
-rw-r--r--parts/quickopen/quickopen_part.cpp8
-rw-r--r--parts/quickopen/quickopen_part.h10
-rw-r--r--parts/quickopen/quickopenbase.ui2
-rw-r--r--parts/quickopen/quickopenfunctionchooseformbase.ui4
4 files changed, 12 insertions, 12 deletions
diff --git a/parts/quickopen/quickopen_part.cpp b/parts/quickopen/quickopen_part.cpp
index cd95f64a..ae8bae82 100644
--- a/parts/quickopen/quickopen_part.cpp
+++ b/parts/quickopen/quickopen_part.cpp
@@ -55,22 +55,22 @@ QuickOpenPart::QuickOpenPart(TQObject *parent, const char *name, const TQStringL
setInstance(QuickOpenFactory::instance());
setXMLFile("kdevpart_quickopen.rc");
- m_actionQuickOpen = new KAction( i18n("Quick Open File..."), CTRL + ALT + Key_O,
+ m_actionQuickOpen = new TDEAction( i18n("Quick Open File..."), CTRL + ALT + Key_O,
this, TQT_SLOT(slotQuickFileOpen()),
actionCollection(), "quick_open" );
m_actionQuickOpen->setToolTip(i18n("Quick open file in project"));
m_actionQuickOpen->setWhatsThis(i18n("<b>Quick open</b><p>Provides a file name input form with completion listbox to quickly open file in a project."));
- m_actionQuickOpenClass = new KAction( i18n("Quick Open Class..."), CTRL + ALT + Key_C,
+ m_actionQuickOpenClass = new TDEAction( i18n("Quick Open Class..."), CTRL + ALT + Key_C,
this, TQT_SLOT(slotQuickOpenClass()),
actionCollection(), "quick_open_class" );
m_actionQuickOpenClass->setToolTip(i18n("Find class in project"));
m_actionQuickOpenClass->setWhatsThis(i18n("<b>Find class</b><p>Provides a class name input form with completion listbox to quickly open a file where the class is defined."));
- m_actionFunctionOpen = new KAction( i18n("Quick Open Method..."), CTRL + ALT + Key_M, this, TQT_SLOT(slotQuickOpenFunction()), actionCollection(), "quick_open_function" );
+ m_actionFunctionOpen = new TDEAction( i18n("Quick Open Method..."), CTRL + ALT + Key_M, this, TQT_SLOT(slotQuickOpenFunction()), actionCollection(), "quick_open_function" );
m_actionFunctionOpen->setToolTip(i18n("Quick open function in project"));
- m_switchToAction = new KAction(i18n("Switch To..."), KShortcut("CTRL+/"), this, TQT_SLOT(slotSwitchTo()), actionCollection(), "file_switchto");
+ m_switchToAction = new TDEAction(i18n("Switch To..."), TDEShortcut("CTRL+/"), this, TQT_SLOT(slotSwitchTo()), actionCollection(), "file_switchto");
m_switchToAction->setToolTip(i18n("Switch to"));
m_switchToAction->setWhatsThis(i18n("<b>Switch to</b><p>Prompts to enter the name of previously opened file to switch to."));
diff --git a/parts/quickopen/quickopen_part.h b/parts/quickopen/quickopen_part.h
index 304a78ae..b8c8460b 100644
--- a/parts/quickopen/quickopen_part.h
+++ b/parts/quickopen/quickopen_part.h
@@ -25,7 +25,7 @@
#include <kdevquickopen.h>
#include <codemodel.h>
-class KAction;
+class TDEAction;
class QuickOpenPart : public KDevQuickOpen
{
@@ -48,10 +48,10 @@ private slots:
void slotSwitchTo();
private:
- KAction* m_actionQuickOpen;
- KAction* m_actionQuickOpenClass;
- KAction* m_actionFunctionOpen;
- KAction* m_switchToAction;
+ TDEAction* m_actionQuickOpen;
+ TDEAction* m_actionQuickOpenClass;
+ TDEAction* m_actionFunctionOpen;
+ TDEAction* m_switchToAction;
};
diff --git a/parts/quickopen/quickopenbase.ui b/parts/quickopen/quickopenbase.ui
index 1f3dcdb4..1b29104a 100644
--- a/parts/quickopen/quickopenbase.ui
+++ b/parts/quickopen/quickopenbase.ui
@@ -44,7 +44,7 @@
<cstring>itemList</cstring>
</property>
</widget>
- <widget class="KListBox" row="3" column="0">
+ <widget class="TDEListBox" row="3" column="0">
<property name="name">
<cstring>itemList</cstring>
</property>
diff --git a/parts/quickopen/quickopenfunctionchooseformbase.ui b/parts/quickopen/quickopenfunctionchooseformbase.ui
index 2661c684..f4bae80b 100644
--- a/parts/quickopen/quickopenfunctionchooseformbase.ui
+++ b/parts/quickopen/quickopenfunctionchooseformbase.ui
@@ -86,7 +86,7 @@
<string>File name:</string>
</property>
</widget>
- <widget class="KListBox">
+ <widget class="TDEListBox">
<property name="name">
<cstring>fileBox</cstring>
</property>
@@ -142,7 +142,7 @@
<string>Function arguments list:</string>
</property>
</widget>
- <widget class="KListBox">
+ <widget class="TDEListBox">
<property name="name">
<cstring>argBox</cstring>
</property>