~ubuntu-branches/debian/stretch/psi-plus/stretch

« back to all changes in this revision

Viewing changes to src/plugins/generic/storagenotesplugin/storagenotesplugin.h

  • Committer: Package Import Robot
  • Author(s): Boris Pek
  • Date: 2013-10-23 02:42:20 UTC
  • mfrom: (1.4.7)
  • Revision ID: package-import@ubuntu.com-20131023024220-bk2hyoenqkwfhpgw
Tags: 0.16.242-1
* New upstream release:
  fixed the problem of initialization of private conversation when both
  sides use libotr 4.0.x. (Closes: #724880)
* Update debian/watch: sources were moved.
* Delete psi-plus-content-downloader package and update all related files.
  This plugin is in psi-plus-plugins package now.
* Update debian/control:
  - remove all currently unneeded Replaces and Breaks fields
  - add build dependency on libidn11-dev
* Update debian/rules: simplify get-orig-source section.
* Update debian/copyright:
  - update Source field due to changes in sources location
  - remove copyright holders whose code was deleted from source tree
    (bundled libidn library was removed)

Show diffs side-by-side

added added

removed removed

Lines of Context:
40
40
class NotesController;
41
41
class Notes;
42
42
 
43
 
#define constVersion "0.1.8"
 
43
#define constVersion "0.1.9"
44
44
#define NOTES_ID "strnotes_1"
45
45
 
46
46
class StorageNotesPlugin : public QObject, public PsiPlugin, public StanzaSender, public IconFactoryAccessor, public PluginInfoProvider,
47
47
                public AccountInfoAccessor, public StanzaFilter, public PopupAccessor, public MenuAccessor
48
48
{
49
49
        Q_OBJECT
 
50
#ifdef HAVE_QT5
 
51
        Q_PLUGIN_METADATA(IID "com.psi-plus.StorageNotesPlugin")
 
52
#endif
50
53
        Q_INTERFACES(PsiPlugin StanzaSender IconFactoryAccessor AccountInfoAccessor StanzaFilter PopupAccessor MenuAccessor PluginInfoProvider)
51
54
public:
52
55
        StorageNotesPlugin();
70
73
        virtual QAction* getContactAction(QObject* , int , const QString& ) { return 0; }
71
74
        virtual QAction* getAccountAction(QObject* , int ) { return 0; }
72
75
        virtual QString pluginInfo();
 
76
        virtual QPixmap icon() const;
73
77
 
74
78
private slots:
75
79
        void start();
86
90
};
87
91
 
88
92
#endif // STORAGENOTESPLUGIN_H
89
 
 
90