summaryrefslogtreecommitdiffstats
path: root/src/mimetypes/qserviceaction_p.h
blob: a67127e1355b004049769fcc694a7bd5077b6042 (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
#ifndef SERVICE_ACTION_P_H_INCLUDED
#define SERVICE_ACTION_P_H_INCLUDED

#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