@ -41,6 +41,7 @@ class LoadingScreen;
class MicroProfileDialog ;
class MicroProfileDialog ;
class MultiplayerState ;
class MultiplayerState ;
class ProfilerWidget ;
class ProfilerWidget ;
class QFileOpenEvent ;
template < typename >
template < typename >
class QFutureWatcher ;
class QFutureWatcher ;
class QLabel ;
class QLabel ;
@ -96,6 +97,8 @@ public:
bool DropAction ( QDropEvent * event ) ;
bool DropAction ( QDropEvent * event ) ;
void AcceptDropEvent ( QDropEvent * event ) ;
void AcceptDropEvent ( QDropEvent * event ) ;
void OnFileOpen ( const QFileOpenEvent * event ) ;
void UninstallTitles (
void UninstallTitles (
const std : : vector < std : : tuple < Service : : FS : : MediaType , u64 , QString > > & titles ) ;
const std : : vector < std : : tuple < Service : : FS : : MediaType , u64 , QString > > & titles ) ;
@ -137,6 +140,7 @@ private:
void SyncMenuUISettings ( ) ;
void SyncMenuUISettings ( ) ;
void RestoreUIState ( ) ;
void RestoreUIState ( ) ;
void ConnectAppEvents ( ) ;
void ConnectWidgetEvents ( ) ;
void ConnectWidgetEvents ( ) ;
void ConnectMenuEvents ( ) ;
void ConnectMenuEvents ( ) ;
void UpdateMenuState ( ) ;
void UpdateMenuState ( ) ;
@ -382,5 +386,15 @@ protected:
void mouseReleaseEvent ( QMouseEvent * event ) override ;
void mouseReleaseEvent ( QMouseEvent * event ) override ;
} ;
} ;
class GApplicationEventFilter : public QObject {
Q_OBJECT
signals :
void FileOpen ( const QFileOpenEvent * event ) ;
protected :
bool eventFilter ( QObject * object , QEvent * event ) override ;
} ;
Q_DECLARE_METATYPE ( std : : size_t ) ;
Q_DECLARE_METATYPE ( std : : size_t ) ;
Q_DECLARE_METATYPE ( Service : : AM : : InstallStatus ) ;
Q_DECLARE_METATYPE ( Service : : AM : : InstallStatus ) ;