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.
44 lines
1.3 KiB
44 lines
1.3 KiB
15 years ago
|
/***************************************************************************
|
||
|
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 QString;
|
||
|
namespace KMF {
|
||
|
class KMFError;
|
||
|
|
||
|
|
||
|
class KDE_EXPORT KMFErrorHandler {
|
||
|
public:
|
||
|
KMFErrorHandler( const QString& name );
|
||
|
~KMFErrorHandler();
|
||
|
|
||
|
/** Show a messagebox with the error message if the
|
||
|
error type != OK */
|
||
|
bool showError( KMFError* err );
|
||
|
|
||
|
private:
|
||
|
QString *m_caller_name;
|
||
|
};
|
||
|
}
|
||
|
|
||
|
#endif
|