summaryrefslogtreecommitdiffstats
path: root/parts/doxygen
diff options
context:
space:
mode:
Diffstat (limited to 'parts/doxygen')
-rw-r--r--parts/doxygen/doxygenconfigwidget.cpp14
-rw-r--r--parts/doxygen/doxygenconfigwidget.h2
-rw-r--r--parts/doxygen/doxygenpart.cpp20
-rw-r--r--parts/doxygen/doxygenpart.h2
-rw-r--r--parts/doxygen/input.cpp42
-rw-r--r--parts/doxygen/input.h16
6 files changed, 48 insertions, 48 deletions
diff --git a/parts/doxygen/doxygenconfigwidget.cpp b/parts/doxygen/doxygenconfigwidget.cpp
index b880b6f2..1f2a36c4 100644
--- a/parts/doxygen/doxygenconfigwidget.cpp
+++ b/parts/doxygen/doxygenconfigwidget.cpp
@@ -68,7 +68,7 @@ DoxygenConfigWidget::DoxygenConfigWidget(const TQString &fileName, TQWidget *par
sm // type
);
TQWhatsThis::add(inputString, option->docs().simplifyWhiteSpace());
- connect(inputString, TQT_SIGNAL(changed()), this, TQT_SLOT(changed()));
+ connect(inputString, TQ_SIGNAL(changed()), this, TQ_SLOT(changed()));
m_inputWidgets->insert(option->name(), inputString);
addDependency(m_switches, option->dependsOn(), option->name());
}
@@ -86,7 +86,7 @@ DoxygenConfigWidget::DoxygenConfigWidget(const TQString &fileName, TQWidget *par
for (sli.toFirst(); sli.current(); ++sli)
inputString->addValue(sli.current());
TQWhatsThis::add(inputString, option->docs().simplifyWhiteSpace());
- connect(inputString, TQT_SIGNAL(changed()), this, TQT_SLOT(changed()));
+ connect(inputString, TQ_SIGNAL(changed()), this, TQ_SLOT(changed()));
m_inputWidgets->insert(option->name(),inputString);
addDependency(m_switches, option->dependsOn(), option->name());
}
@@ -109,7 +109,7 @@ DoxygenConfigWidget::DoxygenConfigWidget(const TQString &fileName, TQWidget *par
lm // type
);
TQWhatsThis::add(inputStrList, option->docs().simplifyWhiteSpace());
- connect(inputStrList, TQT_SIGNAL(changed()), this, TQT_SLOT(changed()));
+ connect(inputStrList, TQ_SIGNAL(changed()), this, TQ_SLOT(changed()));
m_inputWidgets->insert(option->name(),inputStrList);
addDependency(m_switches, option->dependsOn(), option->name());
}
@@ -124,7 +124,7 @@ DoxygenConfigWidget::DoxygenConfigWidget(const TQString &fileName, TQWidget *par
*((ConfigBool *)option)->valueRef() // variable
);
TQWhatsThis::add(inputBool, option->docs().simplifyWhiteSpace());
- connect(inputBool, TQT_SIGNAL(changed()), this, TQT_SLOT(changed()));
+ connect(inputBool, TQ_SIGNAL(changed()), this, TQ_SLOT(changed()));
m_inputWidgets->insert(option->name(), inputBool);
addDependency(m_switches, option->dependsOn(), option->name());
}
@@ -140,7 +140,7 @@ DoxygenConfigWidget::DoxygenConfigWidget(const TQString &fileName, TQWidget *par
((ConfigInt *)option)->maxVal() // max value
);
TQWhatsThis::add(inputInt, option->docs().simplifyWhiteSpace());
- connect(inputInt, TQT_SIGNAL(changed()), this, TQT_SLOT(changed()));
+ connect(inputInt, TQ_SIGNAL(changed()), this, TQ_SLOT(changed()));
m_inputWidgets->insert(option->name(), inputInt);
addDependency(m_switches, option->dependsOn(), option->name());
}
@@ -153,7 +153,7 @@ DoxygenConfigWidget::DoxygenConfigWidget(const TQString &fileName, TQWidget *par
TQDictIterator<TQObject> di(*m_switches);
for (; di.current(); ++di) {
TQObject *obj = di.current();
- connect(obj, TQT_SIGNAL(toggle(const TQString&, bool)), this, TQT_SLOT(toggle(const TQString&, bool)));
+ connect(obj, TQ_SIGNAL(toggle(const TQString&, bool)), this, TQ_SLOT(toggle(const TQString&, bool)));
// UGLY HACK: assumes each item depends on a boolean without checking!
emit toggle(di.currentKey(), ((InputBool *)obj)->getState());
}
@@ -226,7 +226,7 @@ void DoxygenConfigWidget::init()
TQDictIterator<TQObject> dio(*m_switches);
for (; dio.current(); ++dio) {
TQObject *obj = dio.current();
- connect(obj, TQT_SIGNAL(toggle(const TQString&, bool)), this, TQT_SLOT(toggle(const TQString&, bool)));
+ connect(obj, TQ_SIGNAL(toggle(const TQString&, bool)), this, TQ_SLOT(toggle(const TQString&, bool)));
// UGLY HACK: assumes each item depends on a boolean without checking!
emit toggle(dio.currentKey(), ((InputBool *)obj)->getState());
}
diff --git a/parts/doxygen/doxygenconfigwidget.h b/parts/doxygen/doxygenconfigwidget.h
index 2a65801e..97087dc7 100644
--- a/parts/doxygen/doxygenconfigwidget.h
+++ b/parts/doxygen/doxygenconfigwidget.h
@@ -23,7 +23,7 @@ class IInput;
class DoxygenConfigWidget : public TQTabWidget
{
- Q_OBJECT
+ TQ_OBJECT
public:
diff --git a/parts/doxygen/doxygenpart.cpp b/parts/doxygen/doxygenpart.cpp
index 36d41e8d..14912757 100644
--- a/parts/doxygen/doxygenpart.cpp
+++ b/parts/doxygen/doxygenpart.cpp
@@ -59,32 +59,32 @@ DoxygenPart::DoxygenPart(TQObject *parent, const char *name, const TQStringList
TDEAction *action;
action = new TDEAction( i18n("Build API Documentation"), 0,
- this, TQT_SLOT(slotDoxygen()),
+ this, TQ_SLOT(slotDoxygen()),
actionCollection(), "build_doxygen" );
action->setToolTip(i18n("Build API documentation"));
action->setWhatsThis(i18n("<b>Build API documentation</b><p>Runs doxygen on a project Doxyfile to generate API documentation. "
"If the search engine is enabled in Doxyfile, this also runs doxytag to create it."));
action = new TDEAction( i18n("Clean API Documentation"), 0,
- this, TQT_SLOT(slotDoxClean()),
+ this, TQ_SLOT(slotDoxClean()),
actionCollection(), "clean_doxygen" );
action->setToolTip(i18n("Clean API documentation"));
action->setWhatsThis(i18n("<b>Clean API documentation</b><p>Removes all generated by doxygen files."));
-// connect( core(), TQT_SIGNAL(projectConfigWidget(KDialogBase*)), this, TQT_SLOT(projectConfigWidget(KDialogBase*)) );
+// connect( core(), TQ_SIGNAL(projectConfigWidget(KDialogBase*)), this, TQ_SLOT(projectConfigWidget(KDialogBase*)) );
_configProxy = new ConfigWidgetProxy( core() );
_configProxy->createProjectConfigPage( i18n("Doxygen"), PROJECTOPTIONS, info()->icon() );
- connect( _configProxy, TQT_SIGNAL(insertConfigWidget(const KDialogBase*, TQWidget*, unsigned int )),
- this, TQT_SLOT(insertConfigWidget(const KDialogBase*, TQWidget*, unsigned int )) );
+ connect( _configProxy, TQ_SIGNAL(insertConfigWidget(const KDialogBase*, TQWidget*, unsigned int )),
+ this, TQ_SLOT(insertConfigWidget(const KDialogBase*, TQWidget*, unsigned int )) );
- m_actionDocumentFunction = new TDEAction(i18n("Document Current Function"), 0, CTRL+SHIFT+Key_S, this, TQT_SLOT(slotDocumentFunction()), actionCollection(), "edit_document_function");
+ m_actionDocumentFunction = new TDEAction(i18n("Document Current Function"), 0, CTRL+SHIFT+Key_S, this, TQ_SLOT(slotDocumentFunction()), actionCollection(), "edit_document_function");
m_actionDocumentFunction->setToolTip( i18n("Create a documentation template above a function"));
m_actionDocumentFunction->setWhatsThis(i18n("<b>Document Current Function</b><p>Creates a documentation template according to a function's signature above a function definition/declaration."));
m_tmpDir.setAutoDelete(true);
- connect( partController(), TQT_SIGNAL(activePartChanged(KParts::Part*)), this, TQT_SLOT(slotActivePartChanged(KParts::Part* )));
- m_actionPreview = new TDEAction(i18n("Preview Doxygen Output"), 0, CTRL+ALT+Key_P, this, TQT_SLOT(slotRunPreview()), actionCollection(), "show_preview_doxygen_output");
+ connect( partController(), TQ_SIGNAL(activePartChanged(KParts::Part*)), this, TQ_SLOT(slotActivePartChanged(KParts::Part* )));
+ m_actionPreview = new TDEAction(i18n("Preview Doxygen Output"), 0, CTRL+ALT+Key_P, this, TQ_SLOT(slotRunPreview()), actionCollection(), "show_preview_doxygen_output");
m_actionPreview->setToolTip( i18n("Show a preview of the Doxygen output of this file") );
m_actionPreview->setWhatsThis( i18n("<b>Preview Doxygen output</b><p>Runs Doxygen over the current file and shows the created index.html.") );
@@ -116,7 +116,7 @@ void DoxygenPart::insertConfigWidget( const KDialogBase * dlg, TQWidget * page,
adjustDoxyfile();
DoxygenConfigWidget *w = new DoxygenConfigWidget(project()->projectDirectory() + "/Doxyfile", page );
- connect( dlg, TQT_SIGNAL(okClicked()), w, TQT_SLOT(accept()) );
+ connect( dlg, TQ_SIGNAL(okClicked()), w, TQ_SLOT(accept()) );
}
}
@@ -474,7 +474,7 @@ void DoxygenPart::slotRunPreview( )
if (pStyle != 0 && !stylesheet.isNull())
*pStyle->valueRef() = stylesheet;
- connect(appFrontend, TQT_SIGNAL(processExited()), this, TQT_SLOT(slotPreviewProcessExited()));
+ connect(appFrontend, TQ_SIGNAL(processExited()), this, TQ_SLOT(slotPreviewProcessExited()));
appFrontend->startAppCommand("", "doxygen \"" + file.name() + "\"", false);
}
diff --git a/parts/doxygen/doxygenpart.h b/parts/doxygen/doxygenpart.h
index aaa438de..47d215ca 100644
--- a/parts/doxygen/doxygenpart.h
+++ b/parts/doxygen/doxygenpart.h
@@ -39,7 +39,7 @@ namespace KTextEditor{
class DoxygenPart : public KDevPlugin
{
- Q_OBJECT
+ TQ_OBJECT
public:
diff --git a/parts/doxygen/input.cpp b/parts/doxygen/input.cpp
index 1194d0bc..703525f3 100644
--- a/parts/doxygen/input.cpp
+++ b/parts/doxygen/input.cpp
@@ -121,7 +121,7 @@ InputBool::InputBool(const TQCString &k, const TQString &text, TQWidget * parent
layout->addWidget(cb);
layout->addStretch(1);
- connect( cb, TQT_SIGNAL(toggled(bool)), this, TQT_SLOT(valueChanged(bool)));
+ connect( cb, TQ_SIGNAL(toggled(bool)), this, TQ_SLOT(valueChanged(bool)));
}
@@ -165,7 +165,7 @@ InputInt::InputInt(const TQString &label, TQWidget *parent, int &val, int minVal
layout->addWidget(sp);
layout->addStretch(1);
- connect(sp, TQT_SIGNAL(valueChanged(int)), this, TQT_SLOT(valueChanged(int)));
+ connect(sp, TQ_SIGNAL(valueChanged(int)), this, TQ_SLOT(valueChanged(int)));
}
@@ -226,13 +226,13 @@ InputString::InputString(const TQString & label,
}
if (le)
- connect( le, TQT_SIGNAL(textChanged(const TQString&)),
- this, TQT_SLOT(textChanged(const TQString&)) );
+ connect( le, TQ_SIGNAL(textChanged(const TQString&)),
+ this, TQ_SLOT(textChanged(const TQString&)) );
if (br)
- connect( br, TQT_SIGNAL(clicked()), this, TQT_SLOT(browse()) );
+ connect( br, TQ_SIGNAL(clicked()), this, TQ_SLOT(browse()) );
if (com)
- connect( com, TQT_SIGNAL(activated(const TQString &)),
- this, TQT_SLOT(textChanged(const TQString &)) );
+ connect( com, TQ_SIGNAL(activated(const TQString &)),
+ this, TQ_SLOT(textChanged(const TQString &)) );
}
InputString::~InputString()
@@ -376,22 +376,22 @@ InputStrList::InputStrList(const TQString & label,
layout->addWidget(dw, 0, 1);
layout->addWidget(lb, 1, 1);
- connect( le, TQT_SIGNAL(returnPressed()),
- this, TQT_SLOT(addString()) );
- connect( add, TQT_SIGNAL(clicked()),
- this, TQT_SLOT(addString()) );
- connect( del, TQT_SIGNAL(clicked()),
- this, TQT_SLOT(delString()) );
- connect( upd, TQT_SIGNAL(clicked()),
- this, TQT_SLOT(updateString()) );
+ connect( le, TQ_SIGNAL(returnPressed()),
+ this, TQ_SLOT(addString()) );
+ connect( add, TQ_SIGNAL(clicked()),
+ this, TQ_SLOT(addString()) );
+ connect( del, TQ_SIGNAL(clicked()),
+ this, TQ_SLOT(delString()) );
+ connect( upd, TQ_SIGNAL(clicked()),
+ this, TQ_SLOT(updateString()) );
if (brFile)
- connect( brFile, TQT_SIGNAL(clicked()),
- this, TQT_SLOT(browseFiles()) );
+ connect( brFile, TQ_SIGNAL(clicked()),
+ this, TQ_SLOT(browseFiles()) );
if (brDir)
- connect( brDir, TQT_SIGNAL(clicked()),
- this, TQT_SLOT(browseDir()) );
- connect( lb, TQT_SIGNAL(selected(const TQString &)),
- this, TQT_SLOT(selectText(const TQString &)) );
+ connect( brDir, TQ_SIGNAL(clicked()),
+ this, TQ_SLOT(browseDir()) );
+ connect( lb, TQ_SIGNAL(selected(const TQString &)),
+ this, TQ_SLOT(selectText(const TQString &)) );
strList = sl;
}
diff --git a/parts/doxygen/input.h b/parts/doxygen/input.h
index 9a5189da..97599f37 100644
--- a/parts/doxygen/input.h
+++ b/parts/doxygen/input.h
@@ -35,7 +35,7 @@ class IInput
class InputBool : public TQWidget, public IInput
{
- Q_OBJECT
+ TQ_OBJECT
public:
@@ -44,7 +44,7 @@ public:
void init();
virtual void setEnabled(bool b);
- virtual TQObject *qobject() { return TQT_TQOBJECT(this); }
+ virtual TQObject *qobject() { return this; }
virtual bool getState() const { return state; }
signals:
@@ -63,7 +63,7 @@ private:
class InputInt : public TQWidget, public IInput
{
- Q_OBJECT
+ TQ_OBJECT
public:
@@ -73,7 +73,7 @@ public:
void init();
virtual void setEnabled(bool);
- TQObject *qobject() { return TQT_TQOBJECT(this); }
+ TQObject *qobject() { return this; }
signals:
void changed();
@@ -92,7 +92,7 @@ private:
class InputString : public TQWidget, public IInput
{
- Q_OBJECT
+ TQ_OBJECT
public:
@@ -109,7 +109,7 @@ public:
void init();
void addValue(const char *s);
void setEnabled(bool);
- TQObject *qobject() { return TQT_TQOBJECT(this); }
+ TQObject *qobject() { return this; }
signals:
void changed();
@@ -133,7 +133,7 @@ private:
class InputStrList : public TQWidget, public IInput
{
- Q_OBJECT
+ TQ_OBJECT
public:
@@ -149,7 +149,7 @@ public:
void init();
void setEnabled(bool);
- TQObject *qobject() { return TQT_TQOBJECT(this); }
+ TQObject *qobject() { return this; }
signals:
void changed();