diff options
Diffstat (limited to 'kexi/core/kexiprojectdata.h')
-rw-r--r-- | kexi/core/kexiprojectdata.h | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/kexi/core/kexiprojectdata.h b/kexi/core/kexiprojectdata.h index b4fc99d3..32e5ed7e 100644 --- a/kexi/core/kexiprojectdata.h +++ b/kexi/core/kexiprojectdata.h @@ -24,7 +24,7 @@ #include <kexidb/connectiondata.h> #include <kexidb/schemadata.h> -#include <qdatetime.h> +#include <tqdatetime.h> class KexiProjectDataPrivate; @@ -36,16 +36,16 @@ class KexiProjectDataPrivate; - connection data - date and time of last opening */ -class KEXICORE_EXPORT KexiProjectData : public QObject, public KexiDB::SchemaData +class KEXICORE_EXPORT KexiProjectData : public TQObject, public KexiDB::SchemaData { public: - typedef QPtrList<KexiProjectData> List; - typedef QMap<QCString,QString> ObjectInfo; + typedef TQPtrList<KexiProjectData> List; + typedef TQMap<TQCString,TQString> ObjectInfo; KexiProjectData(); KexiProjectData( const KexiDB::ConnectionData &cdata, - const QString& dbname = QString::null, const QString& caption = QString::null ); + const TQString& dbname = TQString(), const TQString& caption = TQString() ); /*! Constructs a copy of \a pdata */ KexiProjectData( const KexiProjectData& pdata ); @@ -64,8 +64,8 @@ class KEXICORE_EXPORT KexiProjectData : public QObject, public KexiDB::SchemaDat /*! \return database name. In fact, this is the same as KexiDB::SchemaData::name() */ - QString databaseName() const; - void setDatabaseName(const QString& dbName); + TQString databaseName() const; + void setDatabaseName(const TQString& dbName); /*! \return user-visible string better describing the project than just databaseName(). For server-based projects returns i18n'd string: @@ -73,13 +73,13 @@ class KEXICORE_EXPORT KexiProjectData : public QObject, public KexiDB::SchemaDat For file-based projects returns project's filename. If \a nobr is true, \<nobr\> tags are added around '(connection: user\@server:port)' (useful for displaying in message boxes). */ - QString infoString(bool nobr = true) const; + TQString infoString(bool nobr = true) const; - QDateTime lastOpened() const; - void setLastOpened(const QDateTime& lastOpened); + TQDateTime lastOpened() const; + void setLastOpened(const TQDateTime& lastOpened); - QString description() const; - void setDescription(const QString& desc); + TQString description() const; + void setDescription(const TQString& desc); /*! If \a set is true, sets readonly flag for this data, so any connection opened for the project will be readonly. Change this flag before using this data in KexiProject instance, @@ -92,7 +92,7 @@ class KEXICORE_EXPORT KexiProjectData : public QObject, public KexiDB::SchemaDat /*! objects to open on startup (come from command line "-open" option) It's public for convenience */ - QValueList<ObjectInfo> autoopenObjects; + TQValueList<ObjectInfo> autoopenObjects; /*! @internal Format version used when saving the data to a shortcut file. |