mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-28 13:10:19 +00:00
3161114106
Main change is that now SubsurfaceAbout doesn't have instance object, but it constructs and destructs dynamically. * Remove the static SubsurfaceAbout::instance() class member * construct/destruct about dialog on demand * Other small aboutbox cleanups. Signed-off-by: Boris Barbulovski <bbarbulovski@gmail.com> ACK-ed-by: Tomaz Canabrava <tcanabrava@kde.org> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
20 lines
357 B
C++
20 lines
357 B
C++
#ifndef ABOUT_H
|
|
#define ABOUT_H
|
|
|
|
#include <QDialog>
|
|
#include <QPushButton>
|
|
#include "ui_about.h"
|
|
|
|
class SubsurfaceAbout : public QDialog {
|
|
Q_OBJECT
|
|
|
|
public:
|
|
explicit SubsurfaceAbout(QWidget* parent = 0, Qt::WindowFlags f = 0);
|
|
private slots:
|
|
void on_licenseButton_clicked();
|
|
void on_websiteButton_clicked();
|
|
private:
|
|
Ui::SubsurfaceAbout ui;
|
|
};
|
|
|
|
#endif
|