From dc0e3abbbbed90461906493e3fad84b76eb520c5 Mon Sep 17 00:00:00 2001 From: trialuser02 Date: Mon, 4 Jul 2011 17:53:55 +0000 Subject: added jump-to-track api function git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@2268 90c681e8-e032-0410-971d-27865f9a5e38 --- src/qmmpui/uihelper.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/qmmpui/uihelper.h') diff --git a/src/qmmpui/uihelper.h b/src/qmmpui/uihelper.h index e6987c618..3fc7732e5 100644 --- a/src/qmmpui/uihelper.h +++ b/src/qmmpui/uihelper.h @@ -26,6 +26,7 @@ #include #include #include +#include #include #include @@ -34,6 +35,7 @@ class QMenu; class QWidget; class General; class GeneralFactory; +class JumpToTrackDialog; /*! @brief The UiHelper class provides simple api to access general plugins and some gui features. * @author Ilya Kotov @@ -94,6 +96,8 @@ public: PlayListModel *model = PlayListManager::instance()->selectedPlayList()); void savePlayList(QWidget *parent = qApp->activeWindow(), PlayListModel *model = PlayListManager::instance()->selectedPlayList()); + void jumpToTrack(QWidget *parent = qApp->activeWindow(), + PlayListModel *model = PlayListManager::instance()->selectedPlayList()); /*! * Returns a pointer to the object's instance. */ @@ -131,6 +135,8 @@ private: QPointer m_toolsMenu; QPointer m_playlistMenu; QString m_lastDir; + //JumpToTrackDialog *m_jumpDialog; + QPointer m_jumpDialog; static UiHelper* m_instance; }; -- cgit v1.2.3-13-gbd6f