Remove libqxt from our svn. We don't depend on it anymore thanks to
[quassel.git] / src / contrib / libqxt-2007-10-24 / tests / web / upload / main.cpp
diff --git a/src/contrib/libqxt-2007-10-24/tests/web/upload/main.cpp b/src/contrib/libqxt-2007-10-24/tests/web/upload/main.cpp
deleted file mode 100644 (file)
index 36f461e..0000000
+++ /dev/null
@@ -1,53 +0,0 @@
-#include <QCoreApplication>
-#include <QxtWebCore>
-#include <QxtWebController>
-#include <QxtFcgiConnector>
-#include <QTimer>
-class test : public QxtWebController
-{
-Q_OBJECT
-public:
-    test():QxtWebController("root")
-    {
-    }
-
-public slots:
-
-    int index()
-    {
-        echo()<<
-            "<form method='POST' enctype='multipart/form-data' action='/root/upload'>"
-            "File to upload: <input type=file name=upfile><br>"
-            "Notes about the file: <input type=text name=note><br>"
-            "<br>"
-            "<input type=submit value=Press> to upload the file!"
-            "</form>";
-        return 0;
-    }
-    int upload()
-    {
-
-        QByteArray d= QxtWebCore::content(100000000);
-        QxtWebCore::sendHeader();
-
-        QByteArray io;
-        QxtWebCore::socket()->write(d);
-        return 0;
-    }
-};
-
-
-
-
-
-int main(int argc, char *argv[])
-{
-    QCoreApplication app(argc, argv);
-    QxtWebCore core(new QxtFcgiConnector());
-    core.start();
-    test t;
-    return app.exec();
-}
-
-
-#include "main.moc"