Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[attention] qt5 migration
  • Loading branch information
drizt committed Aug 23, 2013
1 parent 7b2f0f6 commit bf84d0f
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions generic/attentionplugin/attentionplugin.cpp
Expand Up @@ -60,6 +60,9 @@ public IconFactoryAccessor, public PopupAccessor, public StanzaSender, public Me
public SoundAccessor
{
Q_OBJECT
#ifdef HAVE_QT5
Q_PLUGIN_METADATA(IID "com.psi-plus.AttentionPlugin")
#endif
Q_INTERFACES(PsiPlugin StanzaFilter AccountInfoAccessor OptionAccessor ActiveTabAccessor ApplicationInfoAccessor
ToolbarIconAccessor IconFactoryAccessor PopupAccessor StanzaSender MenuAccessor PluginInfoProvider
SoundAccessor)
Expand Down Expand Up @@ -140,7 +143,9 @@ private slots:
void nudgeTimerTimeout();
};

#ifndef HAVE_QT5
Q_EXPORT_PLUGIN(AttentionPlugin);
#endif

AttentionPlugin::AttentionPlugin()
: enabled(false)
Expand Down

0 comments on commit bf84d0f

Please sign in to comment.