kde plugin merge

git-svn-id: https://svn.code.sf.net/p/keepassx/code/trunk@118 b624d157-de02-0410-bad0-e51aec6abb33
master
tarek_saidi 18 years ago
parent 39a898cd02
commit 7e54d5f317
  1. 5
      src/plugins/kde/keepassx-kde.cpp
  2. 4
      src/plugins/kde/keepassx-kde.pro

@ -19,6 +19,7 @@
***************************************************************************/
#include <kapplication.h>
#include <kfiledialog.h>
#include <kcmdlineargs.h>
#include "keepassx-kde.h"
@ -37,6 +38,6 @@ QStringList KdePlugin::openExistingFilesDialog(QWidget* parent,QString title,QSt
QString KdePlugin::saveFileDialog(QWidget* parent,QString title,QString dir,QStringList Filters,bool OverWriteWarn){return QString();}
QApplication* KdePlugin::getMainAppObject(int argc, char** argv){
KCmdLineArgs::init(argc,argv,"keepassx","KeePassX","Cross Platform Password Manager","0.2.3");
return dynamic_cast<QApplication*>( new KApplication() );
}

@ -1,9 +1,9 @@
INCLUDEPATH += /opt/kde4/include
INCLUDEPATH += /usr/lib/kde4/include
TEMPLATE = lib
CONFIG += plugin release
HEADERS += keepassx-kde.h
SOURCES += keepassx-kde.cpp
MOC_DIR = build/moc
OBJECTS_DIR = build/
LIBS+=-L/opt/kde4/lib/ -lkdeui
LIBS+=-L/usr/lib/kde4/lib -lkio -lkdecore