diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2016-05-29 02:24:21 +0200 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2016-05-29 02:24:21 +0200 |
commit | 51efac909d7b116c8b0ca58fcd4e74ff58f31091 (patch) | |
tree | d817aab5133718fff032df3f1e517713a6fcfe4a /tdeabc/plugins/sql/resourcesql.h | |
parent | 5fac044f8da14563a3afca64bd05facd6811df91 (diff) | |
download | tdelibs-51efac909d7b116c8b0ca58fcd4e74ff58f31091.tar.gz tdelibs-51efac909d7b116c8b0ca58fcd4e74ff58f31091.zip |
cmake: Add tdeabc tests
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
Diffstat (limited to 'tdeabc/plugins/sql/resourcesql.h')
-rw-r--r-- | tdeabc/plugins/sql/resourcesql.h | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/tdeabc/plugins/sql/resourcesql.h b/tdeabc/plugins/sql/resourcesql.h index 7ce26956c..a1c085c83 100644 --- a/tdeabc/plugins/sql/resourcesql.h +++ b/tdeabc/plugins/sql/resourcesql.h @@ -30,22 +30,23 @@ class TQSqlDatabase; namespace TDEABC { -class ResourceSql : public Resource +class KABC_EXPORT ResourceSql : public Resource { public: ResourceSql( AddressBook *ab, const TQString &user, const TQString &password, const TQString &db, const TQString &host ); ResourceSql( AddressBook *ab, const TDEConfig * ); - bool open(); - void close(); + virtual bool open(); + virtual void close(); - Ticket *requestSaveTicket(); + virtual Ticket *requestSaveTicket(); + virtual void releaseSaveTicket( Ticket* ); - bool load(); - bool save( Ticket * ticket ); + virtual bool load(); + virtual bool save( Ticket * ticket ); - TQString identifier() const; + virtual TQString identifier() const; private: void init(const TQString &user, const TQString &password, |