Changeset 154 for smplayer/vendor/current/src/basegui.h
- Timestamp:
- Feb 21, 2014, 4:44:11 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
smplayer/vendor/current/src/basegui.h
r140 r154 34 34 #endif 35 35 36 #ifdef Q_OS_WIN37 #ifdef PORTABLE_APP38 #define TEST_UPDATE39 #endif40 #else41 #define TEST_UPDATE42 #endif43 44 36 class QWidget; 45 37 class QMenu; … … 60 52 #endif 61 53 62 63 54 class MyAction; 64 55 class MyActionGroup; 65 66 56 class PreferencesDialog; 67 68 57 class Favorites; 69 58 class TVList; 70 71 59 class UpdateChecker; 60 61 #if !defined(Q_OS_WIN) || defined(PORTABLE_APP) 62 #define REMINDER_ACTIONS 1 63 #endif 72 64 73 65 class BaseGui : public QMainWindow … … 115 107 virtual void helpCLOptions(); 116 108 virtual void helpCheckUpdates(); 109 #ifdef REMINDER_ACTIONS 110 virtual void helpDonate(); 111 #endif 117 112 virtual void helpShowConfig(); 118 113 virtual void helpAbout(); … … 135 130 #endif 136 131 132 #ifdef YOUTUBE_SUPPORT 137 133 virtual void showTubeBrowser(); 134 #endif 138 135 139 136 virtual void showPlaylist(); … … 191 188 192 189 virtual void displayState(Core::State state); 190 virtual void displayMessage(QString message, int time); 193 191 virtual void displayMessage(QString message); 194 192 virtual void gotCurrentTime(double); … … 215 213 #endif 216 214 217 #ifdef TEST_UPDATE 218 void testUpdate(); 215 #ifdef CHECK_UPGRADED 216 void checkIfUpgraded(); 217 #endif 218 219 #ifdef REMINDER_ACTIONS 220 void checkReminder(); 221 #endif 222 223 #ifdef YOUTUBE_SUPPORT 224 void YTNoSignature(const QString &); 225 #ifdef YT_USE_SCRIPT 226 void YTUpdateScript(); 227 #endif 219 228 #endif 220 229 … … 323 332 //! Sent when the user wants to close the main window 324 333 void quitSolicited(); 334 335 //! Sent when another instance requested to play a file 336 void openFileRequested(); 325 337 326 338 #ifdef GUI_CHANGE_ON_RUNTIME … … 469 481 MyAction * showPropertiesAct; 470 482 MyAction * showPreferencesAct; 483 #ifdef YOUTUBE_SUPPORT 471 484 MyAction * showTubeBrowserAct; 485 #endif 472 486 #ifdef LOG_MPLAYER 473 487 MyAction * showLogMplayerAct; … … 482 496 MyAction * showCLOptionsAct; // Command line options 483 497 MyAction * showCheckUpdatesAct; 498 #if defined(YOUTUBE_SUPPORT) && defined(YT_USE_SCRIPT) 499 MyAction * updateYTAct; 500 #endif 484 501 MyAction * showConfigAct; 502 #ifdef REMINDER_ACTIONS 503 MyAction * donateAct; 504 #endif 485 505 MyAction * aboutQtAct; 486 506 MyAction * aboutThisAct;
Note:
See TracChangeset
for help on using the changeset viewer.