GammaRay  2.2.0
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Macros Pages
Namespaces | Functions
util.h File Reference

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)
 

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 Qt Experts"
http://www.kdab.com/
GammaRay
Qt-application inspection and manipulation tool
http://www.kdab.com/kdab-products/gammaray/