Fcitx
|
Utilities to enable use object with signal. More...
#include <functional>
#include <memory>
#include <string>
#include <utility>
#include <fcitx-utils/fcitxutils_export.h>
#include <fcitx-utils/macros.h>
#include <fcitx-utils/metastring.h>
#include <fcitx-utils/signals.h>
Go to the source code of this file.
Classes | |
class | fcitx::SignalAdaptor< T, Combiner > |
Helper class to register class. More... | |
class | fcitx::ConnectableObject |
Base class for all object supports connection. More... | |
struct | fcitx::ConnectableObject::Destroyed |
Macros | |
#define | FCITX_DECLARE_SIGNAL(CLASS_NAME, NAME, ...) |
Declare signal by type. More... | |
#define | FCITX_DEFINE_SIGNAL(CLASS_NAME, NAME) ::fcitx::SignalAdaptor<CLASS_NAME::NAME> CLASS_NAME##NAME##Adaptor { this } |
Declare a signal. | |
#define | FCITX_DEFINE_SIGNAL_PRIVATE(CLASS_NAME, NAME) ::fcitx::SignalAdaptor<CLASS_NAME::NAME> CLASS_NAME##NAME##Adaptor { q_ptr } |
Declare a signal in pimpl class. | |
Typedefs | |
using | fcitx::ObjectDestroyed = ConnectableObject::Destroyed |
Short hand for destroyed signal. | |
Utilities to enable use object with signal.
Definition in file connectableobject.h.