summaryrefslogtreecommitdiffstats
path: root/src/app/playDialog.h
blob: 1c84e2d3b3979c93ec27f08ad760248145e6dd2b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
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 <tqdialog.h>

class TDEListView;
class TQBoxLayout;
class TQListViewItem;

namespace Codeine
{
   class PlayDialog : public TQDialog
   {
   Q_OBJECT
   public:
      PlayDialog( TQWidget*, bool show_welcome_dialog = false );

      const KURL &url() const { return m_url; }

      enum DialogCode { FILE = TQDialog::Accepted + 2, VCD, CDDA, DVD, RECENT_FILE };

   private slots:
      void done( TQListViewItem* );

   private:
      void createRecentFileWidget( TQBoxLayout* );

      KURL m_url;
   };
}

#endif