aboutsummaryrefslogtreecommitdiff
path: root/include/aomovie.h
diff options
context:
space:
mode:
authorCrystalwarrior <varsash@gmail.com>2020-05-22 02:14:54 +0300
committerCrystalwarrior <varsash@gmail.com>2020-05-22 02:14:54 +0300
commit88de4cde0433ef5e606f38a2f1e6041f0d24a87e (patch)
treece57adab0e3a236a93d112f33235638b74502040 /include/aomovie.h
parentc8e12558cdd3fd0769b81679ad09edf1f29b780f (diff)
clang 2 electric boogaloo
{ BasedOnStyle: LLVM, BreakBeforeBraces: Stroustrup}
Diffstat (limited to 'include/aomovie.h')
-rw-r--r--include/aomovie.h27
1 files changed, 14 insertions, 13 deletions
diff --git a/include/aomovie.h b/include/aomovie.h
index 8d604423..eb7f7a53 100644
--- a/include/aomovie.h
+++ b/include/aomovie.h
@@ -8,28 +8,29 @@ class Courtroom;
class AOApplication;
class AOMovie : public QLabel {
- Q_OBJECT
+ Q_OBJECT
public:
- AOMovie(QWidget *p_parent, AOApplication *p_ao_app);
+ AOMovie(QWidget *p_parent, AOApplication *p_ao_app);
- void set_play_once(bool p_play_once);
- void play(QString p_image, QString p_char = "", QString p_custom_theme = "", int default_duration = 0);
- void combo_resize(int w, int h);
- void stop();
+ void set_play_once(bool p_play_once);
+ void play(QString p_image, QString p_char = "", QString p_custom_theme = "",
+ int default_duration = 0);
+ void combo_resize(int w, int h);
+ void stop();
private:
- QMovie *m_movie;
- AOApplication *ao_app;
- QTimer *timer;
- bool play_once = true;
+ QMovie *m_movie;
+ AOApplication *ao_app;
+ QTimer *timer;
+ bool play_once = true;
signals:
- void done();
+ void done();
private slots:
- void frame_change(int n_frame);
- void timer_done();
+ void frame_change(int n_frame);
+ void timer_done();
};
#endif // AOMOVIE_H