From bd3bb4892fd610a705395d8378fb6ad1acb7f4ba Mon Sep 17 00:00:00 2001 From: trialuser02 Date: Mon, 17 Feb 2014 12:05:48 +0000 Subject: raise main window when starting another instance w/o params, added -- git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@4105 90c681e8-e032-0410-971d-27865f9a5e38 --- src/qmmpui/uihelper.h | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'src/qmmpui/uihelper.h') diff --git a/src/qmmpui/uihelper.h b/src/qmmpui/uihelper.h index 867fc9931..f3fc2c2a9 100644 --- a/src/qmmpui/uihelper.h +++ b/src/qmmpui/uihelper.h @@ -144,6 +144,10 @@ public slots: * Toggles player window visibility. */ void toggleVisibility(); + /*! + * Shows the main window of the player. + */ + void showMainWindow(); /*! * Tells the player to exit. */ @@ -155,6 +159,11 @@ signals: * Use it to show/hide player's window. */ void toggleVisibilityCalled(); + /*! + * Emitted when some general plugin requires to show main window. + * Use it to show player's window and to raise it to the top. + */ + void showMainWindowCalled(); private slots: void removeAction(QObject *action); -- cgit v1.2.3-13-gbd6f