#include <klflibview_p.h>
Public Types | |
typedef KLFLibBasicWidgetFactory::LocalFileType | LocalFileType |
Public Slots | |
void | setReadyToOpen (bool ready, const QUrl &url) |
Signals | |
void | readyToOpen (bool ready) |
Protected Types | |
enum | BrowseType { BrowseOpen, BrowseSave } |
Protected Slots | |
virtual bool | browseFileName (BrowseType bt) |
virtual void | on_btnBrowse_clicked () |
virtual void | on_txtFile_textChanged (const QString &text) |
Protected Member Functions | |
virtual bool | checkIsReadyToOpen (const QString &text=QString()) const |
Protected Attributes | |
QList< LocalFileType > | pFileTypes |
bool | pReadyToOpen |
QUrl | pReadyToOpenUrl |
Definition at line 828 of file klflibview_p.h.
Definition at line 834 of file klflibview_p.h.
|
protected |
Enumerator | |
---|---|
BrowseOpen | |
BrowseSave |
Definition at line 925 of file klflibview_p.h.
|
inline |
Definition at line 836 of file klflibview_p.h.
References pFileTypes, pReadyToOpen, pReadyToOpenUrl, QCompleter::setModel(), and setUrl().
|
inlinevirtual |
Definition at line 859 of file klflibview_p.h.
|
inlineprotectedvirtualslot |
Definition at line 935 of file klflibview_p.h.
References QFileInfo::absolutePath(), BrowseOpen, BrowseSave, fileTypeForFileName(), KLFLibBasicWidgetFactory::LocalFileType::filter, QFileDialog::getOpenFileName(), QFileDialog::getSaveFileName(), QFileInfo::isDir(), QString::isEmpty(), QStringList::join(), klfconfig, KLFConfig::lastFileDialogPath, KLFConfig::LibraryBrowser, and QList::size().
Referenced by on_btnBrowse_clicked(), and KLFLibLocalFileCreateWidget::on_btnBrowse_clicked().
|
inlineprotectedvirtual |
Definition at line 927 of file klflibview_p.h.
References QFileInfo::isFile().
Referenced by on_txtFile_textChanged().
|
inline |
Definition at line 876 of file klflibview_p.h.
References QRegExp::exactMatch(), QFileInfo::fileName(), and pFileTypes.
Referenced by browseFileName(), and selectedScheme().
|
inlinevirtual |
Definition at line 861 of file klflibview_p.h.
References pReadyToOpen.
|
inlineprotectedvirtualslot |
Definition at line 995 of file klflibview_p.h.
References browseFileName(), and BrowseOpen.
|
inlineprotectedvirtualslot |
Definition at line 999 of file klflibview_p.h.
References checkIsReadyToOpen(), setReadyToOpen(), and url().
|
signal |
|
inlinevirtual |
Definition at line 863 of file klflibview_p.h.
References QDir::fromNativeSeparators().
Referenced by KLFLibBasicWidgetFactory::retrieveCreateParametersFromWidget(), selectedScheme(), and url().
|
inlinevirtual |
Definition at line 866 of file klflibview_p.h.
References fileTypeForFileName(), KLFLibBasicWidgetFactory::guessLocalFileScheme(), QString::isEmpty(), KLFLibBasicWidgetFactory::LocalFileType::scheme, and selectedFName().
Referenced by KLFLibBasicWidgetFactory::retrieveCreateParametersFromWidget(), and url().
|
inlineslot |
Definition at line 912 of file klflibview_p.h.
References pReadyToOpen, pReadyToOpenUrl, and url().
Referenced by on_txtFile_textChanged().
|
inlinevirtual |
Definition at line 891 of file klflibview_p.h.
References QUrl::isValid(), klfconfig, KLFConfig::lastFileDialogPath, KLFConfig::LibraryBrowser, QUrl::path(), and QDir::toNativeSeparators().
Referenced by KLFLibBasicWidgetFactory::createPromptCreateParametersWidget(), KLFLibBasicWidgetFactory::createPromptUrlWidget(), and KLFLibLocalFileOpenWidget().
|
inlinevirtual |
Definition at line 897 of file klflibview_p.h.
References QUrl::fromLocalFile(), QString::isEmpty(), selectedFName(), selectedScheme(), and QUrl::setScheme().
Referenced by on_txtFile_textChanged(), and setReadyToOpen().
|
protected |
Definition at line 922 of file klflibview_p.h.
Referenced by fileTypeForFileName(), and KLFLibLocalFileOpenWidget().
|
protected |
Definition at line 923 of file klflibview_p.h.
Referenced by isReadyToOpen(), KLFLibLocalFileOpenWidget(), and setReadyToOpen().
|
protected |
Definition at line 924 of file klflibview_p.h.
Referenced by KLFLibLocalFileOpenWidget(), and setReadyToOpen().