|
umbrello 2.34.70-5524f40e1
Umbrello UML Modeller is a Unified Modelling Language (UML) diagram program based on KDE Technology
|
#include "debug_utils.h"#include "uml.h"#include "version.h"#include "umldoc.h"#include "cmdlineexportallviewsevent.h"#include "umlviewimageexportermodel.h"#include "umbrellosettings.h"#include <kaboutdata.h>#include <kapplication.h>#include <kcmdlineargs.h>#include <kconfig.h>#include <KLocalizedString>#include <ktip.h>#include <KUrl>#include <stdio.h>Macros | |
| #define | DBG_SRC QLatin1String("main") |
| #define | i18n ki18n |
Functions | |
| void | getFiles (QStringList &files, const QString &path, QStringList &filters) |
| getFiles More... | |
| bool | showGUI (KCmdLineArgs *args) |
| void | initDocument (KCmdLineArgs *args, Uml::ProgrammingLanguage::Enum progLang) |
| void | exportAllViews (KCmdLineArgs *args, const QStringList &exportOpt) |
| int | main (int argc, char *argv[]) |
| #define DBG_SRC QLatin1String("main") |
| #define i18n ki18n |
| void exportAllViews | ( | KCmdLineArgs * | args, |
| const QStringList & | exportOpt | ||
| ) |
Export all the views in the document using the command line args set by the user. Errors that occurred while exporting, if any, are shown using uError().
| args | The command line arguments given. |
| exportOpt | A list containing all the "export" arguments given. |
| void getFiles | ( | QStringList & | files, |
| const QString & | path, | ||
| QStringList & | filters | ||
| ) |
getFiles
| files | |
| path | |
| filters |
| void initDocument | ( | KCmdLineArgs * | args, |
| Uml::ProgrammingLanguage::Enum | progLang | ||
| ) |
Initializes the document used by the application. If a file was specified in command line arguments, opens that file. Else, it opens the last opened file, or a new file if there isn't any "last file used" in the configuration.
| args | The command line arguments given. |
| progLang | The programming language to set if no existing file was opened. |
| bool showGUI | ( | KCmdLineArgs * | args | ) |
Determines if the application GUI should be shown based on command line arguments.
| args | The command line arguments given. |