-KDE-Plugin: added KDE icon loader to load KDE's currunt icon theme (incomplete) -reverted change in the group combobox in the editentrydialog git-svn-id: https://svn.code.sf.net/p/keepassx/code/trunk@141 b624d157-de02-0410-bad0-e51aec6abb33master
parent
57416c61d2
commit
05ec5eb40c
@ -0,0 +1,33 @@ |
|||||||
|
/***************************************************************************
|
||||||
|
* Copyright (C) 2007 by Tarek Saidi * |
||||||
|
* tarek.saidi@arcor.de * |
||||||
|
* * |
||||||
|
* This program is free software; you can redistribute it and/or modify * |
||||||
|
* it under the terms of the GNU General Public License as published by * |
||||||
|
* the Free Software Foundation; Version 2 of the license only. * |
||||||
|
* * |
||||||
|
* This program is distributed in the hope that it will be useful, * |
||||||
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of * |
||||||
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * |
||||||
|
* GNU General Public License for more details. * |
||||||
|
* * |
||||||
|
* You should have received a copy of the GNU General Public License * |
||||||
|
* along with this program; if not, write to the * |
||||||
|
* Free Software Foundation, Inc., * |
||||||
|
* 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * |
||||||
|
***************************************************************************/ |
||||||
|
#include <QString> |
||||||
|
#include <QStringList> |
||||||
|
#include <QIcon> |
||||||
|
|
||||||
|
#ifndef _I_ICON_THEME_H_ |
||||||
|
#define _I_ICON_THEME_H_ |
||||||
|
|
||||||
|
class IIconTheme{ |
||||||
|
public: |
||||||
|
virtual ~IIconTheme(){} |
||||||
|
virtual QIcon getIcon(const QString& name)=0; |
||||||
|
}; |
||||||
|
Q_DECLARE_INTERFACE(IIconTheme,"org.KeePassX.IconThemeInterface/0.2.3") |
||||||
|
|
||||||
|
#endif |
@ -1,9 +1,9 @@ |
|||||||
|
INCLUDEPATH += /usr/lib/kde4/include |
||||||
INCLUDEPATH += /opt/kde4/include |
|
||||||
TEMPLATE = lib |
TEMPLATE = lib |
||||||
CONFIG += plugin release |
CONFIG += plugin release |
||||||
HEADERS += keepassx-kde.h |
HEADERS += keepassx-kde.h |
||||||
SOURCES += keepassx-kde.cpp |
SOURCES += keepassx-kde.cpp |
||||||
MOC_DIR = build/moc |
MOC_DIR = ../../../build/moc |
||||||
OBJECTS_DIR = build/ |
OBJECTS_DIR = ../../../build |
||||||
LIBS+=-L/opt/kde4/lib -lkio -lkdecore |
TARGET = ../../../lib/keepassx-kde |
||||||
|
LIBS+=-L/usr/lib/kde4/lib -lkio -lkdecore |
||||||
|
Reference in new issue