Fix FTBFS with clang

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
pull/21/head
Slávek Banko 10 years ago
parent c0e6e0eddc
commit 4554b6c6fb

@ -55,6 +55,7 @@
#include <algorithm> #include <algorithm>
#include <assert.h> #include <assert.h>
#include <stdlib.h>
#include <string.h> #include <string.h>
namespace { namespace {

@ -49,6 +49,7 @@
#include <tdelocale.h> #include <tdelocale.h>
#include <assert.h> #include <assert.h>
#include <stdlib.h>
Kleo::QGpgMESignJob::QGpgMESignJob( GpgME::Context * context ) Kleo::QGpgMESignJob::QGpgMESignJob( GpgME::Context * context )
: SignJob( QGpgME::EventLoopInteractor::instance(), "Kleo::QGpgMESignJob" ), : SignJob( QGpgME::EventLoopInteractor::instance(), "Kleo::QGpgMESignJob" ),

@ -29,7 +29,9 @@ class TQCheckBox;
class TQLabel; class TQLabel;
class TQSpinBox; class TQSpinBox;
class TDEABC::LdapConfigWidget; namespace TDEABC {
class LdapConfigWidget;
}
class KComboBox; class KComboBox;
class KLineEdit; class KLineEdit;

@ -32,7 +32,9 @@
#include <tqguardedptr.h> #include <tqguardedptr.h>
#include <tdeio/global.h> #include <tdeio/global.h>
class AccountManager; namespace KMail {
class AccountManager;
}
class KMFolder; class KMFolder;
class TDEConfig/*Base*/; class TDEConfig/*Base*/;
class KMMessagePart; class KMMessagePart;

@ -33,7 +33,9 @@
#include <tqstring.h> #include <tqstring.h>
class AccountManager; namespace KMail {
class AccountManager;
}
class TDEConfig/*Base*/; class TDEConfig/*Base*/;
class KURL; class KURL;
namespace TDEIO { namespace TDEIO {

@ -26,6 +26,12 @@ class TQDataStream;
namespace KPIM { namespace KPIM {
KDE_EXPORT TQDataStream & operator<<( TQDataStream & stream, const KPIM::Signature & sig );
KDE_EXPORT TQDataStream & operator>>( TQDataStream & stream, KPIM::Signature & sig );
KDE_EXPORT TQDataStream & operator<<( TQDataStream & stream, const KPIM::Identity & ident );
KDE_EXPORT TQDataStream & operator>>( TQDataStream & stream, KPIM::Identity & ident );
/** /**
* @short abstraction of a signature (aka "footer"). * @short abstraction of a signature (aka "footer").
* @author Marc Mutz <mutz@kde.org> * @author Marc Mutz <mutz@kde.org>
@ -320,12 +326,6 @@ protected:
Kleo::CryptoMessageFormat mPreferredCryptoMessageFormat; Kleo::CryptoMessageFormat mPreferredCryptoMessageFormat;
}; };
KDE_EXPORT TQDataStream & operator<<( TQDataStream & stream, const KPIM::Signature & sig );
KDE_EXPORT TQDataStream & operator>>( TQDataStream & stream, KPIM::Signature & sig );
KDE_EXPORT TQDataStream & operator<<( TQDataStream & stream, const KPIM::Identity & ident );
KDE_EXPORT TQDataStream & operator>>( TQDataStream & stream, KPIM::Identity & ident );
} // namespace KPIM } // namespace KPIM
#endif /*kpim_identity_h*/ #endif /*kpim_identity_h*/

Loading…
Cancel
Save