diff options
Diffstat (limited to 'src/mimetypes/qserviceaction_p.h')
-rw-r--r-- | src/mimetypes/qserviceaction_p.h | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/src/mimetypes/qserviceaction_p.h b/src/mimetypes/qserviceaction_p.h new file mode 100644 index 0000000..a67127e --- /dev/null +++ b/src/mimetypes/qserviceaction_p.h @@ -0,0 +1,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 |