umbrello
2.31.90
Umbrello UML Modeller is a Unified Modelling Language (UML) diagram program based on KDE Technology
|
#include <umlfiledialog.h>
Public Member Functions | |
UMLFileDialog (const KUrl &startDir, const QString &filter, QWidget *parent, QWidget *widget=0) | |
~UMLFileDialog () | |
int | exec () |
void | setCaption (const QString &caption) |
void | setOperationMode (KFileDialog::OperationMode mode) |
void | setUrl (const KUrl &url, bool clearforward=true) |
KUrl | selectedUrl () |
void | setSelection (const QString &name) |
void | setMimeFilter (const QStringList &types, const QString &defaultType=QString()) |
QString | currentMimeFilter () |
return the mime type of the selected file More... | |
Protected Attributes | |
KFileDialog * | m_dialog |
Wrapper class for KFileDialog supporting graphviz *.dot files.
This class is required because KFileDialog do not support mixing of mime type based filters with other filters.
Because the graphviz .dot extension do not have an official mimetype, we use a fake mime type named image/x-dot
UMLFileDialog::UMLFileDialog | ( | const KUrl & | startDir, |
const QString & | filter, | ||
QWidget * | parent, | ||
QWidget * | widget = 0 |
||
) |
UMLFileDialog::~UMLFileDialog | ( | ) |
QString UMLFileDialog::currentMimeFilter | ( | ) |
return the mime type of the selected file
int UMLFileDialog::exec | ( | ) |
KUrl UMLFileDialog::selectedUrl | ( | ) |
void UMLFileDialog::setCaption | ( | const QString & | caption | ) |
void UMLFileDialog::setMimeFilter | ( | const QStringList & | types, |
const QString & | defaultType = QString() |
||
) |
void UMLFileDialog::setOperationMode | ( | KFileDialog::OperationMode | mode | ) |
void UMLFileDialog::setSelection | ( | const QString & | name | ) |
void UMLFileDialog::setUrl | ( | const KUrl & | url, |
bool | clearforward = true |
||
) |
|
protected |