![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include <cmdlineparser.h>
Public Types | |
| enum | Result { Ok , Help , Error } |
| enum | ShowState { Untouched , Show , Hide , Activate } |
| enum | RegisterState { None , Register , Unregister } |
Public Member Functions | |
| CmdLineParser (const QStringList &arguments) | |
| Result | parse () |
| void | setCollectionFile (const QString &file) |
| QString | collectionFile () const |
| bool | collectionFileGiven () const |
| QString | cloneFile () const |
| QUrl | url () const |
| bool | enableRemoteControl () const |
| ShowState | contents () const |
| ShowState | index () const |
| ShowState | bookmarks () const |
| ShowState | search () const |
| QString | currentFilter () const |
| bool | removeSearchIndex () const |
| bool | rebuildSearchIndex () const |
| RegisterState | registerRequest () const |
| QString | helpFile () const |
| void | showMessage (const QString &msg, bool error) |
Definition at line 13 of file cmdlineparser.h.
| Enumerator | |
|---|---|
| None | |
| Register | |
| Unregister | |
Definition at line 19 of file cmdlineparser.h.
| Enumerator | |
|---|---|
| Ok | |
| Help | |
| Error | |
Definition at line 17 of file cmdlineparser.h.
| Enumerator | |
|---|---|
| Untouched | |
| Show | |
| Hide | |
| Activate | |
Definition at line 18 of file cmdlineparser.h.
| CmdLineParser::CmdLineParser | ( | const QStringList & | arguments | ) |
Definition at line 49 of file cmdlineparser.cpp.
| CmdLineParser::ShowState CmdLineParser::bookmarks | ( | ) | const |
Definition at line 298 of file cmdlineparser.cpp.
Referenced by MainWindow::MainWindow().
| QString CmdLineParser::cloneFile | ( | ) | const |
| QString CmdLineParser::collectionFile | ( | ) | const |
Definition at line 262 of file cmdlineparser.cpp.
| bool CmdLineParser::collectionFileGiven | ( | ) | const |
Definition at line 268 of file cmdlineparser.cpp.
Referenced by MainWindow::MainWindow().
| CmdLineParser::ShowState CmdLineParser::contents | ( | ) | const |
Definition at line 286 of file cmdlineparser.cpp.
Referenced by MainWindow::MainWindow().
| QString CmdLineParser::currentFilter | ( | ) | const |
Definition at line 310 of file cmdlineparser.cpp.
| bool CmdLineParser::enableRemoteControl | ( | ) | const |
Definition at line 280 of file cmdlineparser.cpp.
| QString CmdLineParser::helpFile | ( | ) | const |
Definition at line 328 of file cmdlineparser.cpp.
| CmdLineParser::ShowState CmdLineParser::index | ( | ) | const |
Definition at line 292 of file cmdlineparser.cpp.
Referenced by MainWindow::MainWindow().
| CmdLineParser::Result CmdLineParser::parse | ( | ) |
Definition at line 70 of file cmdlineparser.cpp.
| bool CmdLineParser::rebuildSearchIndex | ( | ) | const |
| CmdLineParser::RegisterState CmdLineParser::registerRequest | ( | ) | const |
Definition at line 322 of file cmdlineparser.cpp.
Referenced by preliminarySetup().
| bool CmdLineParser::removeSearchIndex | ( | ) | const |
Definition at line 316 of file cmdlineparser.cpp.
Referenced by preliminarySetup().
| CmdLineParser::ShowState CmdLineParser::search | ( | ) | const |
Definition at line 304 of file cmdlineparser.cpp.
Referenced by MainWindow::MainWindow().
Definition at line 256 of file cmdlineparser.cpp.
Definition at line 240 of file cmdlineparser.cpp.
| QUrl CmdLineParser::url | ( | ) | const |
Definition at line 274 of file cmdlineparser.cpp.