|  | Home · All Classes · Main Classes · Annotated · Grouped Classes · Functions |

# fortuneserver.h Example File
network/threadedfortuneserver/fortuneserver.h

        #ifndef FORTUNESERVER_H
        #define FORTUNESERVER_H

        #include <QStringList>
        #include <QTcpServer>

        class FortuneServer : public QTcpServer
        {
            Q_OBJECT

        public:
            FortuneServer(QObject *parent = 0);

        protected:
            void incomingConnection(int socketDescriptor);

        private:
            QStringList fortunes;
        };

        #endif