summaryrefslogtreecommitdiffstats
path: root/kexi/kexidb/dbproperties.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-25 05:28:35 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-25 05:28:35 +0000
commitf008adb5a77e094eaf6abf3fc0f36958e66896a5 (patch)
tree8e9244c4d4957c36be81e15b566b4aa5ea26c982 /kexi/kexidb/dbproperties.h
parent1210f27b660efb7b37ff43ec68763e85a403471f (diff)
downloadkoffice-f008adb5a77e094eaf6abf3fc0f36958e66896a5.tar.gz
koffice-f008adb5a77e094eaf6abf3fc0f36958e66896a5.zip
TQt4 port koffice
This should enable compilation under both Qt3 and Qt4; fixes for any missed components will be forthcoming git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/koffice@1238284 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kexi/kexidb/dbproperties.h')
-rw-r--r--kexi/kexidb/dbproperties.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/kexi/kexidb/dbproperties.h b/kexi/kexidb/dbproperties.h
index 91aed7e2..d4b193fa 100644
--- a/kexi/kexidb/dbproperties.h
+++ b/kexi/kexidb/dbproperties.h
@@ -38,28 +38,28 @@ class KEXI_DB_EXPORT DatabaseProperties : public KexiDB::Object
If there's no such property defined, it will be added. Existing value will be overwritten.
Note that to execute this method, database must be opened in read-write mode.
\return true on successful data. Connection */
- bool setValue( const QString& name, const QVariant& value );
+ bool setValue( const TQString& name, const TQVariant& value );
/*! Sets \a caption for for property \a name.
Usually it shouldn't be translated: trnaslation can be performed before displaying. */
- bool setCaption( const QString& name, const QString& caption );
+ bool setCaption( const TQString& name, const TQString& caption );
//! \return property value for \a propeName available for this driver.
- //! If there's no such property defined for driver, Null QVariant value is returned.
- QVariant value( const QString& name );
+ //! If there's no such property defined for driver, Null TQVariant value is returned.
+ TQVariant value( const TQString& name );
//! \return translated property caption for \a name.
//! If there's no such property defined for driver, empty string value is returned.
- QString caption( const QString& name );
+ TQString caption( const TQString& name );
//! \return a list of available property names.
- QStringList names();
+ TQStringList names();
protected:
DatabaseProperties(Connection *conn);
~DatabaseProperties();
- QGuardedPtr<Connection> m_conn;
+ TQGuardedPtr<Connection> m_conn;
friend class Connection;
};
}