~ubuntu-branches/debian/sid/kdevelop/sid

« back to all changes in this revision

Viewing changes to src/languageselectwidget.h

  • Committer: Bazaar Package Importer
  • Author(s): Jeremy Lainé
  • Date: 2010-05-05 07:21:55 UTC
  • mfrom: (1.2.3 upstream) (5.1.2 squeeze)
  • Revision ID: james.westby@ubuntu.com-20100505072155-h78lx19pu04sbhtn
Tags: 4:4.0.0-2
* Upload to unstable (Closes: #579947, #481832).
* Acknowledge obsolete NMU fixes (Closes: #562410, #546961).

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/***************************************************************************
2
 
 *   Copyright (C) 2003 by Harald Fernengel                                *
3
 
 *   harry@kdevelop.org                                                    *
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
 
 ***************************************************************************/
11
 
 
12
 
#ifndef _LANGUAGESELECTWIDGET_H_
13
 
#define _LANGUAGESELECTWIDGET_H_
14
 
 
15
 
#include <qdialog.h>
16
 
#include <qdom.h>
17
 
#include <qstringlist.h>
18
 
 
19
 
class QListView;
20
 
 
21
 
class LanguageSelectWidget : public QWidget
22
 
{
23
 
    Q_OBJECT
24
 
 
25
 
public:
26
 
    /* for selection of project parts */
27
 
    LanguageSelectWidget( QDomDocument &projectDom, QWidget *parent=0, const char *name=0 );
28
 
    ~LanguageSelectWidget();
29
 
 
30
 
public slots:
31
 
   void accept();
32
 
 
33
 
signals:
34
 
   void accepted();
35
 
 
36
 
private slots:
37
 
    void itemSelected( QListViewItem * );
38
 
 
39
 
private:
40
 
    void init();
41
 
    void readProjectConfig();
42
 
    void saveProjectConfig();
43
 
 
44
 
    QDomDocument m_projectDom;
45
 
    QListView * _pluginList;
46
 
    QLabel * _pluginDescription;
47
 
    QLabel * _currentLanguage;
48
 
 
49
 
};
50
 
 
51
 
#endif