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

« back to all changes in this revision

Viewing changes to buildtools/autotools/addexistingdirectoriesdlg.h

  • Committer: Bazaar Package Importer
  • Author(s): Jeremy Lainé
  • Date: 2006-05-23 18:39:42 UTC
  • Revision ID: james.westby@ubuntu.com-20060523183942-hucifbvh68k2bwz7
Tags: upstream-3.3.2
Import upstream version 3.3.2

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/***************************************************************************
 
2
                            -------------------
 
3
   begin                : 12/21/2002
 
4
   copyright            : (C) 2002 by Victor R�er
 
5
   email                : victor_roeder@gmx.de
 
6
***************************************************************************/
 
7
 
 
8
/***************************************************************************
 
9
 *                                                                         *
 
10
 *   This program is free software; you can redistribute it and/or modify  *
 
11
 *   it under the terms of the GNU General Public License as published by  *
 
12
 *   the Free Software Foundation; either version 2 of the License, or     *
 
13
 *   (at your option) any later version.                                   *
 
14
 *                                                                         *
 
15
 ***************************************************************************/
 
16
 
 
17
#ifndef _ADDEXISTINGDIRECTORIESDLG_H_
 
18
#define _ADDEXISTINGDIRECTORIESDLG_H_
 
19
 
 
20
#include "addexistingdlgbase.h"
 
21
 
 
22
#include <qdialog.h>
 
23
#include <kfile.h>
 
24
 
 
25
#include "misc.h"
 
26
#include "fileselectorwidget.h"
 
27
 
 
28
class FileSelectorWidget;
 
29
class AutoProjectWidget;
 
30
class AutoProjectPart;
 
31
class SubprojectItem;
 
32
class TargetItem;
 
33
class KFileItem;
 
34
class KImportIconView;
 
35
 
 
36
class AddExistingDirectoriesDialog : public AddExistingDlgBase
 
37
{
 
38
        Q_OBJECT
 
39
 
 
40
public:
 
41
        AddExistingDirectoriesDialog ( AutoProjectPart* part, AutoProjectWidget *widget,
 
42
                                       SubprojectItem* spitem, QWidget* parent = 0, 
 
43
                                       const char* name = 0, bool modal = FALSE, WFlags fl = 0 );
 
44
        ~AddExistingDirectoriesDialog();
 
45
 
 
46
private:
 
47
        FileSelectorWidget* sourceSelector;
 
48
        KImportIconView* importView;
 
49
 
 
50
        AutoProjectPart* m_part;
 
51
        AutoProjectWidget* m_widget;
 
52
 
 
53
        TargetItem* m_titem;
 
54
        SubprojectItem* m_spitem;
 
55
 
 
56
        KFileItemList m_importList;
 
57
 
 
58
protected:
 
59
        void init();
 
60
        void importItems ();
 
61
 
 
62
protected slots:
 
63
        void slotAddSelected();
 
64
        void slotAddAll();
 
65
        void slotRemoveAll();
 
66
        void slotRemoveSelected();
 
67
        void slotDropped ( QDropEvent* ev );
 
68
 
 
69
        void slotOk();
 
70
};
 
71
 
 
72
#endif 
 
73
// kate: indent-mode csands; tab-width 4;
 
74