diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-02-17 00:32:19 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-02-17 00:32:19 +0000 |
commit | 0d382a262c0638d0f572fc37193ccc5ed3dc895f (patch) | |
tree | 8578dcddfce4191f3f7a142a37769df7add48475 /src/k9playbackoptions.h | |
download | k9copy-0d382a262c0638d0f572fc37193ccc5ed3dc895f.tar.gz k9copy-0d382a262c0638d0f572fc37193ccc5ed3dc895f.zip |
Added old abandoned version of k9copy
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/k9copy@1091546 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src/k9playbackoptions.h')
-rw-r--r-- | src/k9playbackoptions.h | 79 |
1 files changed, 79 insertions, 0 deletions
diff --git a/src/k9playbackoptions.h b/src/k9playbackoptions.h new file mode 100644 index 0000000..55ee39d --- /dev/null +++ b/src/k9playbackoptions.h @@ -0,0 +1,79 @@ +// +// C++ Interface: +// +// Description: +// +// +// Author: Jean-Michel PETIT <[email protected]>, (C) 2006 +// +// Copyright: See COPYING file that comes with this distribution +// +// + +#ifndef K9PLAYBACKOPTIONS_H +#define K9PLAYBACKOPTIONS_H +#include "k9common.h" +#include "playbackoptionsw.h" +#include "k9dvd.h" +#include "k9main.h" +#include "k9dvdtitle.h" +#include <qcheckbox.h> +#include <qlistbox.h> + +class lbItem : public QListBoxText { +protected: + k9DVDTitle *m_title; +public: + + lbItem(QListBox * listbox, const QString & text = QString::null ): + QListBoxText(listbox,text) {} + ; + void setTitle(k9DVDTitle *_value) { + m_title = _value; + } + k9DVDTitle *getTitle() const { + return m_title; + } +}; + +class k9Main; + +class k9PlaybackOptions : public PlaybackOptionsw +{ + Q_OBJECT + +public: + k9PlaybackOptions(k9Main *mainWindow,QWidget* parent = 0, const char* name = 0, WFlags fl = 0 ); + ~k9PlaybackOptions(); + /*$PUBLIC_FUNCTIONS$*/ + void fillTitleList(); + k9DVD *m_dvd; + k9Main *m_main; + void setDvd(k9DVD* _value) {m_dvd = _value;} + void setMain(k9Main* _value); + void setSequence(); + void titleRenamed (k9DVDTitle *_title, QString _newName); + bool withMenus() ; + void setwithMenus(bool _value); + void enable(bool _value); + void clear(); +public slots: + /*$PUBLIC_SLOTS$*/ + virtual void ckMenuClick(); + +protected: + /*$PROTECTED_FUNCTIONS$*/ + QPtrList <k9DVDAudioStream> lstAudioDef; + QPtrList <k9DVDSubtitle> lstSubDef; + +protected slots: + /*$PROTECTED_SLOTS$*/ + virtual void bSeqUpClick(); + virtual void bSeqDownClick(); + virtual void cbDefAudioActivated(int _index); + virtual void cbDefSubActivated(int _index); + virtual void lbSequenceChanged (QListBoxItem * _item); +}; + +#endif + |