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

« back to all changes in this revision

Viewing changes to buildtools/qmake/choosesubprojectdlg.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 Alexander Dymo                                  *
3
 
 *   cloudtemple@mksat.net                                                 *
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 CHOOSESUBPROJECTDLG_H
13
 
#define CHOOSESUBPROJECTDLG_H
14
 
 
15
 
#include <klistview.h>
16
 
 
17
 
#include "choosesubprojectdlgbase.h"
18
 
 
19
 
class QMakeScopeItem;
20
 
class TrollProjectWidget;
21
 
 
22
 
class ChooseItem: public KListViewItem
23
 
{
24
 
public:
25
 
    ChooseItem(QMakeScopeItem *spitem, QListViewItem *parent, QString text);
26
 
    ChooseItem(QMakeScopeItem *spitem, QListView *parent, QString text);
27
 
 
28
 
    QMakeScopeItem *subproject();
29
 
 
30
 
private:
31
 
    QMakeScopeItem *m_spitem;
32
 
};
33
 
 
34
 
class ChooseSubprojectDlg : public ChooseSubprojectDlgBase
35
 
{
36
 
  Q_OBJECT
37
 
 
38
 
public:
39
 
  ChooseSubprojectDlg(TrollProjectWidget *widget, QWidget* parent = 0, const char* name = 0, bool modal = FALSE, WFlags fl = 0 );
40
 
  ~ChooseSubprojectDlg();
41
 
  /*$PUBLIC_FUNCTIONS$*/
42
 
 
43
 
  QMakeScopeItem *selectedSubproject();
44
 
 
45
 
public slots:
46
 
  /*$PUBLIC_SLOTS$*/
47
 
 
48
 
protected:
49
 
  /*$PROTECTED_FUNCTIONS$*/
50
 
  TrollProjectWidget *m_widget;
51
 
 
52
 
protected slots:
53
 
  /*$PROTECTED_SLOTS$*/
54
 
  virtual void accept();
55
 
  virtual void itemSelected(QListViewItem *it);
56
 
 
57
 
private:
58
 
    void fillSubprojectsView(ChooseItem *item);
59
 
 
60
 
};
61
 
 
62
 
#endif
63
 
 
64
 
// kate: space-indent on; indent-width 4; tab-width 4; replace-tabs on