PhoneBookServlet.h 469 B

1234567891011121314151617181920212223242526272829
  1. #ifndef PHONEBOOKSERVLET_H
  2. #define PHONEBOOKSERVLET_H
  3. #include "AbstractServlet.h"
  4. class HttpServer;
  5. #include <QContactManager>
  6. QTM_USE_NAMESPACE
  7. class PhoneBookServlet : public AbstractServlet
  8. {
  9. Q_OBJECT
  10. public:
  11. explicit PhoneBookServlet(HttpServer *parent);
  12. ~PhoneBookServlet();
  13. void request(HttpRequest *request, HttpResponse *response);
  14. signals:
  15. public slots:
  16. private:
  17. QContactManager* m_contactManager;
  18. };
  19. #endif // PHONEBOOKSERVLET_H