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

kabc

  • kabc
errorhandler.h
1 /*
2  This file is part of libkabc.
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 <kdelibs_export.h>
28 
29 class TQWidget;
30 
31 namespace KABC {
32 
40 class KABC_EXPORT ErrorHandler
41 {
42  public:
46  virtual void error( const TQString &msg ) = 0;
47 };
48 
52 class KABC_EXPORT ConsoleErrorHandler : public ErrorHandler
53 {
54  public:
55  virtual void error( const TQString &msg );
56 };
57 
64 class KABC_EXPORT GUIErrorHandler : public ErrorHandler
65 {
66  public:
67  virtual void error( const TQString &msg );
68 };
69 
74 class 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

kabc

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

kabc

Skip menu "kabc"
  • arts
  • dcop
  • dnssd
  • interfaces
  •     interface
  •     library
  •   kspeech
  •   ktexteditor
  • kabc
  • kate
  • kcmshell
  • kdecore
  • kded
  • kdefx
  • kdeprint
  • kdesu
  • kdeui
  • kdoctools
  • khtml
  • kimgio
  • kinit
  • kio
  •   bookmarks
  •   httpfilter
  •   kfile
  •   kio
  •   kioexec
  •   kpasswdserver
  •   kssl
  • kioslave
  •   http
  • kjs
  • kmdi
  •   kmdi
  • knewstuff
  • kparts
  • krandr
  • kresources
  • kspell2
  • kunittest
  • kutils
  • kwallet
  • libkmid
  • libkscreensaver
Generated for kabc by doxygen 1.8.1.2
This website is maintained by Timothy Pearson.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. |