diff options
Diffstat (limited to 'kexi/core/kexidbconnectionset.h')
-rw-r--r-- | kexi/core/kexidbconnectionset.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/kexi/core/kexidbconnectionset.h b/kexi/core/kexidbconnectionset.h index 78d4649a..fc831cdc 100644 --- a/kexi/core/kexidbconnectionset.h +++ b/kexi/core/kexidbconnectionset.h @@ -20,13 +20,13 @@ #ifndef KEXIDBCONNSET_H #define KEXIDBCONNSET_H -#include <qstring.h> +#include <tqstring.h> #include <kexidb/connectiondata.h> class KexiDBConnectionSetPrivate; /*! Stores information about multiple connection-data items. */ -class KEXICORE_EXPORT KexiDBConnectionSet : public QObject +class KEXICORE_EXPORT KexiDBConnectionSet : public TQObject { public: KexiDBConnectionSet(); @@ -43,7 +43,7 @@ public: saveConnectionData() is called automatically, if there's no \a filename provided or the filename is already used, a new unique will be generated. \return true on successful creating corresponding .kexic file */ - bool addConnectionData(KexiDB::ConnectionData *data, const QString& filename = QString::null); + bool addConnectionData(KexiDB::ConnectionData *data, const TQString& filename = TQString()); /*! Saves changes made to \a oldData to a file which name has been provided by addConnectionData(). This function does nothing if \a oldData hasn't been added to this set. @@ -58,16 +58,16 @@ public: const KexiDB::ConnectionData::List& list() const; /*! \return a filename of a connection data file for \a data. */ - QString fileNameForConnectionData(KexiDB::ConnectionData *data) const; + TQString fileNameForConnectionData(KexiDB::ConnectionData *data) const; /*! \return a connection data for a .kexic shortcut filename. 0 is returned if the filename does not match. */ - KexiDB::ConnectionData* connectionDataForFileName(const QString& fileName) const; + KexiDB::ConnectionData* connectionDataForFileName(const TQString& fileName) const; private: /*! Removes all connection data items from this set. */ void clear(); - void addConnectionDataInternal(KexiDB::ConnectionData *data, const QString& filename); + void addConnectionDataInternal(KexiDB::ConnectionData *data, const TQString& filename); void removeConnectionDataInternal(KexiDB::ConnectionData *data); KexiDBConnectionSetPrivate *d; |