aboutsummaryrefslogtreecommitdiffstats
path: root/SQLiteStudio3/guiSQLiteStudio/windows/bugreporthistorywindow.h
diff options
context:
space:
mode:
authorLibravatarUnit 193 <unit193@ubuntu.com>2018-07-27 23:54:15 -0400
committerLibravatarUnit 193 <unit193@ubuntu.com>2018-07-27 23:54:15 -0400
commit6d3d39356473078c6b47e03b8a7616e4b34de928 (patch)
treefe5be2e6a08e4cfc73207746aba4c9fccfecfa10 /SQLiteStudio3/guiSQLiteStudio/windows/bugreporthistorywindow.h
parentf98e49169a40876bcf1df832de6e908d1b350193 (diff)
parentfeda8a7db8d1d7c5439aa8f8feef7cc0dd2b59a0 (diff)
Update upstream source from tag 'upstream/3.2.1+dfsg1'
Update to upstream version '3.2.1+dfsg1' with Debian dir 5ea0333565de4dc898c062cc0ff4ba1153e2c1e4
Diffstat (limited to 'SQLiteStudio3/guiSQLiteStudio/windows/bugreporthistorywindow.h')
-rw-r--r--SQLiteStudio3/guiSQLiteStudio/windows/bugreporthistorywindow.h65
1 files changed, 0 insertions, 65 deletions
diff --git a/SQLiteStudio3/guiSQLiteStudio/windows/bugreporthistorywindow.h b/SQLiteStudio3/guiSQLiteStudio/windows/bugreporthistorywindow.h
deleted file mode 100644
index 42e518a..0000000
--- a/SQLiteStudio3/guiSQLiteStudio/windows/bugreporthistorywindow.h
+++ /dev/null
@@ -1,65 +0,0 @@
-#ifndef BUGREPORTHISTORYWINDOW_H
-#define BUGREPORTHISTORYWINDOW_H
-
-#include "mdichild.h"
-#include <QWidget>
-
-namespace Ui {
- class BugReportHistoryWindow;
-}
-
-CFG_KEY_LIST(BugReportHistoryWindow, QObject::tr("Reports history window"),
- CFG_KEY_ENTRY(DELETE_SELECTED, Qt::Key_Delete, QObject::tr("Delete selected entry"))
-)
-
-class GUI_API_EXPORT BugReportHistoryWindow : public MdiChild
-{
- Q_OBJECT
- Q_ENUMS(Action)
-
- public:
- enum Action
- {
- DELETE_SELECTED,
- CLEAR_HISTORY
- };
-
- enum ToolBar
- {
- TOOLBAR
- };
-
- explicit BugReportHistoryWindow(QWidget *parent = 0);
- ~BugReportHistoryWindow();
-
- bool restoreSessionNextTime();
- bool isUncommitted() const;
- QString getQuitUncommittedConfirmMessage() const;
-
- protected:
- QVariant saveSession();
- bool restoreSession(const QVariant &sessionValue);
- Icon* getIconNameForMdiWindow();
- QString getTitleForMdiWindow();
- void createActions();
- void setupDefShortcuts();
- QToolBar* getToolBar(int toolbar) const;
-
- private:
- enum UserRole
- {
- ENTRY_ID = Qt::UserRole + 1
- };
-
- void init();
-
- Ui::BugReportHistoryWindow *ui = nullptr;
-
- private slots:
- void updateState();
- void reload();
- void clearHistory();
- void deleteSelected();
-};
-
-#endif // BUGREPORTHISTORYWINDOW_H