mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-12-01 03:46:42 -05:00
Move core/Parser to format/KeePass2XmlReader and core/Writer to format/KeePass2XmlWriter.
This commit is contained in:
parent
3bf0564436
commit
ee4c2c3dd4
9 changed files with 82 additions and 83 deletions
|
|
@ -19,7 +19,7 @@
|
|||
#include <QtGui/QTreeView>
|
||||
|
||||
#include "core/Database.h"
|
||||
#include "core/Parser.h"
|
||||
#include "format/KeePass2XmlReader.h"
|
||||
#include "gui/DatabaseWidget.h"
|
||||
|
||||
#include "../tests/config-keepassx-tests.h"
|
||||
|
|
@ -28,9 +28,9 @@ int main(int argc, char **argv)
|
|||
{
|
||||
QApplication app(argc, argv);
|
||||
|
||||
Database* db= new Database();
|
||||
Parser* parser = new Parser(db);
|
||||
parser->parse(QString(KEEPASSX_TEST_DIR).append("/NewDatabase.xml"));
|
||||
Database* db = new Database();
|
||||
KeePass2XmlReader* reader = new KeePass2XmlReader(db);
|
||||
reader->parse(QString(KEEPASSX_TEST_DIR).append("/NewDatabase.xml"));
|
||||
|
||||
DatabaseWidget dbWidget(db);
|
||||
dbWidget.show();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue