Dialog prompting user to choose a resource and a sub-resource to open. More...
#include <klflibview.h>
Public Member Functions | |
KLFLibOpenResourceDlg (const QUrl &defaultlocation=QUrl(), QWidget *parent=0) | |
virtual | ~KLFLibOpenResourceDlg () |
virtual QUrl | url () const |
Static Public Member Functions | |
static QUrl | queryOpenResource (const QUrl &defaultlocation=QUrl(), QWidget *parent=0) |
Protected Slots | |
virtual void | updateReadyToOpenFromSender (bool isready) |
virtual void | updateReadyToOpen () |
Protected Member Functions | |
virtual QUrl | retrieveRawUrl () const |
Dialog prompting user to choose a resource and a sub-resource to open.
Definition at line 932 of file klflibview.h.
KLFLibOpenResourceDlg::KLFLibOpenResourceDlg | ( | const QUrl & | defaultlocation = QUrl() , |
QWidget * | parent = 0 |
||
) |
Definition at line 3960 of file klflibview.cpp.
References KLFLibWidgetFactory::allSupportedWTypes(), KLFLibEngineFactory::correspondingWidgetType(), KLFLibWidgetFactory::createPromptUrlWidget(), KLFLibWidgetFactory::findFactoryFor(), KLFLibEngineFactory::findFactoryFor(), QVariant::fromValue(), QStringList::indexOf(), QString::isEmpty(), QUrl::isEmpty(), QUrl::scheme(), updateReadyToOpen(), updateReadyToOpenFromSender(), and KLFLibWidgetFactory::widgetTypeTitle().
KLFLibOpenResourceDlg::~KLFLibOpenResourceDlg | ( | ) | [virtual] |
Definition at line 4011 of file klflibview.cpp.
QUrl KLFLibOpenResourceDlg::queryOpenResource | ( | const QUrl & | defaultlocation = QUrl() , |
QWidget * | parent = 0 |
||
) | [static] |
Definition at line 4085 of file klflibview.cpp.
References QDialog::exec(), QDialog::result(), and url().
Referenced by KLFLibBrowser::slotResourceOpen().
QUrl KLFLibOpenResourceDlg::retrieveRawUrl | ( | ) | const [protected, virtual] |
Definition at line 4016 of file klflibview.cpp.
References KLFLibWidgetFactory::findFactoryFor(), and KLFLibWidgetFactory::retrieveUrlFromWidget().
Referenced by updateReadyToOpen(), and url().
void KLFLibOpenResourceDlg::updateReadyToOpen | ( | ) | [protected, virtual, slot] |
Definition at line 4048 of file klflibview.cpp.
References QMap::begin(), QMap::end(), QString::isEmpty(), QMap::isEmpty(), QVariant::isValid(), KLF_ASSERT_NOT_NULL, KLFLibEngineFactory::listSubResourcesWithTitles(), retrieveRawUrl(), and QVariant::toBool().
Referenced by KLFLibOpenResourceDlg(), and updateReadyToOpenFromSender().
void KLFLibOpenResourceDlg::updateReadyToOpenFromSender | ( | bool | isready | ) | [protected, virtual, slot] |
Definition at line 4041 of file klflibview.cpp.
References QObject::setProperty(), and updateReadyToOpen().
Referenced by KLFLibOpenResourceDlg().
QUrl KLFLibOpenResourceDlg::url | ( | ) | const [virtual] |
Definition at line 4025 of file klflibview.cpp.
References QUrl::addQueryItem(), QUrl::isEmpty(), klfDbg, and retrieveRawUrl().
Referenced by queryOpenResource().