?? qgo.h
字號:
/* * qgo.h */#ifndef QGO_H#define QGO_H#include "globals.h"#include "mainwindow.h"#include "setting.h"#include "qobject.h"#include "defines.h"#include <qptrlist.h>#include "searchpath.h"#ifdef Q_WS_WIN#include <qfiledialog.h>#endif#ifdef Q_OS_LINUX#include "wavplay.h"#endifclass HelpViewer;class QSound;extern "C" {extern void play(const char *Pathname); } //SL added eb 7class qGo : public QObject{ Q_OBJECTpublic: qGo(); ~qGo(); MainWindow* addBoardWindow(MainWindow *w=NULL); void removeBoardWindow(MainWindow*); void openManual(); int checkModified(); void updateAllBoardSettings(); void loadSound() { testSound(false); } void playClick(); void playAutoPlayClick(); void playTalkSound(); void playMatchSound(); void playGameEndSound(); void playPassSound(); void playTimeSound(); void playSaySound(); void playEnterSound(); void playLeaveSound(); void playDisConnectSound(); void playConnectSound(); void updateFont();signals: void signal_leave_qgo(); void signal_updateFont();public slots: void quit(); void slotHelpAbout();public: bool testSound(bool);private: QPtrList<MainWindow> *boardList; HelpViewer *helpViewer; QSound *clickSound;// QSound *autoplaySound; QSound *talkSound; QSound *matchSound; QSound *passSound; QSound *gameEndSound; QSound *timeSound; QSound *saySound; QSound *enterSound; QSound *leaveSound; QSound *connectSound; QSound *retrieveSound(const char *, SearchPath&); bool soundsFound();};#endif
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -