summaryrefslogtreecommitdiffstats
path: root/src/application.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/application.cpp')
-rw-r--r--src/application.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/application.cpp b/src/application.cpp
index f15cdf4..56606e3 100644
--- a/src/application.cpp
+++ b/src/application.cpp
@@ -19,10 +19,10 @@
***************************************************************************/
#include <kcmdlineargs.h>
-#include <qstring.h>
-#include <qfile.h>
-#include <qfileinfo.h>
-#include <qtimer.h>
+#include <tqstring.h>
+#include <tqfile.h>
+#include <tqfileinfo.h>
+#include <tqtimer.h>
#include "application.h"
#include "global.h"
@@ -44,14 +44,14 @@ int Application::newInstance()
// Open the basket archive or template file supplied as argument:
KCmdLineArgs *args = KCmdLineArgs::parsedArgs();
if (args && args->count() >= 1) {
- QString fileName = QFile::decodeName(args->arg(args->count() - 1));
- if (QFile::exists(fileName)) {
- QFileInfo fileInfo(fileName);
+ TQString fileName = TQFile::decodeName(args->arg(args->count() - 1));
+ if (TQFile::exists(fileName)) {
+ TQFileInfo fileInfo(fileName);
if (!fileInfo.isDir()) { // Do not mis-interpret data-folder param!
// Tags are not loaded until Global::bnpView::lateInit() is called.
// It is called 0ms after the application start.
BNPView::s_fileToOpen = fileName;
- QTimer::singleShot( 100, Global::bnpView, SLOT(delayedOpenArchive()) );
+ TQTimer::singleShot( 100, Global::bnpView, TQT_SLOT(delayedOpenArchive()) );
// Global::bnpView->openArchive(fileName);
args->clear();
}