LeechCraft Azoth  0.6.70-15082-g543737046d
Modular multiprotocol IM plugin for LeechCraft
isupportbookmarks.h
Go to the documentation of this file.
1 /**********************************************************************
2  * LeechCraft - modular cross-platform feature rich internet client.
3  * Copyright (C) 2006-2014 Georg Rudoy
4  *
5  * Distributed under the Boost Software License, Version 1.0.
6  * (See accompanying file LICENSE or copy at https://www.boost.org/LICENSE_1_0.txt)
7  **********************************************************************/
8 
9 #ifndef PLUGINS_AZOTH_INTERFACES_ISUPPORTBOOKMARKS_H
10 #define PLUGINS_AZOTH_INTERFACES_ISUPPORTBOOKMARKS_H
11 #include <QtGlobal>
12 #include <QVariant>
13 
14 class QWidget;
15 
16 namespace LC
17 {
18 namespace Azoth
19 {
31  {
32  public:
33  virtual ~ISupportBookmarks () {}
34 
47  virtual QWidget* GetMUCBookmarkEditorWidget () = 0;
48 
61  virtual QVariantList GetBookmarkedMUCs () const = 0;
62 
76  virtual void SetBookmarkedMUCs (const QVariantList& bookmarks) = 0;
77 
88  virtual void bookmarksChanged () = 0;
89  };
90 }
91 }
92 
93 Q_DECLARE_INTERFACE (LC::Azoth::ISupportBookmarks,
94  "org.Deviant.LeechCraft.Azoth.ISupportBookmarks/1.0")
95 
96 #endif
LC::Azoth::ISupportBookmarks::GetBookmarkedMUCs
virtual QVariantList GetBookmarkedMUCs() const =0
Returns the list of bookmarked MUCs, if any.
LC::Azoth::ISupportBookmarks::GetMUCBookmarkEditorWidget
virtual QWidget * GetMUCBookmarkEditorWidget()=0
Returns the editor widget for the bookmarks of this protocol.
LC::Azoth::ISupportBookmarks::~ISupportBookmarks
virtual ~ISupportBookmarks()
Definition: isupportbookmarks.h:33
LC::Azoth::ISupportBookmarks
Interface for accounts supporting bookmarks.
Definition: isupportbookmarks.h:30
LC
Definition: activityinfo.h:13
LC::Azoth::ISupportBookmarks::bookmarksChanged
virtual void bookmarksChanged()=0
Notifies that bookmarks have been changed.
LC::Azoth::ISupportBookmarks::SetBookmarkedMUCs
virtual void SetBookmarkedMUCs(const QVariantList &bookmarks)=0
Sets the bookmarked MUCs for the given account.