Skip to content

Commit

Permalink
[captchaforms] qt5 migration
Browse files Browse the repository at this point in the history
  • Loading branch information
drizt committed Aug 23, 2013
1 parent 17fbbb5 commit 76fb51b
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion generic/captchaformsplugin/captchaformsplugin.cpp
Expand Up @@ -53,6 +53,9 @@ class CaptchaFormsPlugin : public QObject, public PsiPlugin, public OptionAccess
public StanzaFilter, public StanzaSender, public AccountInfoAccessor, public ApplicationInfoAccessor
{
Q_OBJECT
#ifdef HAVE_QT5
Q_PLUGIN_METADATA(IID "com.psi-plus.CaptchaFormsPlugin")
#endif
Q_INTERFACES(PsiPlugin OptionAccessor PluginInfoProvider EventCreator StanzaFilter StanzaSender AccountInfoAccessor ApplicationInfoAccessor)
public:
CaptchaFormsPlugin();
Expand Down Expand Up @@ -100,8 +103,9 @@ private slots:
void loaderError(const QString& id);
};

#ifndef HAVE_QT5
Q_EXPORT_PLUGIN(CaptchaFormsPlugin);

#endif

CaptchaFormsPlugin::CaptchaFormsPlugin()
: psiOptions(0)
Expand Down

0 comments on commit 76fb51b

Please sign in to comment.