21 #ifndef __ctkXMLEventSource_h
22 #define __ctkXMLEventSource_h
25 #include <QMainWindow>
26 #include <QXmlStreamReader>
29 #include <pqEventSource.h>
30 #include <pqTestUtility.h>
33 #if !defined(NO_SYMBOL_EXPORT)
34 # include "ctkQtTestingExport.h"
36 # define CTK_QTTESTING_EXPORT
50 virtual void setContent(
const QString& xmlfilename);
51 int getNextEvent(QString& widget, QString& command, QString&arguments,
int& eventType);
53 void setRestoreSettingsAuto(
bool value);
54 bool restoreSettingsAuto()
const;
56 bool settingsRecorded();
57 bool settingsUpToData();
58 bool restoreApplicationSettings();
59 QMap<QString, QString> recoverSettingsFromXML();
62 QMainWindow* mainWindow();
71 #endif // __ctkXMLEventSource_h