forked from qt-creator/qt-creator
more cosmetic changes
This commit is contained in:
@@ -30,6 +30,7 @@
|
||||
** 1.2, included in the file GPL_EXCEPTION.txt in this package.
|
||||
**
|
||||
***************************************************************************/
|
||||
|
||||
#include "main.h"
|
||||
|
||||
#include <QtGui/QApplication>
|
||||
@@ -107,4 +108,3 @@ int main(int argc, char *argv[])
|
||||
w.show();
|
||||
return app.exec();
|
||||
}
|
||||
|
||||
|
||||
@@ -30,15 +30,16 @@
|
||||
** 1.2, included in the file GPL_EXCEPTION.txt in this package.
|
||||
**
|
||||
***************************************************************************/
|
||||
|
||||
#ifndef MAIN_H
|
||||
#define MAIN_H
|
||||
|
||||
#include "myinterfaces.h"
|
||||
#include "ui_main.h"
|
||||
|
||||
#include <aggregate.h>
|
||||
|
||||
#include <QtGui/QWidget>
|
||||
#include "ui_main.h"
|
||||
|
||||
class MyMain : public QWidget
|
||||
{
|
||||
|
||||
@@ -30,6 +30,7 @@
|
||||
** 1.2, included in the file GPL_EXCEPTION.txt in this package.
|
||||
**
|
||||
***************************************************************************/
|
||||
|
||||
#ifndef MYINTERFACES_H
|
||||
#define MYINTERFACES_H
|
||||
|
||||
@@ -45,6 +46,7 @@ public:
|
||||
IComboEntry(QString title) : m_title(title) {}
|
||||
virtual ~IComboEntry() {}
|
||||
QString title() const { return m_title; }
|
||||
|
||||
private:
|
||||
QString m_title;
|
||||
};
|
||||
@@ -57,6 +59,7 @@ public:
|
||||
IText1(QString text) : m_text(text) {}
|
||||
virtual ~IText1() {}
|
||||
QString text() const { return m_text; }
|
||||
|
||||
private:
|
||||
QString m_text;
|
||||
};
|
||||
@@ -68,6 +71,7 @@ class IText2 : public QObject
|
||||
public:
|
||||
IText2(QString text) : m_text(text) {}
|
||||
QString text() const { return m_text; }
|
||||
|
||||
private:
|
||||
QString m_text;
|
||||
};
|
||||
@@ -80,6 +84,7 @@ public:
|
||||
IText3(QString text) : m_text(text) {}
|
||||
virtual ~IText3() {}
|
||||
QString text() const { return m_text; }
|
||||
|
||||
private:
|
||||
QString m_text;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user