aboutsummaryrefslogtreecommitdiff
path: root/qmpmainwindow.hpp
diff options
context:
space:
mode:
authorGravatar Chris Xiong <chirs241097@gmail.com> 2016-01-06 21:28:44 +0800
committerGravatar Chris Xiong <chirs241097@gmail.com> 2016-01-06 21:28:44 +0800
commit7fccb61519fe84b2ced274f1cc4859d5000e86c6 (patch)
treef66696e67d56e9e6015d613af84562364baaa9ed /qmpmainwindow.hpp
parent8099672c3fd0bfc7804b0a92d05c57dcd4307268 (diff)
downloadQMidiPlayer-7fccb61519fe84b2ced274f1cc4859d5000e86c6.tar.xz
Maple Dream. (WTF)
Diffstat (limited to 'qmpmainwindow.hpp')
-rw-r--r--qmpmainwindow.hpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/qmpmainwindow.hpp b/qmpmainwindow.hpp
index 894a476..331fc15 100644
--- a/qmpmainwindow.hpp
+++ b/qmpmainwindow.hpp
@@ -33,6 +33,8 @@ class qmpMainWindow:public QMainWindow
CMidiPlayer* getPlayer(){return player;}
QTimer* getTimer(){return timer;}
bool isFinalizing(){return fin;}
+ QString getFileName();
+ int pharseArgs(int argc,char** argv);
private slots:
void on_pbPlayPause_clicked();
@@ -53,7 +55,7 @@ class qmpMainWindow:public QMainWindow
void on_pushButton_clicked();
- public slots:
+ public slots:
void dialogClosed();
void selectionChanged();
@@ -75,9 +77,8 @@ class qmpMainWindow:public QMainWindow
QAction *fnA1,*fnA2;
void playerSetup();
- public:
- QString getFileName();
+ private:
static qmpMainWindow* ref;
public: static qmpMainWindow* getInstance(){return ref;}
};