summaryrefslogtreecommitdiffstats
path: root/kexi/main/kexinewstuff.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kexi/main/kexinewstuff.cpp')
-rw-r--r--kexi/main/kexinewstuff.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/kexi/main/kexinewstuff.cpp b/kexi/main/kexinewstuff.cpp
index adc0fc833..23058e059 100644
--- a/kexi/main/kexinewstuff.cpp
+++ b/kexi/main/kexinewstuff.cpp
@@ -21,7 +21,7 @@
#include <kdebug.h>
#include <ktar.h>
-#include <qdir.h>
+#include <tqdir.h>
#include <kaction.h>
#include <kapplication.h>
#include <kfiledialog.h>
@@ -30,18 +30,18 @@
#include "kexinewstuff.h"
-KexiNewStuff::KexiNewStuff(QWidget *parent)
+KexiNewStuff::KexiNewStuff(TQWidget *tqparent)
: KNewStuff( "kexi/template"
#if KDE_IS_VERSION(3,3,0)
, "http://download.kde.org/khotnewstuff/kexi-providers.xml"
#endif
- , parent)
+ , tqparent)
{
// Prevent GHNS to deny downloading a second time. If GHNS
// fails to download something, it still marks the thing as
// successfully downloaded and therefore we arn't able to
// download it again :-/
- KGlobal::config()->deleteGroup("KNewStuffStatus");
+ KGlobal::config()->deleteGroup("KNewStufftqStatus");
}
KexiNewStuff::~KexiNewStuff()
@@ -49,21 +49,21 @@ KexiNewStuff::~KexiNewStuff()
}
bool
-KexiNewStuff::install(const QString &fileName)
+KexiNewStuff::install(const TQString &fileName)
{
kdDebug() << "KexiNewStuff::install(): " << fileName << endl;
KTar archive( fileName );
if ( !archive.open( IO_ReadOnly ) ) {
- kdDebug() << QString("KexiNewStuff::install: Failed to open archivefile \"%1\"").arg(fileName) << endl;
+ kdDebug() << TQString("KexiNewStuff::install: Failed to open archivefile \"%1\"").tqarg(fileName) << endl;
return false;
}
const KArchiveDirectory *archiveDir = archive.directory();
- const QString destDir = KFileDialog::getExistingDirectory(
- ":DownloadExampleDatabases", parentWidget(),
+ const TQString destDir = KFileDialog::getExistingDirectory(
+ ":DownloadExampleDatabases", tqparentWidget(),
i18n("Choose Directory Where to Install Example Database"));
if (destDir.isEmpty()) {
- kdDebug() << QString("KexiNewStuff::install: Destination-directory is empty.") << endl;
+ kdDebug() << TQString("KexiNewStuff::install: Destination-directory is empty.") << endl;
return false;
}
archiveDir->copyTo(destDir);
@@ -73,7 +73,7 @@ KexiNewStuff::install(const QString &fileName)
}
bool
-KexiNewStuff::createUploadFile(const QString &)
+KexiNewStuff::createUploadFile(const TQString &)
{
return true;
}