summaryrefslogtreecommitdiffstats
path: root/languages/lib
diff options
context:
space:
mode:
Diffstat (limited to 'languages/lib')
-rw-r--r--languages/lib/debugger/debugger.cpp24
-rw-r--r--languages/lib/debugger/debugger.h12
-rw-r--r--languages/lib/debugger/kdevdebugger.cpp24
-rw-r--r--languages/lib/debugger/kdevdebugger.h24
-rw-r--r--languages/lib/designer_integration/implementationwidget.cpp28
-rw-r--r--languages/lib/designer_integration/implementationwidget.h14
-rw-r--r--languages/lib/designer_integration/qtdesignerintegration.cpp48
-rw-r--r--languages/lib/designer_integration/qtdesignerintegration.h22
-rw-r--r--languages/lib/interfaces/kdevpcsimporter.cpp6
-rw-r--r--languages/lib/interfaces/kdevpcsimporter.h14
10 files changed, 108 insertions, 108 deletions
diff --git a/languages/lib/debugger/debugger.cpp b/languages/lib/debugger/debugger.cpp
index 92765efe..5d33ee8c 100644
--- a/languages/lib/debugger/debugger.cpp
+++ b/languages/lib/debugger/debugger.cpp
@@ -16,8 +16,8 @@ Debugger *Debugger::s_instance = 0;
Debugger::Debugger(KDevPartController *partController)
:m_partController(partController)
{
- connect( m_partController, SIGNAL(partAdded(KParts::Part*)),
- this, SLOT(partAdded(KParts::Part*)) );
+ connect( m_partController, TQT_SIGNAL(partAdded(KParts::Part*)),
+ this, TQT_SLOT(partAdded(KParts::Part*)) );
}
@@ -34,7 +34,7 @@ Debugger::~Debugger()
// }
-void Debugger::setBreakpoint(const QString &fileName, int lineNum, int id, bool enabled, bool pending)
+void Debugger::setBreakpoint(const TQString &fileName, int lineNum, int id, bool enabled, bool pending)
{
KParts::Part *part = m_partController->partForURL(KURL(fileName));
if( !part )
@@ -46,11 +46,11 @@ void Debugger::setBreakpoint(const QString &fileName, int lineNum, int id, bool
// Temporarily disconnect so we don't get confused by receiving extra
// marksChanged signals
- disconnect( part, SIGNAL(marksChanged()), this, SLOT(marksChanged()) );
+ disconnect( part, TQT_SIGNAL(marksChanged()), this, TQT_SLOT(marksChanged()) );
iface->removeMark( lineNum, Breakpoint | ActiveBreakpoint | ReachedBreakpoint | DisabledBreakpoint );
BPItem bpItem(fileName, lineNum);
- QValueList<BPItem>::Iterator it = BPList.find(bpItem);
+ TQValueList<BPItem>::Iterator it = BPList.find(bpItem);
if (it != BPList.end())
{
// kdDebug(9012) << "Removing BP=" << fileName << ":" << lineNum << endl;
@@ -71,21 +71,21 @@ void Debugger::setBreakpoint(const QString &fileName, int lineNum, int id, bool
BPList.append(BPItem(fileName, lineNum));
}
- connect( part, SIGNAL(marksChanged()), this, SLOT(marksChanged()) );
+ connect( part, TQT_SIGNAL(marksChanged()), this, TQT_SLOT(marksChanged()) );
}
void Debugger::clearExecutionPoint()
{
- QPtrListIterator<KParts::Part> it(*m_partController->parts());
+ TQPtrListIterator<KParts::Part> it(*m_partController->parts());
for ( ; it.current(); ++it)
{
MarkInterface *iface = dynamic_cast<MarkInterface*>(it.current());
if (!iface)
continue;
- QPtrList<Mark> list = iface->marks();
- QPtrListIterator<Mark> markIt(list);
+ TQPtrList<Mark> list = iface->marks();
+ TQPtrListIterator<Mark> markIt(list);
for( ; markIt.current(); ++markIt )
{
Mark* mark = markIt.current();
@@ -125,8 +125,8 @@ void Debugger::marksChanged()
return; // Probably means the document is being closed.
KTextEditor::Mark *m;
- QValueList<BPItem> oldBPList = BPList;
- QPtrList<KTextEditor::Mark> newMarks = iface->marks();
+ TQValueList<BPItem> oldBPList = BPList;
+ TQPtrList<KTextEditor::Mark> newMarks = iface->marks();
// Compare the oldBPlist to the new list from the editor.
//
@@ -203,7 +203,7 @@ void Debugger::partAdded( KParts::Part* part )
iface->setPixmap((MarkInterface::MarkTypes)ExecutionPoint, *executionPointPixmap());
iface->setMarksUserChangable( Bookmark | Breakpoint );
- connect( part, SIGNAL(marksChanged()), this, SLOT(marksChanged()) );
+ connect( part, TQT_SIGNAL(marksChanged()), this, TQT_SLOT(marksChanged()) );
}
#include "debugger.moc"
diff --git a/languages/lib/debugger/debugger.h b/languages/lib/debugger/debugger.h
index ed545f28..f1a48452 100644
--- a/languages/lib/debugger/debugger.h
+++ b/languages/lib/debugger/debugger.h
@@ -1,7 +1,7 @@
#ifndef __DEBUGGER_H__
#define __DEBUGGER_H__
-#include <qvaluelist.h>
+#include <tqvaluelist.h>
#include "kdevdebugger.h"
@@ -29,13 +29,13 @@ public:
BPItem() : m_fileName(""), m_lineNum(0)
{}
- BPItem( const QString& fileName, const uint lineNum)
+ BPItem( const TQString& fileName, const uint lineNum)
: m_fileName(fileName),
m_lineNum(lineNum)
{}
uint lineNum() const { return m_lineNum; }
- QString fileName() const { return m_fileName; }
+ TQString fileName() const { return m_fileName; }
bool operator==( const BPItem& rhs ) const
{
@@ -44,7 +44,7 @@ public:
}
private:
- QString m_fileName;
+ TQString m_fileName;
uint m_lineNum;
};
@@ -75,7 +75,7 @@ public:
* @param enabled The breakpoint could be enabled, disabled
* @param pending pending or active. Each state has a different icon.
*/
- void setBreakpoint(const QString &fileName, int lineNum,
+ void setBreakpoint(const TQString &fileName, int lineNum,
int id, bool enabled, bool pending);
/**
@@ -126,7 +126,7 @@ private:
static Debugger *s_instance;
KDevPartController *m_partController;
- QValueList<BPItem> BPList;
+ TQValueList<BPItem> BPList;
};
#endif
diff --git a/languages/lib/debugger/kdevdebugger.cpp b/languages/lib/debugger/kdevdebugger.cpp
index d5c4e3b5..b9ee4a05 100644
--- a/languages/lib/debugger/kdevdebugger.cpp
+++ b/languages/lib/debugger/kdevdebugger.cpp
@@ -19,8 +19,8 @@
*/
#include "kdevdebugger.h"
-KDevDebugger::KDevDebugger(QObject *parent, const char *name)
- : QObject(parent, name)
+KDevDebugger::KDevDebugger(TQObject *parent, const char *name)
+ : TQObject(parent, name)
{
}
@@ -29,7 +29,7 @@ KDevDebugger::~KDevDebugger()
{
}
-const QPixmap* KDevDebugger::inactiveBreakpointPixmap()
+const TQPixmap* KDevDebugger::inactiveBreakpointPixmap()
{
const char*breakpoint_gr_xpm[]={
"11 16 6 1",
@@ -55,11 +55,11 @@ const QPixmap* KDevDebugger::inactiveBreakpointPixmap()
"...........",
"...........",
"..........."};
- static QPixmap pixmap( breakpoint_gr_xpm );
+ static TQPixmap pixmap( breakpoint_gr_xpm );
return &pixmap;
}
-const QPixmap* KDevDebugger::activeBreakpointPixmap()
+const TQPixmap* KDevDebugger::activeBreakpointPixmap()
{
const char* breakpoint_xpm[]={
"11 16 6 1",
@@ -85,11 +85,11 @@ const QPixmap* KDevDebugger::activeBreakpointPixmap()
"...........",
"...........",
"..........."};
- static QPixmap pixmap( breakpoint_xpm );
+ static TQPixmap pixmap( breakpoint_xpm );
return &pixmap;
}
-const QPixmap* KDevDebugger::reachedBreakpointPixmap()
+const TQPixmap* KDevDebugger::reachedBreakpointPixmap()
{
const char*breakpoint_bl_xpm[]={
"11 16 7 1",
@@ -116,11 +116,11 @@ const QPixmap* KDevDebugger::reachedBreakpointPixmap()
"...........",
"...........",
"..........."};
- static QPixmap pixmap( breakpoint_bl_xpm );
+ static TQPixmap pixmap( breakpoint_bl_xpm );
return &pixmap;
}
-const QPixmap* KDevDebugger::disabledBreakpointPixmap()
+const TQPixmap* KDevDebugger::disabledBreakpointPixmap()
{
const char*breakpoint_wh_xpm[]={
"11 16 7 1",
@@ -147,11 +147,11 @@ const QPixmap* KDevDebugger::disabledBreakpointPixmap()
"...........",
"...........",
"..........."};
- static QPixmap pixmap( breakpoint_wh_xpm );
+ static TQPixmap pixmap( breakpoint_wh_xpm );
return &pixmap;
}
-const QPixmap* KDevDebugger::executionPointPixmap()
+const TQPixmap* KDevDebugger::executionPointPixmap()
{
const char*exec_xpm[]={
"11 16 4 1",
@@ -175,7 +175,7 @@ const QPixmap* KDevDebugger::executionPointPixmap()
"...........",
"...........",
"..........."};
- static QPixmap pixmap( exec_xpm );
+ static TQPixmap pixmap( exec_xpm );
return &pixmap;
}
diff --git a/languages/lib/debugger/kdevdebugger.h b/languages/lib/debugger/kdevdebugger.h
index d0b87721..288854e5 100644
--- a/languages/lib/debugger/kdevdebugger.h
+++ b/languages/lib/debugger/kdevdebugger.h
@@ -21,8 +21,8 @@
#define _KDEVDEBUGGER_H_
-#include <qobject.h>
-#include <qpixmap.h>
+#include <tqobject.h>
+#include <tqpixmap.h>
#include <kurl.h>
@@ -37,14 +37,14 @@ class KDevDebugger : public QObject
public:
- KDevDebugger(QObject *parent=0, const char *name=0);
+ KDevDebugger(TQObject *parent=0, const char *name=0);
~KDevDebugger();
/**
* Sets a breakpoint in the editor document belong to fileName.
* If id==-1, the breakpoint is deleted.
*/
- virtual void setBreakpoint(const QString &fileName, int lineNum,
+ virtual void setBreakpoint(const TQString &fileName, int lineNum,
int id, bool enabled, bool pending) = 0;
/**
@@ -59,28 +59,28 @@ public:
*/
virtual void clearExecutionPoint() = 0;
- static const QPixmap* inactiveBreakpointPixmap();
- static const QPixmap* activeBreakpointPixmap();
- static const QPixmap* reachedBreakpointPixmap();
- static const QPixmap* disabledBreakpointPixmap();
- static const QPixmap* executionPointPixmap();
+ static const TQPixmap* inactiveBreakpointPixmap();
+ static const TQPixmap* activeBreakpointPixmap();
+ static const TQPixmap* reachedBreakpointPixmap();
+ static const TQPixmap* disabledBreakpointPixmap();
+ static const TQPixmap* executionPointPixmap();
signals:
/**
* The user has toggled a breakpoint.
*/
- void toggledBreakpoint(const QString &fileName, int lineNum);
+ void toggledBreakpoint(const TQString &fileName, int lineNum);
/*
* The user wants to edit the properties of a breakpoint.
*/
- void editedBreakpoint(const QString &fileName, int lineNum);
+ void editedBreakpoint(const TQString &fileName, int lineNum);
/**
* The user wants to enable/disable a breakpoint.
*/
- void toggledBreakpointEnabled(const QString &fileName, int lineNum);
+ void toggledBreakpointEnabled(const TQString &fileName, int lineNum);
};
diff --git a/languages/lib/designer_integration/implementationwidget.cpp b/languages/lib/designer_integration/implementationwidget.cpp
index 5e958bfa..c961657b 100644
--- a/languages/lib/designer_integration/implementationwidget.cpp
+++ b/languages/lib/designer_integration/implementationwidget.cpp
@@ -19,13 +19,13 @@
***************************************************************************/
#include "implementationwidget.h"
-#include <qfileinfo.h>
-#include <qtextstream.h>
-#include <qfile.h>
-#include <qdir.h>
-#include <qregexp.h>
-#include <qdom.h>
-#include <qradiobutton.h>
+#include <tqfileinfo.h>
+#include <tqtextstream.h>
+#include <tqfile.h>
+#include <tqdir.h>
+#include <tqregexp.h>
+#include <tqdom.h>
+#include <tqradiobutton.h>
#include <klineedit.h>
#include <klocale.h>
@@ -61,12 +61,12 @@ private:
};
}
-ImplementationWidget::ImplementationWidget(KDevLanguageSupport *part, QWidget* parent, const char* name, bool modal)
+ImplementationWidget::ImplementationWidget(KDevLanguageSupport *part, TQWidget* parent, const char* name, bool modal)
:CreateImplemenationWidgetBase(parent, name, modal), m_part(part)
{
}
-void ImplementationWidget::init(const QString &formName)
+void ImplementationWidget::init(const TQString &formName)
{
m_formName = formName;
@@ -74,7 +74,7 @@ void ImplementationWidget::init(const QString &formName)
fileNameEdit->clear();
classNameEdit->clear();
- QDomDocument doc;
+ TQDomDocument doc;
DomUtil::openDOMFile(doc, m_formName);
m_baseClassName = DomUtil::elementByPathExt(doc, "class").text();
setCaption(i18n("Create or Select Implementation Class for: %1").arg(m_baseClassName));
@@ -106,7 +106,7 @@ ImplementationWidget::~ImplementationWidget()
}
/*$SPECIALIZATION$*/
-void ImplementationWidget::classNameChanged(const QString &text)
+void ImplementationWidget::classNameChanged(const TQString &text)
{
fileNameEdit->setText(text.lower());
}
@@ -134,7 +134,7 @@ void ImplementationWidget::accept()
return;
m_selectedClass = item->dom();
}
- QDialog::accept();
+ TQDialog::accept();
}
ClassDom ImplementationWidget::selectedClass()
@@ -148,10 +148,10 @@ bool ImplementationWidget::createClass()
return true;
}
-int ImplementationWidget::exec(const QString &formName)
+int ImplementationWidget::exec(const TQString &formName)
{
init(formName);
- return QDialog::exec();
+ return TQDialog::exec();
}
#include "implementationwidget.moc"
diff --git a/languages/lib/designer_integration/implementationwidget.h b/languages/lib/designer_integration/implementationwidget.h
index 0b7d784f..b639b0e8 100644
--- a/languages/lib/designer_integration/implementationwidget.h
+++ b/languages/lib/designer_integration/implementationwidget.h
@@ -41,7 +41,7 @@ class ImplementationWidget : public CreateImplemenationWidgetBase
{
Q_OBJECT
public:
- ImplementationWidget(KDevLanguageSupport *part, QWidget* parent = 0, const char* name = 0, bool modal = false);
+ ImplementationWidget(KDevLanguageSupport *part, TQWidget* parent = 0, const char* name = 0, bool modal = false);
virtual ~ImplementationWidget();
/*$PUBLIC_FUNCTIONS$*/
@@ -49,7 +49,7 @@ public:
ClassDom selectedClass();
/**Executes implementation widget for a form @p formName.*/
- int exec(const QString &formName);
+ int exec(const TQString &formName);
public slots:
/*$PUBLIC_SLOTS$*/
@@ -58,7 +58,7 @@ protected:
/*$PROTECTED_FUNCTIONS$*/
/**Sets up the dialog. No need to reimplement unless you want to restrict
the number of classes being displayed as possible implementation classes.*/
- void init(const QString &formName);
+ void init(const TQString &formName);
void processNamespaces(NamespaceDom dom, KListViewItem *parent);
void processClasses(ClassDom dom, KListViewItem *parent);
@@ -68,18 +68,18 @@ protected:
/**Reimplement to create actual files with the form implementation.
@return The list of absolute paths to a files created.*/
- virtual QStringList createClassFiles() = 0;
+ virtual TQStringList createClassFiles() = 0;
protected slots:
/*$PROTECTED_SLOTS$*/
- virtual void classNameChanged(const QString &text);
+ virtual void classNameChanged(const TQString &text);
virtual void accept();
protected:
KDevLanguageSupport *m_part;
ClassDom m_selectedClass;
- QString m_formName;
- QString m_baseClassName;
+ TQString m_formName;
+ TQString m_baseClassName;
};
#endif
diff --git a/languages/lib/designer_integration/qtdesignerintegration.cpp b/languages/lib/designer_integration/qtdesignerintegration.cpp
index c3215c1e..f66b1b61 100644
--- a/languages/lib/designer_integration/qtdesignerintegration.cpp
+++ b/languages/lib/designer_integration/qtdesignerintegration.cpp
@@ -19,9 +19,9 @@
***************************************************************************/
#include "qtdesignerintegration.h"
-#include <qpair.h>
-#include <qregexp.h>
-#include <qfileinfo.h>
+#include <tqpair.h>
+#include <tqregexp.h>
+#include <tqfileinfo.h>
#include <klocale.h>
#include <kdebug.h>
@@ -49,7 +49,7 @@ QtDesignerIntegration::~QtDesignerIntegration()
delete m_impl;
}
-void QtDesignerIntegration::addFunction(const QString& formName, KInterfaceDesigner::Function function)
+void QtDesignerIntegration::addFunction(const TQString& formName, KInterfaceDesigner::Function function)
{
kdDebug() << "QtDesignerIntegration::addFunction: form: " << formName << ", function: " << function.function << endl;
@@ -67,21 +67,21 @@ void QtDesignerIntegration::addFunction(const QString& formName, KInterfaceDesig
addFunctionToClass(function, klass);
}
-void QtDesignerIntegration::editFunction(const QString& formName, KInterfaceDesigner::Function oldFunction, KInterfaceDesigner::Function function)
+void QtDesignerIntegration::editFunction(const TQString& formName, KInterfaceDesigner::Function oldFunction, KInterfaceDesigner::Function function)
{
kdDebug() << "QtDesignerIntegration::editFunction: form: " << formName
<< ", old function: " << oldFunction.function
<< ", function: " << function.function << endl;
}
-void QtDesignerIntegration::removeFunction(const QString& formName, KInterfaceDesigner::Function function)
+void QtDesignerIntegration::removeFunction(const TQString& formName, KInterfaceDesigner::Function function)
{
kdDebug() << "QtDesignerIntegration::removeFunction: form: " << formName << ", function: " << function.function << endl;
}
-bool QtDesignerIntegration::selectImplementation(const QString &formName)
+bool QtDesignerIntegration::selectImplementation(const TQString &formName)
{
- QFileInfo fi(formName);
+ TQFileInfo fi(formName);
if (!fi.exists())
return false;
@@ -93,38 +93,38 @@ bool QtDesignerIntegration::selectImplementation(const QString &formName)
return false;
}
-void QtDesignerIntegration::loadSettings(QDomDocument dom, QString path)
+void QtDesignerIntegration::loadSettings(TQDomDocument dom, TQString path)
{
- QDomElement el = DomUtil::elementByPath(dom, path + "/qtdesigner");
+ TQDomElement el = DomUtil::elementByPath(dom, path + "/qtdesigner");
if (el.isNull())
return;
- QDomNodeList impls = el.elementsByTagName("implementation");
+ TQDomNodeList impls = el.elementsByTagName("implementation");
for (uint i = 0; i < impls.count(); ++i)
{
- QDomElement el = impls.item(i).toElement();
+ TQDomElement el = impls.item(i).toElement();
if (el.isNull())
continue;
- QString implementationPath = Relative::File(m_part->project()->projectDirectory(),
+ TQString implementationPath = Relative::File(m_part->project()->projectDirectory(),
el.attribute("implementationpath"), true).urlPath();
FileDom file = m_part->codeModel()->fileByName(implementationPath);
if (!file)
continue;
ClassList cllist = file->classByName(el.attribute("class"));
- QString uiPath = Relative::File(m_part->project()->projectDirectory(),
+ TQString uiPath = Relative::File(m_part->project()->projectDirectory(),
el.attribute("path"), true).urlPath();
if (cllist.count() > 0)
m_implementations[uiPath] = cllist.first();
}
}
-void QtDesignerIntegration::saveSettings(QDomDocument dom, QString path)
+void QtDesignerIntegration::saveSettings(TQDomDocument dom, TQString path)
{
kdDebug() << "QtDesignerIntegration::saveSettings" << endl;
- QDomElement el = DomUtil::createElementByPath(dom, path + "/qtdesigner");
- for (QMap<QString, ClassDom>::const_iterator it = m_implementations.begin();
+ TQDomElement el = DomUtil::createElementByPath(dom, path + "/qtdesigner");
+ for (TQMap<TQString, ClassDom>::const_iterator it = m_implementations.begin();
it != m_implementations.end(); ++it)
{
- QDomElement il = dom.createElement("implementation");
+ TQDomElement il = dom.createElement("implementation");
el.appendChild(il);
il.setAttribute("path",
Relative::File(m_part->project()->projectDirectory(), it.key()).rurl());
@@ -134,11 +134,11 @@ void QtDesignerIntegration::saveSettings(QDomDocument dom, QString path)
}
}
-void QtDesignerIntegration::openFunction(const QString &formName, const QString &functionName)
+void QtDesignerIntegration::openFunction(const TQString &formName, const TQString &functionName)
{
kdDebug() << "QtDesignerIntegration::openFunction, formName = " << formName
<< ", functionName = " << functionName << endl;
- QString fn = functionName;
+ TQString fn = functionName;
if (fn.find("(") > 0)
fn.remove(fn.find("("), fn.length());
@@ -147,7 +147,7 @@ void QtDesignerIntegration::openFunction(const QString &formName, const QString
int line = -1, col = -1;
- QString impl = m_implementations[formName]->fileName();
+ TQString impl = m_implementations[formName]->fileName();
processImplementationName(impl);
if (m_part->codeModel()->hasFile(impl))
@@ -177,17 +177,17 @@ void QtDesignerIntegration::openFunction(const QString &formName, const QString
m_part->partController()->editDocument(KURL(impl), line, col);
}
-void QtDesignerIntegration::processImplementationName(QString &// name
+void QtDesignerIntegration::processImplementationName(TQString &// name
)
{
}
-void QtDesignerIntegration::openSource(const QString &formName)
+void QtDesignerIntegration::openSource(const TQString &formName)
{
if (!m_implementations.contains(formName))
if (!selectImplementation(formName))
return;
- QString impl = m_implementations[formName]->fileName();
+ TQString impl = m_implementations[formName]->fileName();
processImplementationName(impl);
m_part->partController()->editDocument(KURL(impl), -1, -1);
}
diff --git a/languages/lib/designer_integration/qtdesignerintegration.h b/languages/lib/designer_integration/qtdesignerintegration.h
index 3f2602f8..a31310eb 100644
--- a/languages/lib/designer_integration/qtdesignerintegration.h
+++ b/languages/lib/designer_integration/qtdesignerintegration.h
@@ -20,7 +20,7 @@
#ifndef QTDESIGNERINTEGRATION_H
#define QTDESIGNERINTEGRATION_H
-#include <qmap.h>
+#include <tqmap.h>
#include <codemodel.h>
#include "kdevdesignerintegration.h"
@@ -44,18 +44,18 @@ public:
virtual ~QtDesignerIntegration();
public slots:
- virtual void addFunction(const QString& formName, KInterfaceDesigner::Function function);
- virtual void editFunction(const QString& formName, KInterfaceDesigner::Function oldFunction, KInterfaceDesigner::Function function);
- virtual void removeFunction(const QString& formName, KInterfaceDesigner::Function function);
+ virtual void addFunction(const TQString& formName, KInterfaceDesigner::Function function);
+ virtual void editFunction(const TQString& formName, KInterfaceDesigner::Function oldFunction, KInterfaceDesigner::Function function);
+ virtual void removeFunction(const TQString& formName, KInterfaceDesigner::Function function);
- virtual void openFunction(const QString &formName, const QString &functionName);
+ virtual void openFunction(const TQString &formName, const TQString &functionName);
- virtual void openSource(const QString &formName);
+ virtual void openSource(const TQString &formName);
- virtual void saveSettings(QDomDocument dom, QString path);
- virtual void loadSettings(QDomDocument dom, QString path);
+ virtual void saveSettings(TQDomDocument dom, TQString path);
+ virtual void loadSettings(TQDomDocument dom, TQString path);
- bool selectImplementation(const QString &formName);
+ bool selectImplementation(const TQString &formName);
protected:
/**Reimplement this to add a function to a class. This means you need to modify
@@ -67,10 +67,10 @@ protected:
@code
name.replace(".h", ".cpp");
@endcode*/
- virtual void processImplementationName(QString &name);
+ virtual void processImplementationName(TQString &name);
//Form file - derived class name
- QMap<QString, ClassDom> m_implementations;
+ TQMap<TQString, ClassDom> m_implementations;
KDevLanguageSupport *m_part;
ImplementationWidget *m_impl;
diff --git a/languages/lib/interfaces/kdevpcsimporter.cpp b/languages/lib/interfaces/kdevpcsimporter.cpp
index 7dfe6a10..fb204328 100644
--- a/languages/lib/interfaces/kdevpcsimporter.cpp
+++ b/languages/lib/interfaces/kdevpcsimporter.cpp
@@ -20,8 +20,8 @@
#include "kdevpcsimporter.h"
#include "kdevpcsimporter.moc"
-KDevPCSImporter::KDevPCSImporter( QObject * parent, const char * name )
- : QObject( parent, name )
+KDevPCSImporter::KDevPCSImporter( TQObject * parent, const char * name )
+ : TQObject( parent, name )
{
}
@@ -29,7 +29,7 @@ KDevPCSImporter::~ KDevPCSImporter( )
{
}
-QWidget * KDevPCSImporter::createSettingsPage( QWidget * /*parent*/, const char * /*name*/ )
+TQWidget * KDevPCSImporter::createSettingsPage( TQWidget * /*parent*/, const char * /*name*/ )
{
return 0;
}
diff --git a/languages/lib/interfaces/kdevpcsimporter.h b/languages/lib/interfaces/kdevpcsimporter.h
index b5ff74de..dee168e9 100644
--- a/languages/lib/interfaces/kdevpcsimporter.h
+++ b/languages/lib/interfaces/kdevpcsimporter.h
@@ -20,8 +20,8 @@
#ifndef KDEVPCSIMPORTER_H
#define KDEVPCSIMPORTER_H
-#include <qobject.h>
-#include <qstringlist.h>
+#include <tqobject.h>
+#include <tqstringlist.h>
class QWidget;
@@ -36,14 +36,14 @@ class KDevPCSImporter: public QObject
{
Q_OBJECT
public:
- KDevPCSImporter( QObject* parent=0, const char* name=0 );
+ KDevPCSImporter( TQObject* parent=0, const char* name=0 );
virtual ~KDevPCSImporter();
- virtual QString dbName() const = 0;
- virtual QStringList includePaths() = 0;
- virtual QStringList fileList() = 0;
+ virtual TQString dbName() const = 0;
+ virtual TQStringList includePaths() = 0;
+ virtual TQStringList fileList() = 0;
- virtual QWidget* createSettingsPage( QWidget* parent, const char* name=0 );
+ virtual TQWidget* createSettingsPage( TQWidget* parent, const char* name=0 );
};
#endif // KDEVPCSIMPORTER_H