refactor: improve header imports and forward declarations
This commit is contained in:
+1
-1
@@ -201,4 +201,4 @@ void MainWindow::setupTrayIcon()
|
|||||||
|
|
||||||
MainWindow::~MainWindow()
|
MainWindow::~MainWindow()
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -7,8 +7,10 @@
|
|||||||
|
|
||||||
#include <QMainWindow>
|
#include <QMainWindow>
|
||||||
|
|
||||||
|
QT_BEGIN_NAMESPACE
|
||||||
class QSvgWidget;
|
class QSvgWidget;
|
||||||
class QSystemTrayIcon;
|
class QSystemTrayIcon;
|
||||||
|
QT_END_NAMESPACE
|
||||||
|
|
||||||
class MainWindow : public QMainWindow
|
class MainWindow : public QMainWindow
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -3,6 +3,8 @@
|
|||||||
//
|
//
|
||||||
|
|
||||||
#include "VerticalLabel.h"
|
#include "VerticalLabel.h"
|
||||||
|
#include <QPainter>
|
||||||
|
|
||||||
VerticalLabel::VerticalLabel(const QString &text, QWidget *parent) : QLabel(text, parent)
|
VerticalLabel::VerticalLabel(const QString &text, QWidget *parent) : QLabel(text, parent)
|
||||||
{
|
{
|
||||||
|
|
||||||
|
|||||||
@@ -6,7 +6,6 @@
|
|||||||
#define LLINK_VERTICALLABEL_H
|
#define LLINK_VERTICALLABEL_H
|
||||||
|
|
||||||
#include <QLabel>
|
#include <QLabel>
|
||||||
#include <QPainter>
|
|
||||||
|
|
||||||
class VerticalLabel : public QLabel
|
class VerticalLabel : public QLabel
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user