GammaRay  1.3.0
 All Classes Namespaces Files Functions Enumerations Enumerator Pages
Namespaces | Functions
util.h File Reference

Declares various utility methods needed when writing a GammaRay plugin. More...

#include "gammaray_export.h"
#include <QString>
#include <QVariant>
Include dependency graph for util.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  GammaRay::Util
 GammaRay utilities.

Functions

QString GammaRay::Util::addressToString (const void *p)
QString GammaRay::Util::addressToUid (const void *p)
QVariant GammaRay::Util::decorationForVariant (const QVariant &value)
bool GammaRay::Util::descendantOf (const QObject *ascendant, const QObject *object)
QString GammaRay::Util::displayString (const QObject *object)
QString GammaRay::Util::enumToString (const QVariant &value, const char *typeName=0, QObject *object=0)
template<typename T >
T * GammaRay::Util::findParentOfType (QObject *object)
QVariant GammaRay::Util::iconForObject (QObject *object)
QString GammaRay::Util::variantToString (const QVariant &value)

Detailed Description

Declares various utility methods needed when writing a GammaRay plugin.

This file is part of the GammaRay Plugin API and declares various utility methods needed when writing a plugin.

Author:
Volker Krause <volke.nosp@m.r.kr.nosp@m.ause@.nosp@m.kdab.nosp@m..com>

Klarälvdalens Datakonsult AB (KDAB)
"The Cross-Platform Experts"
http://www.kdab.com/
GammaRay
Qt-application inspection and manipulation tool
http://www.kdab.com/kdab-products/gammaray/