/*************************************************************************** begin : Tue Aug 6 2002 copyright : (C) 2002 by Christian Hubinger email : chubinger@irrsinnig.org ***************************************************************************/ /*************************************************************************** * * * This program is free software; you can redistribute it and/or modify * * it under the terms of the GNU General Public License as published by * * the Free Software Foundation; either version 2 of the License, or * * (at your option) any later version. * * * ***************************************************************************/ #ifndef KMFERRORHANDLER_H #define KMFERRORHANDLER_H #include /** *@author Christian Hubinger */ class TQString; namespace KMF { class KMFError; class TDE_EXPORT KMFErrorHandler { public: KMFErrorHandler( const TQString& name ); ~KMFErrorHandler(); /** Show a messagebox with the error message if the error type != OK */ bool showError( KMFError* err ); private: TQString *m_caller_name; }; } #endif