GammaRay
2.2.0
|
Declares various utility methods needed when writing a GammaRay plugin. More...
#include "gammaray_core_export.h"
#include <QString>
#include <QVariant>
Go to the source code of this file.
Namespaces | |
namespace | GammaRay |
namespace | GammaRay::Util |
GammaRay utilities. | |
Functions | |
QString | GammaRay::Util::addressToString (const void *p) |
bool | GammaRay::Util::descendantOf (const QObject *ascendant, const QObject *object) |
QString | GammaRay::Util::displayString (const QObject *object) |
void | GammaRay::Util::drawTransparencyPattern (QPainter *painter, const QRect &rect, int squareSize=8) |
QString | GammaRay::Util::enumToString (const QVariant &value, const char *typeName=0, const QObject *object=0) |
template<typename T > | |
QString | GammaRay::Util::enumToString (T value, const char *typeName=0, const QObject *object=0) |
template<typename T > | |
T * | GammaRay::Util::findParentOfType (QObject *object) |
QVariant | GammaRay::Util::iconForObject (const QObject *object) |
QString | GammaRay::Util::prettyMethodSignature (const QMetaMethod &method) |
QString | GammaRay::Util::shortDisplayString (const QObject *object) |
int | GammaRay::Util::signalIndexToMethodIndex (const QMetaObject *metaObject, int signalIndex) |
QString | GammaRay::Util::tooltipForObject (const QObject *object) |