8a60c85bcd
- improperly named or missing include guards - all .h files need an include guard that uses the basename in the macro definition - order of includes: in test.cpp, test.h comes first, then test_p.h, then all others - don't include entire modules, i've put some krazy exclusions in a couple places for this we're using 'qxtincludes' instead of 'includes' now (it allows the QtTest module include without complaining) refs 2
21 lines
360 B
C++
21 lines
360 B
C++
#ifndef MAINWINDOW_H_INCLUDED
|
|
#define MAINWINDOW_H_INCLUDED
|
|
|
|
#include "ui_mainwindow.h"
|
|
#include "model.h"
|
|
class MainWindow : public QMainWindow
|
|
{
|
|
Q_OBJECT
|
|
public:
|
|
MainWindow();
|
|
private:
|
|
Ui::MainWindow ui;
|
|
XmlDbModel model;
|
|
|
|
private slots:
|
|
void on_actionQuit_triggered();
|
|
void on_actionLoad_triggered();
|
|
};
|
|
|
|
#endif // MAINWINDOW_H_INCLUDED
|