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

tdeabc

  • tdeabc
errorhandler.h
1/*
2 This file is part of libtdeabc.
3
4 Copyright (c) 2002 Tobias Koenig <tokoe@kde.org>
5 Copyright (c) 2003 Cornelius Schumacher <schumacher@kde.org>
6
7 This library is free software; you can redistribute it and/or
8 modify it under the terms of the GNU Library General Public
9 License as published by the Free Software Foundation; either
10 version 2 of the License, or (at your option) any later version.
11
12 This library is distributed in the hope that it will be useful,
13 but WITHOUT ANY WARRANTY; without even the implied warranty of
14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15 Library General Public License for more details.
16
17 You should have received a copy of the GNU Library General Public License
18 along with this library; see the file COPYING.LIB. If not, write to
19 the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
20 Boston, MA 02110-1301, USA.
21*/
22#ifndef KABC_ERRORHANDLER_H
23#define KABC_ERRORHANDLER_H
24
25#include <tqstring.h>
26
27#include <tdelibs_export.h>
28
29class TQWidget;
30
31namespace TDEABC {
32
40class KABC_EXPORT ErrorHandler
41{
42 public:
46 virtual void error( const TQString &msg ) = 0;
47};
48
52class KABC_EXPORT ConsoleErrorHandler : public ErrorHandler
53{
54 public:
55 virtual void error( const TQString &msg );
56};
57
64class KABC_EXPORT GUIErrorHandler : public ErrorHandler
65{
66 public:
67 virtual void error( const TQString &msg );
68};
69
74class KABC_EXPORT GuiErrorHandler : public ErrorHandler
75{
76 public:
82 GuiErrorHandler( TQWidget *parent );
83
84 virtual void error( const TQString &msg );
85
86 private:
87 TQWidget *mParent;
88
89 class Private;
90 Private *d;
91};
92
93}
94
95#endif
TDEABC::ConsoleErrorHandler
This class prints the error messages to stderr via kdError().
Definition: errorhandler.h:53
TDEABC::ErrorHandler
Abstract class that provides displaying of error messages.
Definition: errorhandler.h:41
TDEABC::ErrorHandler::error
virtual void error(const TQString &msg)=0
Show error message.
TDEABC::GUIErrorHandler
This class shows messages boxes for every error message.
Definition: errorhandler.h:65
TDEABC::GuiErrorHandler
This class shows messages boxes for every error message.
Definition: errorhandler.h:75
TDEABC
static data, shared by ALL addressee objects
Definition: address.h:48

tdeabc

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

tdeabc

Skip menu "tdeabc"
  • arts
  • dcop
  • dnssd
  • interfaces
  •   kspeech
  •     interface
  •     library
  •   tdetexteditor
  • kate
  • kded
  • kdoctools
  • kimgio
  • kjs
  • libtdemid
  • libtdescreensaver
  • tdeabc
  • tdecmshell
  • tdecore
  • tdefx
  • tdehtml
  • tdeinit
  • tdeio
  •   bookmarks
  •   httpfilter
  •   kpasswdserver
  •   kssl
  •   tdefile
  •   tdeio
  •   tdeioexec
  • tdeioslave
  •   http
  • tdemdi
  •   tdemdi
  • tdenewstuff
  • tdeparts
  • tdeprint
  • tderandr
  • tderesources
  • tdespell2
  • tdesu
  • tdeui
  • tdeunittest
  • tdeutils
  • tdewallet
Generated for tdeabc by doxygen 1.9.4
This website is maintained by Timothy Pearson.