summaryrefslogtreecommitdiffstats
path: root/src/app/playDialog.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/app/playDialog.h')
-rw-r--r--src/app/playDialog.h36
1 files changed, 36 insertions, 0 deletions
diff --git a/src/app/playDialog.h b/src/app/playDialog.h
new file mode 100644
index 0000000..020f9f1
--- /dev/null
+++ b/src/app/playDialog.h
@@ -0,0 +1,36 @@
+// (C) 2005 Max Howell (max.howell@methylblue.com)
+// See COPYING file for licensing information
+
+#ifndef CODEINEPLAYDIALOG_H
+#define CODEINEPLAYDIALOG_H
+
+#include <kurl.h>
+#include <qdialog.h>
+
+class KListView;
+class QBoxLayout;
+class QListViewItem;
+
+namespace Codeine
+{
+ class PlayDialog : public QDialog
+ {
+ Q_OBJECT
+ public:
+ PlayDialog( QWidget*, bool show_welcome_dialog = false );
+
+ const KURL &url() const { return m_url; }
+
+ enum DialogCode { FILE = QDialog::Accepted + 2, VCD, CDDA, DVD, RECENT_FILE };
+
+ private slots:
+ void done( QListViewItem* );
+
+ private:
+ void createRecentFileWidget( QBoxLayout* );
+
+ KURL m_url;
+ };
+}
+
+#endif