lib/project/addfilesdialog.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
#ifndef ADDFILESDIALOG_H
00020
#define ADDFILESDIALOG_H
00021
00022
#include <kdeversion.h>
00023
#include <kfiledialog.h>
00024
00025
class QComboBox;
00026
00034 class AddFilesDialog :
public KFileDialog
00035 {
00036 Q_OBJECT
00037
public:
00038 enum Mode {
Copy,
Link,
Relative };
00039
00040
AddFilesDialog(
const QString& startDir,
const QString& filter,
00041
QWidget *parent,
const char *name,
bool modal);
00042
#if KDE_VERSION >= 310
00043
AddFilesDialog(
const QString& startDir,
const QString& filter,
00044
QWidget *parent,
const char *name,
bool modal,
QComboBox *extraWidget);
00045
#endif
00046
virtual ~AddFilesDialog();
00047
00048
virtual AddFilesDialog::Mode
mode();
00049
00050
private:
00051 QComboBox *
m_extraWidget;
00052
00053
private slots:
00054
void storePreferred(
int index);
00055 };
00056
00057
#endif
This file is part of the documentation for KDevelop Version 3.0.4.