|
svgui
1.9
|
#include <InteractiveFileFinder.h>


Public Member Functions | |
| virtual | ~InteractiveFileFinder () |
| void | setApplicationSessionExtension (QString extension) |
| Specify the extension for this application's session files (without the dot) More... | |
| QString | getApplicationSessionExtension () const |
| QString | getOpenFileName (FileType type, QString fallbackLocation="") |
| QString | getSaveFileName (FileType type, QString fallbackLocation="") |
| void | registerLastOpenedFilePath (FileType type, QString path) |
| QString | find (FileType type, QString location, QString lastKnownLocation="") |
Static Public Member Functions | |
| static void | setParentWidget (QWidget *) |
| static InteractiveFileFinder * | getInstance () |
Protected Member Functions | |
| InteractiveFileFinder () | |
| QString | findRelative (QString location, QString relativeTo) |
| QString | locateInteractive (FileType type, QString thing) |
Protected Attributes | |
| QString | m_sessionExtension |
| QString | m_lastLocatedLocation |
| QWidget * | m_parent |
Static Protected Attributes | |
| static InteractiveFileFinder | m_instance |
Definition at line 25 of file InteractiveFileFinder.h.
|
virtual |
Definition at line 44 of file InteractiveFileFinder.cpp.
|
protected |
Definition at line 35 of file InteractiveFileFinder.cpp.
| void InteractiveFileFinder::setApplicationSessionExtension | ( | QString | extension | ) |
Specify the extension for this application's session files (without the dot)
Definition at line 55 of file InteractiveFileFinder.cpp.
References m_sessionExtension.
|
inline |
Definition at line 37 of file InteractiveFileFinder.h.
References m_sessionExtension.
| QString InteractiveFileFinder::getOpenFileName | ( | FileType | type, |
| QString | fallbackLocation = "" |
||
| ) |
Definition at line 61 of file InteractiveFileFinder.cpp.
References m_parent, and m_sessionExtension.
Referenced by ImageDialog::browseClicked(), and locateInteractive().
| QString InteractiveFileFinder::getSaveFileName | ( | FileType | type, |
| QString | fallbackLocation = "" |
||
| ) |
Definition at line 227 of file InteractiveFileFinder.cpp.
References m_parent, and m_sessionExtension.
| void InteractiveFileFinder::registerLastOpenedFilePath | ( | FileType | type, |
| QString | path | ||
| ) |
Definition at line 417 of file InteractiveFileFinder.cpp.
| QString InteractiveFileFinder::find | ( | FileType | type, |
| QString | location, | ||
| QString | lastKnownLocation = "" |
||
| ) |
Definition at line 475 of file InteractiveFileFinder.cpp.
References findRelative(), locateInteractive(), and m_lastLocatedLocation.
|
static |
Definition at line 49 of file InteractiveFileFinder.cpp.
References getInstance(), and m_parent.
|
inlinestatic |
Definition at line 49 of file InteractiveFileFinder.h.
References m_instance.
Referenced by ImageDialog::browseClicked(), and setParentWidget().
|
protected |
Definition at line 500 of file InteractiveFileFinder.cpp.
Referenced by find().
|
protected |
Definition at line 540 of file InteractiveFileFinder.cpp.
References getOpenFileName(), and m_lastLocatedLocation.
Referenced by find().
|
staticprotected |
Definition at line 53 of file InteractiveFileFinder.h.
Referenced by getInstance().
|
protected |
Definition at line 58 of file InteractiveFileFinder.h.
Referenced by getApplicationSessionExtension(), getOpenFileName(), getSaveFileName(), and setApplicationSessionExtension().
|
protected |
Definition at line 59 of file InteractiveFileFinder.h.
Referenced by find(), and locateInteractive().
|
protected |
Definition at line 61 of file InteractiveFileFinder.h.
Referenced by getOpenFileName(), getSaveFileName(), and setParentWidget().