umbrello
2.39.2
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>
#include <QApplication>
#include <QCommandLineParser>
#include <KConfig>
#include <KLocalizedString>
#include <kcrash.h>
#include <ktip.h>
#include <QUrl>
#include <stdio.h>
Macros | |
#define | DBG_SRC QStringLiteral("main") |
Functions | |
void | getFiles (QStringList &files, const QString &path, QStringList &filters) |
getFiles More... | |
bool | showGUI (const QCommandLineParser *args) |
static QUrl | makeURL (const QString &input) |
void | initDocument (const QStringList &args, Uml::ProgrammingLanguage::Enum progLang) |
void | exportAllViews (const QString &extension, QUrl directory, bool useFolders) |
int | main (int argc, char *argv[]) |
#define DBG_SRC QStringLiteral("main") |
void exportAllViews | ( | const QString & | extension, |
QUrl | directory, | ||
bool | useFolders | ||
) |
void getFiles | ( | QStringList & | files, |
const QString & | path, | ||
QStringList & | filters | ||
) |
getFiles
files | |
path | |
filters |
void initDocument | ( | const QStringList & | 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. |
|
static |
Creates a QUrl from a string.
bool showGUI | ( | const QCommandLineParser * | args | ) |
Determines if the application GUI should be shown based on command line arguments.
args | The command line arguments given. |