1.1 --- a/aboutdialog.h Wed Aug 10 06:26:20 2005 +0000
1.2 +++ b/aboutdialog.h Fri Aug 19 07:42:31 2005 +0000
1.3 @@ -1,3 +1,4 @@
1.4 +/* emacs: -*- Mode: C; c-style: "bsd"; c-basic-offset: 4; c-recognize-knr-p: nil; -*- */
1.5 #ifndef ABOUTDIALOG_H
1.6 #define ABOUTDIALOG_H
1.7
1.8 @@ -8,7 +9,7 @@
1.9 #include <qpushbutton.h>
1.10 #include <qstring.h>
1.11
1.12 -
1.13 +class AboutTextBrowser;
1.14 /////////////////////////////////////////////////////////////////////////////
1.15 class AboutDialog :public QDialog
1.16 {
1.17 @@ -17,14 +18,10 @@
1.18 public:
1.19 AboutDialog(QWidget* parent = 0, const char* name = 0);
1.20
1.21 -
1.22 -public slots:
1.23 - virtual void openLink (const QString &);
1.24 -
1.25 private:
1.26 QTabWidget *tabs;
1.27 - QTextBrowser *credits;
1.28 - QTextBrowser *license;
1.29 + AboutTextBrowser *credits;
1.30 + AboutTextBrowser *license;
1.31
1.32 QBoxLayout *mainLayout;
1.33 QBoxLayout *topLayout;
1.34 @@ -33,4 +30,13 @@
1.35
1.36 };
1.37
1.38 +class AboutTextBrowser : public QTextBrowser
1.39 +{
1.40 + Q_OBJECT;
1.41 + public:
1.42 + AboutTextBrowser(QWidget *parent, const char *name = 0);
1.43 + public slots:
1.44 + void setSource(const QString &name);
1.45 +};
1.46 +
1.47 #endif