Remove remnants of QAction inheritance from SearchMatch

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=746951
This commit is contained in:
Ryan P. Bitanga 2007-12-10 18:04:45 +00:00
parent f1df93c794
commit 5f7c078705
3 changed files with 11 additions and 7 deletions

View File

@ -21,6 +21,7 @@
#define RUNNER_H #define RUNNER_H
#include <QtCore/QObject> #include <QtCore/QObject>
#include <QtCore/QStringList>
#include <plasma/plasma_export.h> #include <plasma/plasma_export.h>
#include <plasma/searchmatch.h> #include <plasma/searchmatch.h>

View File

@ -17,6 +17,11 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/ */
#include <QVariant>
#include <QStringList>
#include <QIcon>
#include "searchmatch.h" #include "searchmatch.h"
#include "abstractrunner.h" #include "abstractrunner.h"
@ -154,5 +159,3 @@ void SearchMatch::exec()
} }
} }
#include "searchmatch.moc"

View File

@ -20,20 +20,20 @@
#ifndef SEARCHACTION_H #ifndef SEARCHACTION_H
#define SEARCHACTION_H #define SEARCHACTION_H
#include <QtGui/QAction>
#include <plasma/plasma_export.h> #include <plasma/plasma_export.h>
class QIcon;
class QVariant;
class QString;
namespace Plasma namespace Plasma
{ {
class SearchContext; class SearchContext;
class AbstractRunner; class AbstractRunner;
class PLASMA_EXPORT SearchMatch /*: public QAction*/ class PLASMA_EXPORT SearchMatch
{ {
// Q_OBJECT
public: public:
enum Type { InformationalMatch, enum Type { InformationalMatch,
ExactMatch, ExactMatch,