Changeset View
Changeset View
Standalone View
Standalone View
src/drivers/xbase/XbaseConnection_p.h
Show First 20 Lines • Show All 41 Lines • ▼ Show 20 Line(s) | 36 | public: | |||
---|---|---|---|---|---|
42 | 42 | | |||
43 | //! Disconnects from the database | 43 | //! Disconnects from the database | ||
44 | bool db_disconnect(const KDbConnectionData& data); | 44 | bool db_disconnect(const KDbConnectionData& data); | ||
45 | 45 | | |||
46 | //! Selects a database that is about to be used | 46 | //! Selects a database that is about to be used | ||
47 | bool useDatabase(const QString &dbName = QString()); | 47 | bool useDatabase(const QString &dbName = QString()); | ||
48 | 48 | | |||
49 | //! Execute SQL statement on the database | 49 | //! Execute SQL statement on the database | ||
50 | bool executeSQL(const KDbEscapedString& sql); | 50 | bool executeSql(const KDbEscapedString& sql); | ||
51 | 51 | | |||
52 | //! Stores last operation's result | 52 | //! Stores last operation's result | ||
53 | virtual void storeResult(); | 53 | virtual void storeResult(); | ||
54 | 54 | | |||
55 | QPointer<KDbDriver> internalDriver; | 55 | QPointer<KDbDriver> internalDriver; | ||
56 | QPointer<KDbConnection> internalConn; | 56 | QPointer<KDbConnection> internalConn; | ||
57 | QString tempDatabase; | 57 | QString tempDatabase; | ||
58 | 58 | | |||
59 | QHash<QString,QString> dbMap; | 59 | QHash<QString,QString> dbMap; | ||
60 | 60 | | |||
61 | QString errmsg; //!< server-specific message of last operation | 61 | QString errmsg; //!< server-specific message of last operation | ||
62 | int res; //!< result code of last operation on server | 62 | int res; //!< result code of last operation on server | ||
63 | }; | 63 | }; | ||
64 | 64 | | |||
65 | #endif | 65 | #endif |