5 #ifndef __libquark_gui_DialogClosure_hxx 6 #define __libquark_gui_DialogClosure_hxx 11 #include <QScopedPointer> 12 #include <QVariantList> 26 DialogClosure(QWidget *parent, QDialog *dialog);
29 void setFeature(
const QString &feature);
30 void setSlot(QObject *target,
const char *slot,
31 const char *cancelSlot = NULL);
32 bool addSlotArg(
const QVariant &arg);
38 void handleResult(
int result);
39 void handleResult(
const QString &result);
40 bool invokeCancelSlot();
44 bool invokeSlot(
const QVariant &result);
48 QScopedPointer<QDialog> _dialog;
52 const char *_cancelSlot;
53 QVariantList _slotArgs;
55 Q_DISABLE_COPY(DialogClosure);
63 #endif // __libquark_gui_DialogClosure_hxx Definition: BarChartView.h++:6
#define LIBQUARK_API
Definition: Quark.h++:18