aboutsummaryrefslogtreecommitdiff
path: root/application/MainWindow.h
diff options
context:
space:
mode:
Diffstat (limited to 'application/MainWindow.h')
-rw-r--r--application/MainWindow.h17
1 files changed, 12 insertions, 5 deletions
diff --git a/application/MainWindow.h b/application/MainWindow.h
index 3f370fda..08c6b969 100644
--- a/application/MainWindow.h
+++ b/application/MainWindow.h
@@ -1,4 +1,4 @@
-/* Copyright 2013-2018 MultiMC Contributors
+/* Copyright 2013-2021 MultiMC Contributors
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -57,9 +57,14 @@ public:
void checkInstancePathForProblems();
void updatesAllowedChanged(bool allowed);
+
+ void droppedURLs(QList<QUrl> urls);
signals:
void isClosing();
+protected:
+ QMenu * createPopupMenu() override;
+
private slots:
void onCatToggled(bool);
@@ -109,8 +114,6 @@ private slots:
void newsButtonClicked();
- void on_mainToolBar_visibilityChanged(bool);
-
void on_actionLaunchInstance_triggered();
void on_actionLaunchInstanceOffline_triggered();
@@ -152,6 +155,8 @@ private slots:
void instanceChanged(const QModelIndex &current, const QModelIndex &previous);
+ void instanceSelectRequest(QString id);
+
void instanceDataChanged(const QModelIndex &topLeft, const QModelIndex &bottomRight);
void selectionBad();
@@ -177,11 +182,13 @@ private slots:
*/
void downloadUpdates(GoUpdate::Status status);
- void droppedURLs(QList<QUrl> urls);
-
void konamiTriggered();
+ void globalSettingsClosed();
+
private:
+ void retranslateUi();
+
void addInstance(QString url = QString());
void activateInstance(InstancePtr instance);
void setCatBackground(bool enabled);