Quark  0.1
ObjectUtils.h++
Go to the documentation of this file.
1 #ifndef __libquark_util_ObjectUtils_hxx
2 #define __libquark_util_ObjectUtils_hxx
3 
4 #include <QObject>
5 #include <QVariantList>
6 
7 #include <quark/Quark.h++>
8 
9 namespace quark {
10 namespace util {
11 
18 {
19  public:
20 
30  static bool invokeSlot(QObject *target, const char *slot,
31  const QVariantList &args = QVariantList());
32 
37  static const int MAX_SLOT_ARGS;
38 
39  private:
40 
41  ObjectUtils();
42 
43  Q_DISABLE_COPY(ObjectUtils);
44 };
45 
46 } // namespace util
47 } // namespace quark
48 
49 #endif // __libquark_util_ObjectUtils_hxx
static const int MAX_SLOT_ARGS
The maximum number of slot arguments that can be passed to invokeSlot().
Definition: ObjectUtils.h++:37
Definition: BarChartView.h++:6
#define LIBQUARK_API
Definition: Quark.h++:18
General-purpose QObject utilities.
Definition: ObjectUtils.h++:17