Remove libqxt from our svn. We don't depend on it anymore thanks to
[quassel.git] / src / contrib / libqxt-2007-10-24 / tests / web / async / main.cpp
diff --git a/src/contrib/libqxt-2007-10-24/tests/web/async/main.cpp b/src/contrib/libqxt-2007-10-24/tests/web/async/main.cpp
deleted file mode 100644 (file)
index 95a27af..0000000
+++ /dev/null
@@ -1,73 +0,0 @@
-#include <QCoreApplication>
-#include <QxtWebCore>
-#include <QxtWebController>
-#include <QxtScgiConnector>
-#include <QTimer>
-class test : public QxtWebController
-        {
-        Q_OBJECT
-        public:
-                test():QxtWebController("root")
-                       {
-                       }
-
-       public slots:
-
-                int index()
-                        {
-                       QTimer::singleShot(20,this,SLOT(async()));
-                       echo()<<"foo";
-                        return 2;
-                        }
-       private slots:
-               
-               void async()
-                       {
-                       QxtWebCore::send("bar");
-                       QxtWebCore::close();
-                       }
-
-        };
-
-class err : public QxtWebController
-        {
-        Q_OBJECT
-        public:
-                err():QxtWebController("error")
-                       {
-                       }
-
-       public slots:
-
-                int index(QString a=QString("500"),QString b=QString(),QString c=QString(),QString d=QString(),
-                       QString e=QString(),QString f=QString(),QString g=QString())
-                        {
-                       echo()<<"shits<br/>"
-                       "error "<<a<<"<br/>"
-                       <<b<<"<br/>"
-                       <<c<<"<br/>"
-                       <<d<<"<br/>"
-                       <<e<<"<br/>"
-                       <<f<<"<br/>"
-                       <<g<<"<br/>";
-                        return 0;
-                        }
-
-        };
-
-
-
-
-
-int main(int argc, char *argv[])
-       {
-       QCoreApplication app(argc, argv);
-       QxtWebCore core(new QxtScgiConnector());
-       core.start(4000);
-       test t;
-       err e;
-       return app.exec();
-       }
-
-
-#include "main.moc"