summaryrefslogtreecommitdiffstats
path: root/DOCS/client_api_examples/qt/qtexample.h
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2016-03-10 21:47:51 +0100
committerwm4 <wm4@nowhere>2016-03-10 21:47:51 +0100
commit9bc5c020de87fdffc40c9103992b26fe80cfe944 (patch)
tree1a31520041e5ac021fd351f2a6a798dc5c3a927b /DOCS/client_api_examples/qt/qtexample.h
parentd8b27ee4de4e26d594855960a4421b99db9e76ea (diff)
downloadmpv-9bc5c020de87fdffc40c9103992b26fe80cfe944.tar.bz2
mpv-9bc5c020de87fdffc40c9103992b26fe80cfe944.tar.xz
DOCS: remove client API examples
Moved to: https://github.com/mpv-player/mpv-examples
Diffstat (limited to 'DOCS/client_api_examples/qt/qtexample.h')
-rw-r--r--DOCS/client_api_examples/qt/qtexample.h37
1 files changed, 0 insertions, 37 deletions
diff --git a/DOCS/client_api_examples/qt/qtexample.h b/DOCS/client_api_examples/qt/qtexample.h
deleted file mode 100644
index c3891cf4a7..0000000000
--- a/DOCS/client_api_examples/qt/qtexample.h
+++ /dev/null
@@ -1,37 +0,0 @@
-#ifndef QTEXAMPLE_H
-#define QTEXAMPLE_H
-
-#include <QMainWindow>
-
-#include <mpv/client.h>
-
-class QTextEdit;
-
-class MainWindow : public QMainWindow
-{
- Q_OBJECT
-
-public:
- explicit MainWindow(QWidget *parent = 0);
- ~MainWindow();
-
-private slots:
- void on_file_open();
- void on_new_window();
- void on_mpv_events();
-
-signals:
- void mpv_events();
-
-private:
- QWidget *mpv_container;
- mpv_handle *mpv;
- QTextEdit *log;
-
- void append_log(const QString &text);
-
- void create_player();
- void handle_mpv_event(mpv_event *event);
-};
-
-#endif // QTEXAMPLE_H