~ubuntu-branches/ubuntu/intrepid/kid3/intrepid

« back to all changes in this revision

Viewing changes to kid3/stringlistedit.h

  • Committer: Bazaar Package Importer
  • Author(s): Michele Angrisano
  • Date: 2008-01-09 23:20:54 UTC
  • mfrom: (1.1.6 upstream)
  • Revision ID: james.westby@ubuntu.com-20080109232054-gtcjxz4ahdnzbt01
Tags: 0.10-1ubuntu1
* Merge from Debian unstable, remaining changes:
  - debian/rules:
    + Use dh_icons instead dh_iconcache.
  - debian/control:
    + Update maintainer field.

Show diffs side-by-side

added added

removed removed

Lines of Context:
5
5
 * \b Project: Kid3
6
6
 * \author Urs Fleisch
7
7
 * \date 14 Apr 2007
 
8
 *
 
9
 * Copyright (C) 2007  Urs Fleisch
 
10
 *
 
11
 * This file is part of Kid3.
 
12
 *
 
13
 * Kid3 is free software; you can redistribute it and/or modify
 
14
 * it under the terms of the GNU General Public License as published by
 
15
 * the Free Software Foundation; either version 2 of the License, or
 
16
 * (at your option) any later version.
 
17
 *
 
18
 * Kid3 is distributed in the hope that it will be useful,
 
19
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 
20
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
21
 * GNU General Public License for more details.
 
22
 *
 
23
 * You should have received a copy of the GNU General Public License
 
24
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
8
25
 */
9
26
 
10
27
#ifndef STRINGLISTEDIT_H
13
30
#include <qwidget.h>
14
31
#include "qtcompatmac.h"
15
32
 
16
 
class Q3ListBox;
 
33
#if QT_VERSION >= 0x040000
 
34
class QListWidget;
 
35
#else
 
36
class QListBox;
 
37
#endif
17
38
class QPushButton;
18
39
 
19
40
class StringListEdit : public QWidget {
24
45
         * Constructor.
25
46
         *
26
47
         * @param parent parent widget
27
 
         * @param name   Qt object name
28
48
         */
29
 
        StringListEdit(QWidget* parent = 0, const char* name = 0);
 
49
        StringListEdit(QWidget* parent = 0);
30
50
 
31
51
        /**
32
52
         * Destructor.
79
99
        void setButtonEnableState();
80
100
 
81
101
private:
82
 
        Q3ListBox* m_stringListBox;
 
102
#if QT_VERSION >= 0x040000
 
103
        QListWidget* m_stringListBox;
 
104
#else
 
105
        QListBox* m_stringListBox;
 
106
#endif
83
107
        QPushButton* m_addPushButton;
84
108
        QPushButton* m_moveUpPushButton;
85
109
        QPushButton* m_moveDownPushButton;