LeechCraft  0.6.70-15082-g543737046d
Modular cross-platform feature rich live environment.
stddatafiltermenucreator.h
Go to the documentation of this file.
1 /**********************************************************************
2  * LeechCraft - modular cross-platform feature rich internet client.
3  * Copyright (C) 2006-2014 Georg Rudoy
4  *
5  * Distributed under the Boost Software License, Version 1.0.
6  * (See accompanying file LICENSE or copy at https://www.boost.org/LICENSE_1_0.txt)
7  **********************************************************************/
8 
9 #pragma once
10 
11 #include <QObject>
12 #include "xpcconfig.h"
13 
14 class QVariant;
15 class IEntityManager;
16 class QMenu;
17 
18 namespace LC::Util
19 {
44  class UTIL_XPC_API StdDataFilterMenuCreator : public QObject
45  {
46  QByteArray ChosenPlugin_;
47  QByteArray ChosenVariant_;
48  public:
64  StdDataFilterMenuCreator (const QVariant& data, IEntityManager *iem, QMenu *menu);
65 
73  const QByteArray& GetChosenPlugin () const;
74 
87  const QByteArray& GetChosenVariant () const;
88  };
89 }
xpcconfig.h
LC::Util
Definition: icoreproxy.h:33
LC::Util::StdDataFilterMenuCreator
Adds actions to handle some data with relevant IDataFilter plugins to a menu.
Definition: stddatafiltermenucreator.h:44
IEntityManager
Proxy to core entity manager.
Definition: ientitymanager.h:31
UTIL_XPC_API
#define UTIL_XPC_API
Definition: xpcconfig.h:16