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

« back to all changes in this revision

Viewing changes to src/plugins/generic/clientswitcherplugin/clientswitcherplugin.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:
58
58
 
59
59
{
60
60
        Q_OBJECT
 
61
#ifdef HAVE_QT5
 
62
        Q_PLUGIN_METADATA(IID "com.psi-plus.ClientSwitcherPlugin")
 
63
#endif
61
64
        Q_INTERFACES(PsiPlugin OptionAccessor StanzaSender StanzaFilter PluginInfoProvider PopupAccessor ApplicationInfoAccessor AccountInfoAccessor PsiAccountController ContactInfoAccessor IconFactoryAccessor)
62
65
 
63
66
public:
71
74
        virtual QWidget* options();
72
75
        virtual void applyOptions();
73
76
        virtual void restoreOptions();
 
77
        virtual QPixmap icon() const;
74
78
        // OptionAccessor
75
79
        virtual void setOptionAccessingHost(OptionAccessingHost*);
76
80
        virtual void optionChanged(const QString&);
80
84
        virtual bool incomingStanza(int, const QDomElement&);
81
85
        virtual bool outgoingStanza(int, QDomElement&);
82
86
        // EventFilter
83
 
        virtual QString pluginInfo();
 
87
        virtual QString pluginInfo();
84
88
        // PopupAccessor
85
89
        virtual void setPopupAccessingHost(PopupAccessingHost*);
86
90
        // ApplicationInfoAccessor
102
106
        struct ClientStruct {
103
107
                QString name;
104
108
                QString version;
105
 
                QString caps_node;
106
 
                QString caps_version;
 
109
                QString caps_node;
 
110
                QString caps_version;
107
111
        };
108
 
        Ui::OptionsWidget ui_options;
 
112
        Ui::OptionsWidget ui_options;
109
113
        StanzaSendingHost* sender_;
110
114
        OptionAccessingHost* psiOptions;
111
115
        PopupAccessingHost* psiPopup;