summaryrefslogtreecommitdiffstats
path: root/lib/interfaces/KDevPartControllerIface.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:56:07 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:56:07 +0000
commitd6f8bbb45b267065a6907e71ff9c98bb6d161241 (patch)
treed109539636691d7b03036ca1c0ed29dbae6577cf /lib/interfaces/KDevPartControllerIface.cpp
parent3331a47a9cad24795c7440ee8107143ce444ef34 (diff)
downloadtdevelop-d6f8bbb45b267065a6907e71ff9c98bb6d161241.tar.gz
tdevelop-d6f8bbb45b267065a6907e71ff9c98bb6d161241.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdevelop@1157658 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'lib/interfaces/KDevPartControllerIface.cpp')
-rw-r--r--lib/interfaces/KDevPartControllerIface.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/lib/interfaces/KDevPartControllerIface.cpp b/lib/interfaces/KDevPartControllerIface.cpp
index a352d1df..1b184453 100644
--- a/lib/interfaces/KDevPartControllerIface.cpp
+++ b/lib/interfaces/KDevPartControllerIface.cpp
@@ -26,11 +26,11 @@
KDevPartControllerIface::KDevPartControllerIface(KDevPartController *pc)
- : QObject(pc), DCOPObject("KDevPartController"), m_controller(pc)
+ : TQObject(pc), DCOPObject("KDevPartController"), m_controller(pc)
{
- connect(pc, SIGNAL(loadedFile(const KURL &)), this, SLOT(forwardLoadedFile(const KURL &)));
- connect(pc, SIGNAL(savedFile(const KURL &)), this, SLOT(forwardSavedFile(const KURL &)));
- connect(pc, SIGNAL(closedFile(const KURL &)), this, SLOT(forwardClosedFile(const KURL &)));
+ connect(pc, TQT_SIGNAL(loadedFile(const KURL &)), this, TQT_SLOT(forwardLoadedFile(const KURL &)));
+ connect(pc, TQT_SIGNAL(savedFile(const KURL &)), this, TQT_SLOT(forwardSavedFile(const KURL &)));
+ connect(pc, TQT_SIGNAL(closedFile(const KURL &)), this, TQT_SLOT(forwardClosedFile(const KURL &)));
}
@@ -39,13 +39,13 @@ KDevPartControllerIface::~KDevPartControllerIface()
}
-void KDevPartControllerIface::editDocument(const QString &url, int lineNum)
+void KDevPartControllerIface::editDocument(const TQString &url, int lineNum)
{
m_controller->editDocument(KURL(url), lineNum);
}
-void KDevPartControllerIface::showDocument(const QString &url, bool newWin)
+void KDevPartControllerIface::showDocument(const TQString &url, bool newWin)
{
m_controller->showDocument(KURL(url), newWin);
}
@@ -66,20 +66,20 @@ void KDevPartControllerIface::revertAllFiles()
void KDevPartControllerIface::forwardLoadedFile(const KURL &fileName)
{
kdDebug(9000) << "dcop emitting loadedFile " << fileName << endl;
- emitDCOPSignal("projectOpened()", QByteArray());
+ emitDCOPSignal("projectOpened()", TQByteArray());
}
void KDevPartControllerIface::forwardSavedFile(const KURL &fileName)
{
kdDebug(9000) << "dcop emitting savedFile " << fileName << endl;
- emitDCOPSignal("projectClosed()", QByteArray());
+ emitDCOPSignal("projectClosed()", TQByteArray());
}
void KDevPartControllerIface::forwardClosedFile(const KURL &fileName)
{
kdDebug(9000) << "dcop emitting closedFile " << fileName << endl;
- emitDCOPSignal("projectClosed()", QByteArray());
+ emitDCOPSignal("projectClosed()", TQByteArray());
}
bool KDevPartControllerIface::closeAllFiles( )