blob: d5d0dba7fe62f455b52ed1cd330dbd2c5a3ca5f7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
#ifndef SERVICE_ACTION_P_H_INCLUDED
#define SERVICE_ACTION_P_H_INCLUDED
#include "serviceaction.h"
#include <QtCore/QString>
// ------------------------------------------------------------------------------------------------
struct QServiceActionPrivate
{
QServiceActionPrivate(const QServiceActionName &theName,
const QString &theDisplayName,
const QString &theIconUrl) :
m_Name(theName),
m_Text(theDisplayName),
m_IconUrl(theIconUrl)
{}
bool operator==(const QServiceActionPrivate &other) const
{
return m_Name == other.m_Name &&
m_Text == other.m_Text &&
m_IconUrl == other.m_IconUrl;
}
QServiceActionName m_Name;
QString m_Text;
QString m_IconUrl;
};
#endif
|