summaryrefslogtreecommitdiff
path: root/HelpDialog.h
diff options
context:
space:
mode:
authorThomas Preud'homme <robotux@celest.fr>2017-11-24 23:24:09 +0000
committerThomas Preud'homme <robotux@celest.fr>2017-11-24 23:24:09 +0000
commitb3c8bdcc0d1e4b2ab298847a7902b6d60410a5bc (patch)
tree8fce8a51adfb245db8ab2a76831661780c0c713e /HelpDialog.h
parente297dbd8052ef4e66f069e2dd1865ae7fa8af28e (diff)
New upstream version 1.2.3.6
Diffstat (limited to 'HelpDialog.h')
-rw-r--r--HelpDialog.h50
1 files changed, 24 insertions, 26 deletions
diff --git a/HelpDialog.h b/HelpDialog.h
index 43cbc7f..2a2fd32 100644
--- a/HelpDialog.h
+++ b/HelpDialog.h
@@ -1,8 +1,6 @@
/** \file HelpDialog.h
\brief Define the help dialog
\author alpha_one_x86
-\version 0.3
-\date 2010
\licence GPL3, see the file COPYING */
#ifndef DIALOG_H
@@ -16,35 +14,35 @@
#include "ui_HelpDialog.h"
#include "Environment.h"
-#include "GlobalClass.h"
namespace Ui {
- class HelpDialog;
+ class HelpDialog;
}
/** \brief Help dialog, and some user oriented repport/debug function */
-class HelpDialog : public QDialog, public GlobalClass {
- Q_OBJECT
- public:
- /// \brief Construct the object
- HelpDialog();
- /// \brief Destruct the object
- ~HelpDialog();
- protected:
- /// \brief To re-translate the ui
- void changeEvent(QEvent *e);
- private:
- Ui::HelpDialog *ui;
- /// \brief To reload the text value
- void reloadTextValue();
- private slots:
- #ifdef ULTRACOPIER_DEBUG
- /// \brief Add debug text
- void addDebugText();
- void on_lineEditInsertDebug_returnPressed();
- #endif // ULTRACOPIER_DEBUG
- void on_pushButtonAboutQt_clicked();
- void on_pushButtonCrash_clicked();
+class HelpDialog : public QDialog {
+ Q_OBJECT
+ public:
+ /// \brief Construct the object
+ HelpDialog();
+ /// \brief Destruct the object
+ ~HelpDialog();
+ static QString getWebSite();
+ static QString getUpdateUrl();
+ protected:
+ /// \brief To re-translate the ui
+ void changeEvent(QEvent *e);
+ private:
+ Ui::HelpDialog *ui;
+ /// \brief To reload the text value
+ void reloadTextValue();
+ private slots:
+ #ifdef ULTRACOPIER_DEBUG
+ /// \brief Add debug text
+ void on_lineEditInsertDebug_returnPressed();
+ #endif // ULTRACOPIER_DEBUG
+ void on_pushButtonAboutQt_clicked();
+ void on_pushButtonCrash_clicked();
};
#endif // DIALOG_H