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

« back to all changes in this revision

Viewing changes to parts/filecreate/filecreate_filedialog.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 Julian Rockey                                   *
3
 
 *   linux@jrockey.com                                                     *
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
 
 
13
 
#ifndef __KDEVPART_FILECREATE_FILEDIALOG_H__
14
 
#define __KDEVPART_FILECREATE_FILEDIALOG_H__
15
 
 
16
 
#include <kfiledialog.h>
17
 
 
18
 
#include "filecreate_typechooser.h"
19
 
 
20
 
namespace FileCreate {
21
 
 
22
 
  class FileDialog : public KFileDialog {
23
 
    Q_OBJECT
24
 
 
25
 
  public:
26
 
    FileDialog(const QString& startDir, const QString& filter,
27
 
               QWidget *parent, const char *name,
28
 
               bool modal, QWidget * extraWidget);
29
 
    virtual ~FileDialog();
30
 
 
31
 
    virtual void initGUI();
32
 
 
33
 
  protected:
34
 
    QWidget * m_extraWidget;
35
 
    TypeChooser * m_typeChooser;
36
 
    
37
 
  protected slots:
38
 
    void slotActionFilterChanged(const QString & filter);
39
 
    void slotActionTextChanged(const QString & text);
40
 
 
41
 
 
42
 
  };
43
 
 
44
 
}
45
 
 
46
 
#endif