diff options
Diffstat (limited to 'kexi/core/kexi.h')
-rw-r--r-- | kexi/core/kexi.h | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/kexi/core/kexi.h b/kexi/core/kexi.h index 5a6804a5..426854e6 100644 --- a/kexi/core/kexi.h +++ b/kexi/core/kexi.h @@ -87,43 +87,43 @@ namespace Kexi KEXICORE_EXPORT TQFont smallFont(TQWidget *init = 0); /*! Helper class for storing object status. */ - class KEXICORE_EXPORT ObjectStatus + class KEXICORE_EXPORT ObjecttqStatus { public: - ObjectStatus(); + ObjecttqStatus(); - ObjectStatus(const TQString& message, const TQString& description); + ObjecttqStatus(const TQString& message, const TQString& description); - ObjectStatus(KexiDB::Object* dbObject, const TQString& message, const TQString& description); + ObjecttqStatus(KexiDB::Object* dbObject, const TQString& message, const TQString& description); - ~ObjectStatus(); + ~ObjecttqStatus(); - const ObjectStatus& status() const; + const ObjecttqStatus& status() const; bool error() const; - void setStatus(const TQString& message, const TQString& description); + void settqStatus(const TQString& message, const TQString& description); //! Note: for safety, \a dbObject needs to be derived from TQObject, //! otherwise it won't be assigned - void setStatus(KexiDB::Object* dbObject, + void settqStatus(KexiDB::Object* dbObject, const TQString& message = TQString(), const TQString& description = TQString()); - void setStatus(KexiDB::ResultInfo* result, + void settqStatus(KexiDB::ResultInfo* result, const TQString& message = TQString(), const TQString& description = TQString()); - void setStatus(KexiDB::Object* dbObject, KexiDB::ResultInfo* result, + void settqStatus(KexiDB::Object* dbObject, KexiDB::ResultInfo* result, const TQString& message = TQString(), const TQString& description = TQString()); - void clearStatus(); + void cleartqStatus(); TQString singleStatusString() const; - void append( const ObjectStatus& otherStatus ); + void append( const ObjecttqStatus& othertqStatus ); KexiDB::Object *dbObject() const { return dynamic_cast<KexiDB::Object*>((TQObject*)dbObj); } - //! Helper returning pseudo handler that just updates this ObjectStatus object + //! Helper returning pseudo handler that just updates this ObjecttqStatus object //! by receiving a message operator KexiDB::MessageHandler*(); |