Home · All Namespaces · All Classes · Grouped Classes · Modules · Functions codeless banner

obexquoteserver.h Example File
obex/simpleobexdemo/obexquoteserver.h

    /****************************************************************************
    **
    ** This file is part of the Qt Extended Opensource Package.
    **
    ** Copyright (C) 2009 Trolltech ASA.
    **
    ** $QT_EXTENDED_DUAL_LICENSE$
    **
    ****************************************************************************/

    #ifndef OBEXQUOTESERVER_H
    #define OBEXQUOTESERVER_H

    #include <QHostAddress>

    class QTcpServer;

    class ObexQuoteServer : public QObject
    {
        Q_OBJECT
    public:
        ObexQuoteServer(QObject *parent = 0);

        bool run();
        QHostAddress serverAddress() const;
        quint16 serverPort();

    private slots:
        void newConnection();

    private:
        QTcpServer *m_tcpServer;
    };

    #endif


Copyright © 2009 Trolltech Trademarks
Qt Extended 4.4.3