summaryrefslogtreecommitdiff
path: root/src/basegui.h
diff options
context:
space:
mode:
authorMateusz Łukasik <mati75@linuxmint.pl>2015-04-26 20:41:29 +0200
committerMateusz Łukasik <mati75@linuxmint.pl>2015-04-26 20:41:29 +0200
commit6027a8ff2d6ae4eba912427c30c58208009c1ebc (patch)
tree756eddd2fc9e7a9943b43e6ff3f9e92cbd4c3352 /src/basegui.h
parent45ee5ac6dc2159352596ce8e8ec744e0c864d492 (diff)
Imported Upstream version 14.9.0.6887~ds0
Diffstat (limited to 'src/basegui.h')
-rw-r--r--src/basegui.h23
1 files changed, 16 insertions, 7 deletions
diff --git a/src/basegui.h b/src/basegui.h
index 699ff56..4770fd0 100644
--- a/src/basegui.h
+++ b/src/basegui.h
@@ -62,6 +62,9 @@ class Favorites;
class TVList;
class UpdateChecker;
+#ifdef SHAREWIDGET
+class ShareWidget;
+#endif
class BaseGui : public QMainWindow
{
@@ -87,6 +90,9 @@ public:
void recordSmplayerLog(QString line);
#endif
+ Core * getCore() { return core; };
+ Playlist * getPlaylist() { return playlist; };
+
public slots:
virtual void open(QString file); // Generic open, autodetect type.
virtual void openFile();
@@ -158,6 +164,7 @@ public slots:
virtual void showGotoDialog();
virtual void showSubDelayDialog();
virtual void showAudioDelayDialog();
+ virtual void showStereo3dDialog();
virtual void exitFullscreen();
virtual void toggleFullscreen();
@@ -217,15 +224,11 @@ protected slots:
void displayWarningAboutOldMplayer();
#endif
-#ifdef UPDATE_CHECKER
- void reportNewVersionAvailable(QString);
-#endif
-
#ifdef CHECK_UPGRADED
void checkIfUpgraded();
#endif
-#ifdef REMINDER_ACTIONS
+#if defined(REMINDER_ACTIONS) && !defined(SHAREWIDGET)
void checkReminder();
#endif
@@ -241,8 +244,8 @@ protected slots:
#if AUTODISABLE_ACTIONS
virtual void enableActionsOnPlaying();
virtual void disableActionsOnStop();
- virtual void togglePlayAction(Core::State);
#endif
+ virtual void togglePlayAction(Core::State);
void changeSizeFactor(int factor);
void toggleDoubleSize();
@@ -298,7 +301,7 @@ protected slots:
// stylesheet
#if ALLOW_CHANGE_STYLESHEET
- virtual void loadQss(QString filename);
+ virtual QString loadQss(QString filename);
virtual void changeStyleSheet(QString style);
#endif
@@ -453,6 +456,7 @@ protected:
#endif
MyAction * flipAct;
MyAction * mirrorAct;
+ MyAction * stereo3dAct;
MyAction * postProcessingAct;
MyAction * phaseAct;
MyAction * deblockAct;
@@ -570,6 +574,7 @@ protected:
MyAction * nextWheelFunctionAct;
MyAction * showFilenameAct;
+ MyAction * showTimeAct;
MyAction * toggleDeinterlaceAct;
// Moving and zoom
@@ -804,6 +809,10 @@ protected:
UpdateChecker * update_checker;
#endif
+#ifdef SHAREWIDGET
+ ShareWidget * sharewidget;
+#endif
+
QStringList actions_list;
QString pending_actions_to_run;