Qt4
view release on metacpan or search on metacpan
qtcore/tools/puic/perl/qclass_lib_map.h view on Meta::CPAN
QT_CLASS_LIB(QAction, QtGui4, qaction.h)
QT_CLASS_LIB(QActionGroup, QtGui4, qactiongroup.h)
QT_CLASS_LIB(QApplication, QtGui4, qapplication.h)
QT_CLASS_LIB(QBoxLayout, QtGui4, qboxlayout.h)
QT_CLASS_LIB(QHBoxLayout, QtGui4, qboxlayout.h)
QT_CLASS_LIB(QVBoxLayout, QtGui4, qboxlayout.h)
QT_CLASS_LIB(QClipboard, QtGui4, qclipboard.h)
QT_CLASS_LIB(QCursor, QtGui4, qcursor.h)
QT_CLASS_LIB(QCursor, QtGui4, qcursor.h)
QT_CLASS_LIB(QCursorShape, QtGui4, qcursor.h)
QT_CLASS_LIB(QDesktopWidget, QtGui4, qdesktopwidget.h)
QT_CLASS_LIB(QDrag, QtGui4, qdrag.h)
QT_CLASS_LIB(QtEvents4, QtGui4, qevent.h)
QT_CLASS_LIB(QInputEvent, QtGui4, qevent.h)
QT_CLASS_LIB(QMouseEvent, QtGui4, qevent.h)
QT_CLASS_LIB(QHoverEvent, QtGui4, qevent.h)
QT_CLASS_LIB(QWheelEvent, QtGui4, qevent.h)
QT_CLASS_LIB(QTabletEvent, QtGui4, qevent.h)
QT_CLASS_LIB(QKeyEvent, QtGui4, qevent.h)
QT_CLASS_LIB(QFocusEvent, QtGui4, qevent.h)
QT_CLASS_LIB(QPaintEvent, QtGui4, qevent.h)
qtcore/tools/puic/perl/qclass_lib_map.h view on Meta::CPAN
QT_CLASS_LIB(QWindowsVistaStyle, QtGui4, qwindowsvistastyle.h)
QT_CLASS_LIB(QWindowsXPStyle, QtGui4, qwindowsxpstyle.h)
QT_CLASS_LIB(QKeyEventTransition, QtGui4, qkeyeventtransition.h)
QT_CLASS_LIB(QMouseEventTransition, QtGui4, qmouseeventtransition.h)
QT_CLASS_LIB(QGraphicsEffect, QtGui4, qgraphicseffect.h)
QT_CLASS_LIB(QGraphicsColorizeEffect, QtGui4, qgraphicseffect.h)
QT_CLASS_LIB(QGraphicsBlurEffect, QtGui4, qgraphicseffect.h)
QT_CLASS_LIB(QGraphicsDropShadowEffect, QtGui4, qgraphicseffect.h)
QT_CLASS_LIB(QGraphicsOpacityEffect, QtGui4, qgraphicseffect.h)
QT_CLASS_LIB(QCompleter, QtGui4, qcompleter.h)
QT_CLASS_LIB(QDesktopServices, QtGui4, qdesktopservices.h)
QT_CLASS_LIB(QSystemTrayIcon, QtGui4, qsystemtrayicon.h)
QT_CLASS_LIB(QUndoGroup, QtGui4, qundogroup.h)
QT_CLASS_LIB(QUndoCommand, QtGui4, qundostack.h)
QT_CLASS_LIB(QUndoStack, QtGui4, qundostack.h)
QT_CLASS_LIB(QUndoView, QtGui4, qundoview.h)
QT_CLASS_LIB(QScriptEngineDebugger, QtScriptTools4, qscriptenginedebugger.h)
QT_CLASS_LIB(QUiLoader, QtUiTools4, quiloader.h)
QT_CLASS_LIB(QDesignerComponents, QtDesigner4, qdesigner_components.h)
QT_CLASS_LIB(QExtensionFactory, QtDesigner4, default_extensionfactory.h)
QT_CLASS_LIB(QAbstractExtensionFactory, QtDesigner4, extension.h)
qtdbus/tools/qdbusxml2perl/qdbusxml2perl.cpp view on Meta::CPAN
#include <stdlib.h>
#ifdef Q_WS_WIN
#include <process.h>
#endif
#define PROGRAMNAME "qdbusxml2cpp"
#define PROGRAMVERSION "0.7"
#define PROGRAMCOPYRIGHT "Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies)."
#define ANNOTATION_NO_WAIT "org.freedesktop.DBus.Method.NoReply"
static QString adaptorPackage;
static QString proxyPackage;
static QString parentClassName;
static QString proxyFile;
static QString adaptorFile;
static QString inputFile;
static bool skipNamespaces;
static bool verbose;
static bool includeMocs;
qtdbus/tools/qdbusxml2perl/qdbusxml2perl.cpp view on Meta::CPAN
<< "\", qVariantFromValue(value)); }" << endl;
}
hs << endl;
}
// methods:
if ( interface->methods.size() > 0 ) {
hs << "use QtCore4::slots # METHODS" << endl;
foreach (const QDBusIntrospection::Method &method, interface->methods) {
bool isDeprecated = method.annotations.value(QLatin1String("org.freedesktop.DBus.Deprecated")) == QLatin1String("true");
bool isNoReply =
method.annotations.value(QLatin1String(ANNOTATION_NO_WAIT)) == QLatin1String("true");
if (isNoReply && !method.outputArgs.isEmpty()) {
fprintf(stderr, "warning: method %s in interface %s is marked 'no-reply' but has output arguments.\n",
qPrintable(method.name), qPrintable(interface->name));
continue;
}
hs << " '";
if (!isNoReply) {
qtdbus/tools/qdbusxml2perl/qdbusxml2perl.cpp view on Meta::CPAN
}
hs << " ;" << endl
<< endl;
}
if ( interface->signals_.size() > 0 ) {
hs << "use QtCore4::signals # SIGNALS" << endl;
foreach (const QDBusIntrospection::Signal &signal, interface->signals_) {
hs << " ";
if (signal.annotations.value(QLatin1String("org.freedesktop.DBus.Deprecated")) ==
QLatin1String("true"))
hs << "Q_DECL_DEPRECATED ";
hs << signal.name << "(";
QStringList argNames = makeArgNames(signal.outputArgs);
writeArgList(hs, argNames, signal.annotations, signal.outputArgs);
hs << ");" << endl; // finished for header
}
qtdbus/tools/qdbusxml2perl/qdbusxml2perl.cpp view on Meta::CPAN
foreach (const QDBusIntrospection::Method &method, interface->methods) {
bool isNoReply =
method.annotations.value(QLatin1String(ANNOTATION_NO_WAIT)) == QLatin1String("true");
if (isNoReply && !method.outputArgs.isEmpty()) {
fprintf(stderr, "warning: method %s in interface %s is marked 'no-reply' but has output arguments.\n",
qPrintable(method.name), qPrintable(interface->name));
continue;
}
hs << " '";
//if (method.annotations.value(QLatin1String("org.freedesktop.DBus.Deprecated")) ==
//QLatin1String("true"))
//hs << "Q_DECL_DEPRECATED ";
QByteArray returnType;
cs << "sub ";
if (!isNoReply && !method.outputArgs.isEmpty()) {
returnType = qtTypeName(method.outputArgs.first().type, method.annotations, 0, "Out");
hs << returnType << " ";
}
qtdbus/tools/qdbusxml2perl/qdbusxml2perl.cpp view on Meta::CPAN
<< endl;
}
hs << " ;" << endl;
}
if ( interface->signals_.size() > 0 ) {
hs << "use QtCore4::signals # SIGNALS" << endl
<< " public => 1," << endl;
foreach (const QDBusIntrospection::Signal &signal, interface->signals_) {
hs << " '";
//if (signal.annotations.value(QLatin1String("org.freedesktop.DBus.Deprecated")) ==
//QLatin1String("true"))
//hs << "Q_DECL_DEPRECATED ";
hs << signal.name << "' => [";
QStringList argNames = makeArgNames(signal.outputArgs);
writeArgTypesList(hs, argNames, signal.annotations, signal.outputArgs);
hs << "]," << endl;
}
( run in 0.495 second using v1.01-cache-2.11-cpan-299005ec8e3 )