Skip to content
Skip to link menu
Trinity API Reference
Trinity API Reference
libkdegames
libkdegames
libkdegames
kgame
dialogs
kgameerrordialog.h
1
/*
2
This file is part of the KDE games library
3
Copyright (C) 2001 Andreas Beckermann (b_mann@gmx.de)
4
Copyright (C) 2001 Martin Heni (martin@heni-online.de)
5
6
This library is free software; you can redistribute it and/or
7
modify it under the terms of the GNU Library General Public
8
License version 2 as published by the Free Software Foundation.
9
10
This library is distributed in the hope that it will be useful,
11
but WITHOUT ANY WARRANTY; without even the implied warranty of
12
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13
Library General Public License for more details.
14
15
You should have received a copy of the GNU Library General Public License
16
along with this library; see the file COPYING.LIB. If not, write to
17
the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
18
Boston, MA 02110-1301, USA.
19
*/
20
21
#ifndef __KGAMEERRORDIALOG_H__
22
#define __KGAMEERRORDIALOG_H__
23
24
#include <kdialogbase.h>
25
26
class
KGame
;
27
class
KGameErrorDialogPrivate;
28
39
class
KGameErrorDialog
:
public
TQObject
40
{
41
Q_OBJECT
42
TQ_OBJECT
43
public
:
44
KGameErrorDialog
(TQWidget* parent);
45
~
KGameErrorDialog
();
46
53
void
setKGame
(
const
KGame
* g);
54
61
void
connectionError
(TQString s = TQString());
62
63
public
slots:
64
void
slotError(
int
error, TQString text);
65
71
void
slotServerConnectionLost
();
72
78
void
slotClientConnectionLost
(TQ_UINT32 clientID,
bool
broken);
79
88
void
slotUnsetKGame
();
89
90
protected
:
91
void
error(
const
TQString& errorText, TQWidget* parent = 0);
92
93
private
:
94
KGameErrorDialogPrivate* d;
95
};
96
104
class
KGameErrorMessageDialog
:
public
KDialogBase
105
{
106
Q_OBJECT
107
TQ_OBJECT
108
public
:
109
KGameErrorMessageDialog
(TQWidget* parent);
110
~
KGameErrorMessageDialog
();
111
112
private
:
113
};
114
115
#endif
libkdegames
Skip menu "libkdegames"
Main Page
Class Hierarchy
Alphabetical List
Class List
File List
Class Members
Related Pages
libkdegames
Skip menu "libkdegames"
libkdegames