• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kdegames API Reference
  • KDE Home
  • Contact Us
 

libkdegames/libkdegamesprivate/kgame

  • sources
  • kde-4.14
  • kdegames
  • libkdegames
  • libkdegamesprivate
  • kgame
kmessageserver_p.h
Go to the documentation of this file.
1 /*
2  This file is part of the KDE games library
3  Copyright (C) 2001 Burkhard Lehner (Burkhard.Lehner@gmx.de)
4 
5  This library is free software; you can redistribute it and/or
6  modify it under the terms of the GNU Library General Public
7  License version 2 as published by the Free Software Foundation.
8 
9  This library is distributed in the hope that it will be useful,
10  but WITHOUT ANY WARRANTY; without even the implied warranty of
11  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12  Library General Public License for more details.
13 
14  You should have received a copy of the GNU Library General Public License
15  along with this library; see the file COPYING.LIB. If not, write to
16  the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
17  Boston, MA 02110-1301, USA.
18 */
19 
20 #ifndef __KMESSAGESERVER_P_H__
21 #define __KMESSAGESERVER_P_H__
22 
23 #include <QtNetwork/QTcpServer>
24 
25 class KMessageIO;
26 
34 class KMessageServerSocket : public QTcpServer
35 {
36  Q_OBJECT
37 
38 public:
39  explicit KMessageServerSocket (quint16 port, QObject *parent = 0);
40  ~KMessageServerSocket ();
41 
42 public slots:
43  void slotNewConnection();
44 
45 Q_SIGNALS:
46  void newClientConnected (KMessageIO *client);
47 };
48 
49 
50 
51 #endif
KMessageServerSocket
Internal class of KMessageServer.
Definition: kmessageserver_p.h:34
KMessageServerSocket::~KMessageServerSocket
~KMessageServerSocket()
Definition: kmessageserver.cpp:44
QObject
KMessageServerSocket::KMessageServerSocket
KMessageServerSocket(quint16 port, QObject *parent=0)
Definition: kmessageserver.cpp:36
KMessageIO
This abstract base class represents one end of a message connections between two clients.
Definition: kmessageio.h:57
QTcpServer
KMessageServerSocket::slotNewConnection
void slotNewConnection()
Definition: kmessageserver.cpp:48
QObject::parent
QObject * parent() const
KMessageServerSocket::newClientConnected
void newClientConnected(KMessageIO *client)
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:18:54 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

libkdegames/libkdegamesprivate/kgame

Skip menu "libkdegames/libkdegamesprivate/kgame"
  • Main Page
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members
  • Related Pages

kdegames API Reference

Skip menu "kdegames API Reference"
  • granatier
  • kapman
  • kblackbox
  • kgoldrunner
  • kigo
  • kmahjongg
  • KShisen
  • ksquares
  • libkdegames
  •   highscore
  •   libkdegamesprivate
  •     kgame
  • libkmahjongg
  • palapeli
  •   libpala

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal