LeechCraft Azoth
0.6.70-16373-g319c272718
Modular multiprotocol IM plugin for LeechCraft
Loading...
Searching...
No Matches
imucjoinwidget.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_IMUCJOINWIDGET_H
10
#define PLUGINS_AZOTH_INTERFACES_IMUCJOINWIDGET_H
11
#include <QVariant>
12
13
namespace
LC
14
{
15
namespace
Azoth
16
{
24
class
IMUCJoinWidget
25
{
26
public
:
27
virtual
~IMUCJoinWidget
() {}
28
43
virtual
void
AccountSelected
(QObject *account) = 0;
44
51
virtual
void
Join
(QObject *account) = 0;
52
55
virtual
void
Cancel
() = 0;
56
80
virtual
QVariantMap
GetIdentifyingData
()
const
= 0;
81
92
virtual
void
SetIdentifyingData
(
const
QVariantMap& data) = 0;
93
104
virtual
void
validityChanged
(
bool
isValid) = 0;
105
};
106
}
107
}
108
109
Q_DECLARE_INTERFACE (
LC::Azoth::IMUCJoinWidget
,
110
"org.Deviant.LeechCraft.Azoth.IMUCJoinWidget/1.0"
)
111
112
#endif
LC::Azoth::IMUCJoinWidget
This interface defines methods that should be implemented in widgets which are used to join MUC rooms...
Definition
imucjoinwidget.h:25
LC::Azoth::IMUCJoinWidget::SetIdentifyingData
virtual void SetIdentifyingData(const QVariantMap &data)=0
Sets the previously saved join parameters.
LC::Azoth::IMUCJoinWidget::Cancel
virtual void Cancel()=0
Called when user decides to not join any chatrooms.
LC::Azoth::IMUCJoinWidget::validityChanged
virtual void validityChanged(bool isValid)=0
Notifies about validity of the input.
LC::Azoth::IMUCJoinWidget::Join
virtual void Join(QObject *account)=0
Called when user decides to join a chatroom from the given account.
LC::Azoth::IMUCJoinWidget::~IMUCJoinWidget
virtual ~IMUCJoinWidget()
Definition
imucjoinwidget.h:27
LC::Azoth::IMUCJoinWidget::AccountSelected
virtual void AccountSelected(QObject *account)=0
Called when user selects a different account of this protocol.
LC::Azoth::IMUCJoinWidget::GetIdentifyingData
virtual QVariantMap GetIdentifyingData() const =0
Returns the map with current join parameters.
LC::Azoth
Definition
activityinfo.h:16
LC
Definition
activityinfo.h:14
src
plugins
azoth
interfaces
azoth
imucjoinwidget.h
Generated by
1.13.2