From 2deafc497132f3e413ef0fa64c656e0ce9b9a8a7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Sun, 29 May 2016 02:24:21 +0200 Subject: cmake: Add tdeabc tests MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Slávek Banko (cherry picked from commit 51efac909d7b116c8b0ca58fcd4e74ff58f31091) --- kabc/plugins/sql/resourcesql.h | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) (limited to 'kabc/plugins/sql/resourcesql.h') diff --git a/kabc/plugins/sql/resourcesql.h b/kabc/plugins/sql/resourcesql.h index 80ebf9e7a..fd2bec526 100644 --- a/kabc/plugins/sql/resourcesql.h +++ b/kabc/plugins/sql/resourcesql.h @@ -30,22 +30,23 @@ class TQSqlDatabase; namespace KABC { -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 KConfig * ); - 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, -- cgit v1.2.1