summaryrefslogtreecommitdiffstats
path: root/parts/quickopen
diff options
context:
space:
mode:
Diffstat (limited to 'parts/quickopen')
-rw-r--r--parts/quickopen/quickopen_part.cpp12
-rw-r--r--parts/quickopen/quickopen_part.h2
-rw-r--r--parts/quickopen/quickopenbase.ui10
-rw-r--r--parts/quickopen/quickopenclassdialog.h2
-rw-r--r--parts/quickopen/quickopendialog.cpp4
-rw-r--r--parts/quickopen/quickopendialog.h2
-rw-r--r--parts/quickopen/quickopenfiledialog.h2
-rw-r--r--parts/quickopen/quickopenfunctionchooseform.h2
-rw-r--r--parts/quickopen/quickopenfunctionchooseformbase.ui4
-rw-r--r--parts/quickopen/quickopenfunctiondialog.h2
10 files changed, 18 insertions, 24 deletions
diff --git a/parts/quickopen/quickopen_part.cpp b/parts/quickopen/quickopen_part.cpp
index 78c97eb6..0d127a9c 100644
--- a/parts/quickopen/quickopen_part.cpp
+++ b/parts/quickopen/quickopen_part.cpp
@@ -56,26 +56,26 @@ QuickOpenPart::QuickOpenPart(TQObject *parent, const char *name, const TQStringL
setXMLFile("kdevpart_quickopen.rc");
m_actionQuickOpen = new TDEAction( i18n("Quick Open File..."), CTRL + ALT + Key_O,
- this, TQT_SLOT(slotQuickFileOpen()),
+ this, TQ_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 TDEAction( i18n("Quick Open Class..."), CTRL + ALT + Key_C,
- this, TQT_SLOT(slotQuickOpenClass()),
+ this, TQ_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 TDEAction( 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, TQ_SLOT(slotQuickOpenFunction()), actionCollection(), "quick_open_function" );
m_actionFunctionOpen->setToolTip(i18n("Quick open function in project"));
- m_switchToAction = new TDEAction(i18n("Switch To..."), TDEShortcut("CTRL+/"), this, TQT_SLOT(slotSwitchTo()), actionCollection(), "file_switchto");
+ m_switchToAction = new TDEAction(i18n("Switch To..."), TDEShortcut("CTRL+/"), this, TQ_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."));
- connect( core(), TQT_SIGNAL(projectOpened()), this, TQT_SLOT(slotProjectOpened()) );
- connect( core(), TQT_SIGNAL(projectClosed()), this, TQT_SLOT(slotProjectClosed()) );
+ connect( core(), TQ_SIGNAL(projectOpened()), this, TQ_SLOT(slotProjectOpened()) );
+ connect( core(), TQ_SIGNAL(projectClosed()), this, TQ_SLOT(slotProjectClosed()) );
}
diff --git a/parts/quickopen/quickopen_part.h b/parts/quickopen/quickopen_part.h
index fa1d85e3..98329db6 100644
--- a/parts/quickopen/quickopen_part.h
+++ b/parts/quickopen/quickopen_part.h
@@ -29,7 +29,7 @@ class TDEAction;
class QuickOpenPart : public KDevQuickOpen
{
- Q_OBJECT
+ TQ_OBJECT
public:
QuickOpenPart(TQObject *parent, const char *name, const TQStringList &);
diff --git a/parts/quickopen/quickopenbase.ui b/parts/quickopen/quickopenbase.ui
index 1fb873fc..23c028c7 100644
--- a/parts/quickopen/quickopenbase.ui
+++ b/parts/quickopen/quickopenbase.ui
@@ -87,9 +87,6 @@
<property name="text">
<string>&amp;OK</string>
</property>
- <property name="accel">
- <string></string>
- </property>
<property name="autoDefault">
<bool>true</bool>
</property>
@@ -104,9 +101,6 @@
<property name="text">
<string>&amp;Cancel</string>
</property>
- <property name="accel">
- <string></string>
- </property>
<property name="autoDefault">
<bool>true</bool>
</property>
@@ -167,12 +161,12 @@
<tabstop>buttonOk</tabstop>
<tabstop>buttonCancel</tabstop>
</tabstops>
-<Q_SLOTS>
+<slots>
<slot>slotTextChanged( const TQString &amp; )</slot>
<slot>executed( TQListBoxItem * )</slot>
<slot>slotExecuted( TQListBoxItem * )</slot>
<slot>slotReturnPressed()</slot>
-</Q_SLOTS>
+</slots>
<layoutdefaults spacing="6" margin="11"/>
<includes>
<include location="global" impldecl="in implementation">klineedit.h</include>
diff --git a/parts/quickopen/quickopenclassdialog.h b/parts/quickopen/quickopenclassdialog.h
index 13e01360..3e2df273 100644
--- a/parts/quickopen/quickopenclassdialog.h
+++ b/parts/quickopen/quickopenclassdialog.h
@@ -29,7 +29,7 @@ class QuickOpenPart;
class QuickOpenClassDialog : public QuickOpenDialog
{
- Q_OBJECT
+ TQ_OBJECT
public:
QuickOpenClassDialog(QuickOpenPart* part, TQWidget* parent = 0, const char* name = 0, bool modal = TRUE, WFlags fl = 0 );
diff --git a/parts/quickopen/quickopendialog.cpp b/parts/quickopen/quickopendialog.cpp
index dc90a20c..dd07f2eb 100644
--- a/parts/quickopen/quickopendialog.cpp
+++ b/parts/quickopen/quickopendialog.cpp
@@ -32,7 +32,7 @@ QuickOpenDialog::QuickOpenDialog(QuickOpenPart* part, TQWidget* parent, const ch
: QuickOpenDialogBase( parent, name, modal, fl ), m_part( part )
{
nameEdit->installEventFilter(this);
- connect( &m_typeTimeout, TQT_SIGNAL(timeout()), this, TQT_SLOT(slotTextChangedDelayed()) );
+ connect( &m_typeTimeout, TQ_SIGNAL(timeout()), this, TQ_SLOT(slotTextChangedDelayed()) );
}
QuickOpenDialog::~QuickOpenDialog()
@@ -74,7 +74,7 @@ bool QuickOpenDialog::eventFilter( TQObject * watched, TQEvent * e )
if (!watched || !e)
return true;
- if ((TQT_BASE_OBJECT(watched) == TQT_BASE_OBJECT(nameEdit)) && (e->type() == TQEvent::KeyPress))
+ if ((watched == nameEdit) && (e->type() == TQEvent::KeyPress))
{
TQKeyEvent *ke = (TQKeyEvent*)e;
if (ke->key() == Key_Up)
diff --git a/parts/quickopen/quickopendialog.h b/parts/quickopen/quickopendialog.h
index d763b31e..f768b4aa 100644
--- a/parts/quickopen/quickopendialog.h
+++ b/parts/quickopen/quickopendialog.h
@@ -33,7 +33,7 @@ class TDECompletion;
class QuickOpenDialog : public QuickOpenDialogBase
{
- Q_OBJECT
+ TQ_OBJECT
public:
diff --git a/parts/quickopen/quickopenfiledialog.h b/parts/quickopen/quickopenfiledialog.h
index 6db19401..2f94e0db 100644
--- a/parts/quickopen/quickopenfiledialog.h
+++ b/parts/quickopen/quickopenfiledialog.h
@@ -31,7 +31,7 @@ class TDECompletion;
class QuickOpenFileDialog : public QuickOpenDialog
{
- Q_OBJECT
+ TQ_OBJECT
public:
QuickOpenFileDialog(QuickOpenPart* part, TQWidget* parent = 0, const char* name = 0, bool modal = TRUE, WFlags fl = 0 );
diff --git a/parts/quickopen/quickopenfunctionchooseform.h b/parts/quickopen/quickopenfunctionchooseform.h
index 06f58e47..a5dd5085 100644
--- a/parts/quickopen/quickopenfunctionchooseform.h
+++ b/parts/quickopen/quickopenfunctionchooseform.h
@@ -27,7 +27,7 @@
class QuickOpenFunctionChooseForm : public QuickOpenFunctionChooseFormBase
{
- Q_OBJECT
+ TQ_OBJECT
public:
diff --git a/parts/quickopen/quickopenfunctionchooseformbase.ui b/parts/quickopen/quickopenfunctionchooseformbase.ui
index 48916460..290440c1 100644
--- a/parts/quickopen/quickopenfunctionchooseformbase.ui
+++ b/parts/quickopen/quickopenfunctionchooseformbase.ui
@@ -218,10 +218,10 @@
<tabstop>okBtn</tabstop>
<tabstop>cancelBtn</tabstop>
</tabstops>
-<Q_SLOTS>
+<slots>
<slot specifier="pure virtual">slotFileChange( int id )</slot>
<slot specifier="pure virtual">slotArgsChange( int id )</slot>
-</Q_SLOTS>
+</slots>
<layoutdefaults spacing="6" margin="11"/>
<includes>
<include location="global" impldecl="in implementation">ksqueezedtextlabel.h</include>
diff --git a/parts/quickopen/quickopenfunctiondialog.h b/parts/quickopen/quickopenfunctiondialog.h
index dc5c69e4..1927f673 100644
--- a/parts/quickopen/quickopenfunctiondialog.h
+++ b/parts/quickopen/quickopenfunctiondialog.h
@@ -31,7 +31,7 @@ class QuickOpenPart;
class QuickOpenFunctionDialog : public QuickOpenDialog
{
- Q_OBJECT
+ TQ_OBJECT
public: