summaryrefslogtreecommitdiffstats
path: root/kbabel/catalogmanager/main.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:51:49 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:51:49 +0000
commit4ae0c208b66e0f7954e194384464fe2d0a2c56dd (patch)
treeb0a7cd1c184f0003c0292eb416ed27f674f9cc43 /kbabel/catalogmanager/main.cpp
parent1964ea0fb4ab57493ca2ebb709c8d3b5395fd653 (diff)
downloadtdesdk-4ae0c208b66e0f7954e194384464fe2d0a2c56dd.tar.gz
tdesdk-4ae0c208b66e0f7954e194384464fe2d0a2c56dd.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdesdk@1157652 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kbabel/catalogmanager/main.cpp')
-rw-r--r--kbabel/catalogmanager/main.cpp26
1 files changed, 13 insertions, 13 deletions
diff --git a/kbabel/catalogmanager/main.cpp b/kbabel/catalogmanager/main.cpp
index 868df92a..706ad67f 100644
--- a/kbabel/catalogmanager/main.cpp
+++ b/kbabel/catalogmanager/main.cpp
@@ -53,10 +53,10 @@
#include <kwin.h>
#include <kmainwindow.h>
-#include <qfile.h>
-#include <qfileinfo.h>
-#include <qregexp.h>
-#include <qtimer.h>
+#include <tqfile.h>
+#include <tqfileinfo.h>
+#include <tqregexp.h>
+#include <tqtimer.h>
CatalogManager *CatalogManagerApp::_view = 0;
@@ -84,15 +84,15 @@ void CatalogManagerApp::setPreferredWindow(WId id)
}
}
-void CatalogManagerApp::updatedFile(QCString url)
+void CatalogManagerApp::updatedFile(TQCString url)
{
if( _view )
_view->updateFile(url);
}
-QCString CatalogManagerApp::findNextFile()
+TQCString CatalogManagerApp::findNextFile()
{
- QString reply = "";
+ TQString reply = "";
if( !CatalogManager::_foundFilesList.isEmpty() )
{
reply = CatalogManager::_foundFilesList.first();
@@ -101,9 +101,9 @@ QCString CatalogManagerApp::findNextFile()
} else
{
if( !CatalogManager::_toBeSearched.isEmpty() )
- reply = QString(""); // nothing found yet
+ reply = TQString(""); // nothing found yet
else
- return QCString(); // not found definitely
+ return TQCString(); // not found definitely
}
return reply.utf8();
@@ -128,11 +128,11 @@ int CatalogManagerApp::newInstance()
{
KCmdLineArgs *args = KCmdLineArgs::parsedArgs();
- QString configfile = args->getOption("project");
+ TQString configfile = args->getOption("project");
if( !configfile.isEmpty() )
{
- QFileInfo fi( configfile );
+ TQFileInfo fi( configfile );
configfile = fi.absFilePath();
}
else
@@ -163,12 +163,12 @@ void CatalogManagerInterface::setPreferredWindow( WId id )
CatalogManagerApp::setPreferredWindow(id);
}
-QCString CatalogManagerInterface::findNextFile()
+TQCString CatalogManagerInterface::findNextFile()
{
return CatalogManagerApp::findNextFile();
}
-void CatalogManagerInterface::updatedFile( QCString url )
+void CatalogManagerInterface::updatedFile( TQCString url )
{
CatalogManagerApp::updatedFile(url);
}