You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Mavridis Philippe
f77fe94e0e
|
10 months ago | |
---|---|---|
.. | ||
CMakeLists.txt | ||
README | 1 year ago | |
deinterlacequality.cpp | 11 months ago | |
deinterlacequality.h | 1 year ago | |
equalizer.cpp | 11 months ago | |
equalizer.h | 1 year ago | |
filterdialog.cpp | ||
filterdialog.h | 1 year ago | |
kxinewidget.cpp | 11 months ago | |
kxinewidget.h | 12 months ago | |
positionslider.cpp | 11 months ago | |
positionslider.h | 11 months ago | |
postfilter.cpp | ||
postfilter.h | 1 year ago | |
screenshotpreview.cpp | ||
screenshotpreview.h | 1 year ago | |
videosettings.cpp | 11 months ago | |
videosettings.h | 1 year ago | |
xine_part.cpp | 10 months ago | |
xine_part.desktop | ||
xine_part.h | 1 year ago | |
xine_part.rc | ||
xine_part_iface.h | ||
xineconfig.cpp | ||
xineconfig.h | 1 year ago |
README
******************** * XINE-PART * ******************** The xine-based default player-part of Kaffeine. *** IMPORTANT *** The following example is outdated and unlikely to work. *** IMPORTANT *** You can use this part in your Application like this: ---------------------------------------------------- *** myplayer.h: *** #include <tdemainwindow.h> class KaffeinePart; class MyPlayer : public MainWindow { public: MyPlayer(); ~MyPlayer(); void loadURL(const TQString&); //... private: KaffeinePart* m_player; }; *** myplayer.cpp: *** #include <kaffeine/xine_part.h> MyPlayer::MyPlayer() : TDEMainWindow(0) { initMyActions(); createGUI(); //... m_player = new XinePart(this, "my_player", this, 0, QStringList()); guiFactory()->addClient(m_player); setCentralWidget(m_player->widget()); //.. } void MyPlayer::loadURL(const TQString& url) { m_player->openURL(url); } *** Makefile.am *** bin_PROGRAMS = myplayer INCLUDES = $(all_includes) noinst_HEADERS = myplayer.h METASOURCES = AUTO myplayer_SOURCES = myplayer.cpp myplayer_LDFLAGS = $(KDE_RPATH) $(all_libraries) myplayer_LDADD = $(LIB_TDEPARTS) -lxinepart ******************* Thats it. If you need to implement your own UI, check kxinewidget.h