summaryrefslogtreecommitdiffstats
path: root/src/k9langselect.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-02-17 00:32:19 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-02-17 00:32:19 +0000
commit0d382a262c0638d0f572fc37193ccc5ed3dc895f (patch)
tree8578dcddfce4191f3f7a142a37769df7add48475 /src/k9langselect.h
downloadk9copy-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/k9langselect.h')
-rw-r--r--src/k9langselect.h73
1 files changed, 73 insertions, 0 deletions
diff --git a/src/k9langselect.h b/src/k9langselect.h
new file mode 100644
index 0000000..e54ea5c
--- /dev/null
+++ b/src/k9langselect.h
@@ -0,0 +1,73 @@
+//
+// C++ Interface:
+//
+// Description:
+//
+//
+// Author: Jean-Michel PETIT <k9copy@free.fr>, (C) 2006
+//
+// Copyright: See COPYING file that comes with this distribution
+//
+//
+
+#ifndef K9LANGSELECT_H
+#define K9LANGSELECT_H
+
+#include "k9common.h"
+#include "langselectw.h"
+
+#include "k9main.h"
+#include <qlistview.h>
+
+class k9Main;
+class k9DVD;
+
+class ckLvLangItem : public QCheckListItem {
+public:
+ ckLvLangItem( QListViewItem *parent,k9Main *dlg)
+ : QCheckListItem( parent,"",QCheckListItem::CheckBox) {
+ mainDlg=dlg;
+ streamType=NONE;
+ }
+ eStreamType streamType;
+ k9Main *mainDlg;
+ QString language;
+protected:
+ void stateChange(bool state);
+};
+
+
+
+class k9LangSelect : public langSelect
+{
+ Q_OBJECT
+
+public:
+ k9LangSelect(k9Main *mainWindow,QWidget* parent = 0, const char* name = 0, WFlags fl = 0 );
+ ~k9LangSelect();
+
+ void setMain(k9Main* _value);
+ void fillLvLanguages();
+ void update();
+ void clear();
+ void selectAll(bool _state);
+ /*$PUBLIC_FUNCTIONS$*/
+
+public slots:
+ /*$PUBLIC_SLOTS$*/
+
+protected:
+ /*$PROTECTED_FUNCTIONS$*/
+ k9Main * m_main;
+ k9DVD *m_dvd;
+ QPtrList <ckLvLangItem> langAudItems;
+ QPtrList <ckLvLangItem> langSubItems;
+ void updateLvLang(const eStreamType streamType,const QString & lang );
+
+protected slots:
+ /*$PROTECTED_SLOTS$*/
+
+};
+
+#endif
+