Ignore:
Timestamp:
01/26/10 20:17:47 (12 years ago)
Author:
pavelpa <pavelpa@…>
Branches:
master, qt5
Children:
3a8dc71
Parents:
61ff1b8
Message:

implemented 'tab container' widget, which groups daynavigator with treeview

  • moved functionality from mainwindow to tabcontainer
  • TODO: 'search' tab not done yet
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/sql/sqlengine.h

    r61ff1b8 r05afe5f  
    1313        SqlEngine(QObject *aParent = NULL);
    1414        ~SqlEngine();
    15         void initialize();
     15        static void initialize();
    1616        void addConferenceToDB(QHash<QString,QString> &aConference);
    1717        void addEventToDB(QHash<QString,QString> &aEvent);
     
    2323        int searchEvent(int conferenceId, const QHash<QString,QString> &columns, const QString &keyword);
    2424    private:
    25         QString login(const QString &aDatabaseType, const QString &aDatabaseName);
    26         bool createTables(QSqlDatabase &aDatabase);
     25        static QString login(const QString &aDatabaseType, const QString &aDatabaseName);
     26        static bool createTables(QSqlDatabase &aDatabase);
    2727        bool execQuery(QSqlDatabase &aDatabase, const QString &aQuery);
    2828};
Note: See TracChangeset for help on using the changeset viewer.