summaryrefslogtreecommitdiffstats
path: root/src/app/playDialog.h
blob: 964c7f8b0bea96d65342ca95fc3b1b169de5304d (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 ([email protected])
// 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
   {
   TQ_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