aboutsummaryrefslogtreecommitdiffstats
path: root/SQLiteStudio3/guiSQLiteStudio/mainwindow.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/mainwindow.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/mainwindow.h')
-rw-r--r--SQLiteStudio3/guiSQLiteStudio/mainwindow.h13
1 files changed, 6 insertions, 7 deletions
diff --git a/SQLiteStudio3/guiSQLiteStudio/mainwindow.h b/SQLiteStudio3/guiSQLiteStudio/mainwindow.h
index be96af1..fbc3317 100644
--- a/SQLiteStudio3/guiSQLiteStudio/mainwindow.h
+++ b/SQLiteStudio3/guiSQLiteStudio/mainwindow.h
@@ -31,6 +31,7 @@ class WidgetCover;
class QProgressBar;
class QLabel;
class ThemeTuner;
+class SqliteExtensionEditor;
#ifdef Q_OS_MACX
#define PREV_TASK_KEY_SEQ Qt::CTRL + Qt::ALT + Qt::Key_Left
@@ -70,6 +71,7 @@ class GUI_API_EXPORT MainWindow : public QMainWindow, public ExtActionContainer
OPEN_DDL_HISTORY,
OPEN_FUNCTION_EDITOR,
OPEN_COLLATION_EDITOR,
+ OPEN_EXTENSION_MANAGER,
EXPORT,
IMPORT,
CLOSE_WINDOW,
@@ -140,7 +142,7 @@ class GUI_API_EXPORT MainWindow : public QMainWindow, public ExtActionContainer
DdlHistoryWindow* openDdlHistory();
FunctionsEditor* openFunctionEditor();
CollationsEditor* openCollationEditor();
- BugReportHistoryWindow* openReportHistory();
+ SqliteExtensionEditor* openExtensionManager();
void fixFonts();
template <class T>
@@ -168,15 +170,13 @@ class GUI_API_EXPORT MainWindow : public QMainWindow, public ExtActionContainer
QPointer<NewVersionDialog> newVersionDialog;
#endif
WidgetCover* widgetCover = nullptr;
- QLabel* updatingLabel = nullptr;
- QProgressBar* updatingBusyBar = nullptr;
- QProgressBar* updatingSubBar = nullptr;
bool manualUpdatesChecking = false;
public slots:
EditorWindow* openSqlEditor();
void updateWindowActions();
void updateCornerDocking();
+ void messageFromSecondaryInstance(quint32 instanceId, QByteArray message);
private slots:
void notifyAboutLanguageChange();
@@ -188,6 +188,7 @@ class GUI_API_EXPORT MainWindow : public QMainWindow, public ExtActionContainer
void openDdlHistorySlot();
void openFunctionEditorSlot();
void openCollationEditorSlot();
+ void openExtensionManagerSlot();
void exportAnything();
void importAnything();
void closeAllWindows();
@@ -210,8 +211,6 @@ class GUI_API_EXPORT MainWindow : public QMainWindow, public ExtActionContainer
void updatesAvailable(const QList<UpdateManager::UpdateEntry>& updates);
void noUpdatesAvailable();
void checkForUpdates();
- void handleUpdatingProgress(const QString& jobTitle, int jobPercent, int totalPercent);
- void handleUpdatingError();
#endif
void statusFieldLinkClicked(const QString& link);
};
@@ -220,7 +219,7 @@ template <class T>
T* MainWindow::openMdiWindow()
{
T* win = nullptr;
- foreach (MdiWindow* mdiWin, ui->mdiArea->getWindows())
+ for (MdiWindow* mdiWin : ui->mdiArea->getWindows())
{
win = dynamic_cast<T*>(mdiWin->getMdiChild());
if (win)