New feature for KGet: Webinterface.
[kdenetwork.git] / kget / extensions / webinterface / httpserver.h
blob2c814f0e29cd5de91c8cb37fe10bd4412eac6779
1 /* This file is part of the KDE project
3 Copyright (C) 2008 Urs Wolfer <uwolfer @ kde.org>
5 This program is free software; you can redistribute it and/or
6 modify it under the terms of the GNU General Public
7 License as published by the Free Software Foundation; either
8 version 2 of the License, or (at your option) any later version.
9 */
11 #ifndef HTTPSERVER_H
12 #define HTTPSERVER_H
14 #include <QWidget>
16 class QTcpServer;
18 class HttpServer : public QObject
20 Q_OBJECT
22 public:
23 HttpServer(QWidget *parent = 0);
25 private slots:
26 void handleRequest();
28 private:
29 QTcpServer *tcpServer;
32 #endif