jsoncontroller.h 496 B

1234567891011121314151617181920212223
  1. #ifndef JSONCONTROLLER_H
  2. #define JSONCONTROLLER_H
  3. #include "applicationcontroller.h"
  4. class T_CONTROLLER_EXPORT JsonController : public ApplicationController
  5. {
  6. Q_OBJECT
  7. public:
  8. JsonController() { }
  9. JsonController(const JsonController &other);
  10. bool sessionEnabled() const { return false; }
  11. bool transactionEnabled() const { return false; }
  12. public slots:
  13. void index();
  14. void json();
  15. };
  16. T_DECLARE_CONTROLLER(JsonController, jsoncontroller)
  17. #endif // JSONCONTROLLER_H