You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
kmyfirewall/kmyfirewall/core/kmferrorhandler.h

44 lines
1.3 KiB

/***************************************************************************
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 <kdemacros.h>
/**
*@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