jsoncontroller.h 393 B

1234567891011121314151617181920
  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. bool sessionEnabled() const { return false; }
  10. bool transactionEnabled() const { return false; }
  11. public slots:
  12. void index();
  13. void json();
  14. };
  15. #endif // JSONCONTROLLER_H