summaryrefslogtreecommitdiffstats
path: root/src/app/playDialog.h
blob: c6a1d04797b69679dc367402332ab47a997ba1ec (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 <ntqdialog.h>

class KListView;
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