src/mainwindow.h

changeset 1157
1d6d244bdabd
parent 1156
c20ee66b6705
child 1159
6ad8cdcd88d9
--- a/src/mainwindow.h	Thu Feb 23 19:56:21 2017 +0200
+++ b/src/mainwindow.h	Thu Feb 23 20:03:31 2017 +0200
@@ -115,6 +115,9 @@
 	void updateSelection();
 	void updateTitle();
 
+	static QPixmap getIcon(QString iconName);
+	static class QSettings* makeSettings(QObject* parent = nullptr);
+
 signals:
 	void gridChanged();
 
@@ -169,7 +172,3 @@
 // Pointer to the instance of MainWindow.
 // TODO: it's going out, slowly but surely.
 extern MainWindow* g_win;
-
-// Get an icon by name from the resources directory.
-QPixmap GetIcon (QString iconName);
-class QSettings* makeSettings(QObject* parent = nullptr);

mercurial