Ignore:
Timestamp:
01/26/10 20:30:45 (12 years ago)
Author:
pavelpa <pavelpa@…>
Branches:
master, qt5
Children:
336fa33
Parents:
05afe5f
Message:

SqlEngine? made STATIC

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/sql/sqlengine.h

    r05afe5f r3a8dc71  
    1414        ~SqlEngine();
    1515        static void initialize();
    16         void addConferenceToDB(QHash<QString,QString> &aConference);
    17         void addEventToDB(QHash<QString,QString> &aEvent);
    18         void addPersonToDB(QHash<QString,QString> &aPerson);
    19         void addLinkToDB(QHash<QString,QString> &aLink);
    20         void addRoomToDB(QHash<QString,QString> &aRoom);
     16        static void addConferenceToDB(QHash<QString,QString> &aConference);
     17        static void addEventToDB(QHash<QString,QString> &aEvent);
     18        static void addPersonToDB(QHash<QString,QString> &aPerson);
     19        static void addLinkToDB(QHash<QString,QString> &aLink);
     20        static void addRoomToDB(QHash<QString,QString> &aRoom);
    2121
    2222        // search Events for ....
    23         int searchEvent(int conferenceId, const QHash<QString,QString> &columns, const QString &keyword);
     23        static int searchEvent(int conferenceId, const QHash<QString,QString> &columns, const QString &keyword);
    2424    private:
    2525        static QString login(const QString &aDatabaseType, const QString &aDatabaseName);
    2626        static bool createTables(QSqlDatabase &aDatabase);
    27         bool execQuery(QSqlDatabase &aDatabase, const QString &aQuery);
     27        static bool execQuery(QSqlDatabase &aDatabase, const QString &aQuery);
    2828};
    2929
Note: See TracChangeset for help on using the changeset viewer.