Allow passing a filename and password on the command line.

Passing passwords on the command line is not exactly best practice but will
greatly improve development productivity.
This commit is contained in:
Felix Geyer
2012-04-24 11:47:16 +02:00
parent 3aac16f03e
commit 974d4f5807
7 changed files with 54 additions and 11 deletions

View File

@@ -38,6 +38,7 @@ public:
explicit DatabaseOpenDialog(QFile* file, QString filename, QWidget* parent = 0);
~DatabaseOpenDialog();
Database* database();
void enterKey(const QString& pw, const QString& keyFile);
private Q_SLOTS:
void openDatabase();