• Skip to content
  • Skip to link menu
Trinity API Reference
  • Trinity API Reference
  • libtdegames
 

libtdegames

kgameerrordialog.h

00001 /*
00002     This file is part of the TDE games library
00003     Copyright (C) 2001 Andreas Beckermann (b_mann@gmx.de)
00004     Copyright (C) 2001 Martin Heni (martin@heni-online.de)
00005 
00006     This library is free software; you can redistribute it and/or
00007     modify it under the terms of the GNU Library General Public
00008     License version 2 as published by the Free Software Foundation.
00009 
00010     This library is distributed in the hope that it will be useful,
00011     but WITHOUT ANY WARRANTY; without even the implied warranty of
00012     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00013     Library General Public License for more details.
00014 
00015     You should have received a copy of the GNU Library General Public License
00016     along with this library; see the file COPYING.LIB.  If not, write to
00017     the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
00018     Boston, MA 02110-1301, USA.
00019 */
00020 
00021 #ifndef __KGAMEERRORDIALOG_H__
00022 #define __KGAMEERRORDIALOG_H__
00023 
00024 #include <kdialogbase.h>
00025 
00026 class KGame;
00027 class KGameErrorDialogPrivate;
00028 
00039 class KGameErrorDialog : public TQObject
00040 {
00041     Q_OBJECT
00042   
00043 public:
00044     KGameErrorDialog(TQWidget* parent);
00045     ~KGameErrorDialog();
00046 
00053     void setKGame(const KGame* g);
00054 
00061     void connectionError(TQString s = TQString());
00062 
00063 public slots:
00064     void slotError(int error, TQString text);
00065     
00071     void slotServerConnectionLost();
00072 
00078     void slotClientConnectionLost(TQ_UINT32 clientID,bool broken);
00079     
00088     void slotUnsetKGame();
00089 
00090 protected:
00091     void error(const TQString& errorText, TQWidget* parent = 0);
00092 
00093 private:
00094     KGameErrorDialogPrivate* d;
00095 };
00096 
00104 class KGameErrorMessageDialog : public KDialogBase
00105 {
00106     Q_OBJECT
00107   
00108 public:
00109     KGameErrorMessageDialog(TQWidget* parent);
00110     ~KGameErrorMessageDialog();
00111 
00112 private:
00113 };
00114 
00115 #endif

libtdegames

Skip menu "libtdegames"
  • Main Page
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Class Members
  • Related Pages

libtdegames

Skip menu "libtdegames"
  • libtdegames
Generated for libtdegames by doxygen 1.6.3
This website is maintained by Timothy Pearson.