Fix crash if key bindings specified in profile cannot be found. Improve
[personal-kdebase.git] / runtime / drkonqi / krashadaptor.cpp
blob85957172c2f768e030a577eaedea0f48a70f1295
1 /*
2 * This file was generated by dbusidl2cpp version 0.4
3 * when processing input file -
5 * dbusidl2cpp is Copyright (C) 2006 Trolltech AS. All rights reserved.
7 * This is an auto-generated file.
8 */
10 #include "krashadaptor.h"
11 #include <QtCore/QMetaObject>
12 #include <QtCore/QByteArray>
13 #include <QtCore/QList>
14 #include <QtCore/QMap>
15 #include <QtCore/QString>
16 #include <QtCore/QStringList>
17 #include <QtCore/QVariant>
20 * Implementation of adaptor class KrashAdaptor
23 KrashAdaptor::KrashAdaptor(QObject *parent)
24 : QDBusAbstractAdaptor(parent)
26 // constructor
27 setAutoRelaySignals(true);
30 KrashAdaptor::~KrashAdaptor()
32 // destructor
35 QByteArray KrashAdaptor::appName()
37 // handle method call org.kde.Krash.appName
38 QByteArray out0;
39 QMetaObject::invokeMethod(parent(), "appName", Q_RETURN_ARG(QByteArray, out0));
41 // Alternative:
42 //out0 = static_cast<YourObjectType *>(parent())->appName();
43 return out0;
46 QString KrashAdaptor::errorDescriptionText()
48 // handle method call org.kde.Krash.errorDescriptionText
49 QString out0;
50 QMetaObject::invokeMethod(parent(), "errorDescriptionText", Q_RETURN_ARG(QString, out0));
52 // Alternative:
53 //out0 = static_cast<YourObjectType *>(parent())->errorDescriptionText();
54 return out0;
57 int KrashAdaptor::pid()
59 // handle method call org.kde.Krash.pid
60 int out0;
61 QMetaObject::invokeMethod(parent(), "pid", Q_RETURN_ARG(int, out0));
63 // Alternative:
64 //out0 = static_cast<YourObjectType *>(parent())->pid();
65 return out0;
68 QString KrashAdaptor::programName()
70 // handle method call org.kde.Krash.programName
71 QString out0;
72 QMetaObject::invokeMethod(parent(), "programName", Q_RETURN_ARG(QString, out0));
74 // Alternative:
75 //out0 = static_cast<YourObjectType *>(parent())->programName();
76 return out0;
79 void KrashAdaptor::registerDebuggingApplication(const QString &launchName)
81 // handle method call org.kde.Krash.registerDebuggingApplication
82 QMetaObject::invokeMethod(parent(), "registerDebuggingApplication", Q_ARG(QString, launchName));
84 // Alternative:
85 //static_cast<YourObjectType *>(parent())->registerDebuggingApplication(launchName);
88 bool KrashAdaptor::safeMode()
90 // handle method call org.kde.Krash.safeMode
91 bool out0;
92 QMetaObject::invokeMethod(parent(), "safeMode", Q_RETURN_ARG(bool, out0));
94 // Alternative:
95 //out0 = static_cast<YourObjectType *>(parent())->safeMode();
96 return out0;
99 QString KrashAdaptor::signalName()
101 // handle method call org.kde.Krash.signalName
102 QString out0;
103 QMetaObject::invokeMethod(parent(), "signalName", Q_RETURN_ARG(QString, out0));
105 // Alternative:
106 //out0 = static_cast<YourObjectType *>(parent())->signalName();
107 return out0;
110 int KrashAdaptor::signalNumber()
112 // handle method call org.kde.Krash.signalNumber
113 int out0;
114 QMetaObject::invokeMethod(parent(), "signalNumber", Q_RETURN_ARG(int, out0));
116 // Alternative:
117 //out0 = static_cast<YourObjectType *>(parent())->signalNumber();
118 return out0;
121 QString KrashAdaptor::signalText()
123 // handle method call org.kde.Krash.signalText
124 QString out0;
125 QMetaObject::invokeMethod(parent(), "signalText", Q_RETURN_ARG(QString, out0));
127 // Alternative:
128 //out0 = static_cast<YourObjectType *>(parent())->signalText();
129 return out0;
132 bool KrashAdaptor::startedByKdeinit()
134 // handle method call org.kde.Krash.startedByKdeinit
135 bool out0;
136 QMetaObject::invokeMethod(parent(), "startedByKdeinit", Q_RETURN_ARG(bool, out0));
138 // Alternative:
139 //out0 = static_cast<YourObjectType *>(parent())->startedByKdeinit();
140 return out0;
143 QString KrashAdaptor::whatToDoText()
145 // handle method call org.kde.Krash.whatToDoText
146 QString out0;
147 QMetaObject::invokeMethod(parent(), "whatToDoText", Q_RETURN_ARG(QString, out0));
149 // Alternative:
150 //out0 = static_cast<YourObjectType *>(parent())->whatToDoText();
151 return out0;
155 #include "krashadaptor.moc"