summaryrefslogtreecommitdiffstats
path: root/kexi/core/kexidbshortcutfile.h
diff options
context:
space:
mode:
Diffstat (limited to 'kexi/core/kexidbshortcutfile.h')
-rw-r--r--kexi/core/kexidbshortcutfile.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/kexi/core/kexidbshortcutfile.h b/kexi/core/kexidbshortcutfile.h
index 3dfa9c13d..382f470fe 100644
--- a/kexi/core/kexidbshortcutfile.h
+++ b/kexi/core/kexidbshortcutfile.h
@@ -20,7 +20,7 @@
#ifndef KEXIDBSHORTCUTFILE_H
#define KEXIDBSHORTCUTFILE_H
-#include <qstring.h>
+#include <tqstring.h>
class KexiProjectData;
namespace KexiDB { class ConnectionData; }
@@ -34,7 +34,7 @@ class KEXICORE_EXPORT KexiDBShortcutFile
{
public:
/*! Creates a new object for \a fileName. */
- KexiDBShortcutFile( const QString& fileName );
+ KexiDBShortcutFile( const TQString& fileName );
~KexiDBShortcutFile();
@@ -43,7 +43,7 @@ class KEXICORE_EXPORT KexiDBShortcutFile
\a groupKey, if provided will be set to a group key,
so you can later use it in saveConnectionData().
\return true on success. */
- bool loadProjectData(KexiProjectData& data, QString* groupKey = 0);
+ bool loadProjectData(KexiProjectData& data, TQString* groupKey = 0);
/*! Saves project data \a data (with connection data) to a shortcut file.
If \a storePassword is true, password will be saved in the file,
@@ -54,10 +54,10 @@ class KEXICORE_EXPORT KexiDBShortcutFile
containing single connection data, what's used for storing connections repository.
\return true on success. */
bool saveProjectData(const KexiProjectData& data, bool savePassword,
- QString* groupKey = 0, bool overwriteFirstGroup = true);
+ TQString* groupKey = 0, bool overwriteFirstGroup = true);
//! \return filename provided on this object's construction. */
- QString fileName() const;
+ TQString fileName() const;
protected:
class Private;
@@ -73,7 +73,7 @@ class KEXICORE_EXPORT KexiDBConnShortcutFile : protected KexiDBShortcutFile
{
public:
/*! Creates a new object for \a fileName. */
- KexiDBConnShortcutFile( const QString& fileName );
+ KexiDBConnShortcutFile( const TQString& fileName );
~KexiDBConnShortcutFile();
@@ -81,7 +81,7 @@ class KEXICORE_EXPORT KexiDBConnShortcutFile : protected KexiDBShortcutFile
\a groupKey, if provided will be set to a group key,
so you can later use it in saveConnectionData().
\return true on success. */
- bool loadConnectionData(KexiDB::ConnectionData& data, QString* groupKey = 0);
+ bool loadConnectionData(KexiDB::ConnectionData& data, TQString* groupKey = 0);
/*! Saves connection data \a data to a shortcut file.
If \a storePassword is true, password will be saved in the file,
@@ -92,10 +92,10 @@ class KEXICORE_EXPORT KexiDBConnShortcutFile : protected KexiDBShortcutFile
containing single connection data, what's used for storing connections repository.
\return true on success. */
bool saveConnectionData(const KexiDB::ConnectionData& data,
- bool savePassword, QString* groupKey = 0, bool overwriteFirstGroup = true);
+ bool savePassword, TQString* groupKey = 0, bool overwriteFirstGroup = true);
//! \return filename provided on this object's construction. */
- QString fileName() const { return KexiDBShortcutFile::fileName(); }
+ TQString fileName() const { return KexiDBShortcutFile::fileName(); }
protected:
};