~adiroiban/ubuntu/karmic/kover/i18n-support

« back to all changes in this revision

Viewing changes to src/without_cd.h

  • Committer: Adi Roiban
  • Date: 2009-11-08 21:05:34 UTC
  • Revision ID: adi@roiban.ro-20091108210534-v1zh1zmfs9u72a0a
fix LP: #478507

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 * kover - Kover is an easy to use WYSIWYG CD cover printer with CDDB support.
 
3
 * Copyright (C) 2001, 2008 by Adrian Reber
 
4
 *
 
5
 * This program is free software; you can redistribute it and/or modify
 
6
 * it under the terms of the GNU General Public License as published by
 
7
 * the Free Software Foundation; either version 2 of the License, or
 
8
 * (at your option) any later version.
 
9
 *
 
10
 * This program is distributed in the hope that it will be useful,
 
11
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 
12
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
13
 * GNU General Public License for more details.
 
14
 *
 
15
 * You should have received a copy of the GNU General Public License
 
16
 * along with this program; if not, write to the Free Software
 
17
 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
 
18
 *
 
19
 * Description: dialog to execute a cddb query without a cd
 
20
 *
 
21
 * 11 Nov 2001: Initial release
 
22
 */
 
23
 
 
24
#ifndef WITHOUT_CD_H
 
25
#define WITHOUT_CD_H
 
26
 
 
27
#include <QDialog>
 
28
#include <QLineEdit>
 
29
#include <QComboBox>
 
30
 
 
31
class without_cd : public QDialog {
 
32
        Q_OBJECT
 
33
 public:
 
34
        without_cd();
 
35
        ~without_cd();
 
36
        int get_category();
 
37
        char *get_id();
 
38
 
 
39
 private:
 
40
        QLineEdit *cddb_id;
 
41
        QComboBox *category;
 
42
        void handle_input();
 
43
 
 
44
 private slots:
 
45
        void accept();
 
46
        void quit();
 
47
 
 
48
};
 
49
 
 
50
#endif /* WITHOUT_CD_H */