[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: KDE/kdebase/workspace/libs/ksysguard
From: Dario Freddi <drf () kde ! org>
Date: 2009-09-01 0:09:15
Message-ID: 1251763755.847103.16817.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 1017950 by dafre:
Now works, even if the variant does not get passed
M +3 -1 processcore/helper.h
M +2 -0 processui/ksysguardprocesslist.cpp
M +2 -0 processui/ksysguardprocesslist.h
--- trunk/KDE/kdebase/workspace/libs/ksysguard/processcore/helper.h #1017949:1017950
@@ -23,6 +23,8 @@
#include <kauth.h>
#include <QObject>
+using namespace KAuth;
+
Q_DECLARE_METATYPE( QList<long long> );
/* The functions here run as ROOT. So be careful. */
@@ -31,6 +33,6 @@
Q_OBJECT
public slots:
- KAuth::ActionReply sendsignal(QVariantMap parameters);
+ ActionReply sendsignal(QVariantMap parameters);
};
--- trunk/KDE/kdebase/workspace/libs/ksysguard/processui/ksysguardprocesslist.cpp #1017949:1017950
@@ -227,6 +227,8 @@
KSysGuardProcessList::KSysGuardProcessList(QWidget* parent, const QString &hostName)
: QWidget(parent), d(new KSysGuardProcessListPrivate(this, hostName))
{
+ qRegisterMetaType<QList<long long> >();
+
d->mUpdateIntervalMSecs = 0; //Set process to not update manually by default
d->mUi->setupUi(this);
d->mFilterModel.setSourceModel(&d->mModel);
--- trunk/KDE/kdebase/workspace/libs/ksysguard/processui/ksysguardprocesslist.h #1017949:1017950
@@ -25,6 +25,7 @@
#define _KSysGuardProcessList_h_
#include <QtGui/QWidget>
+#include <QMetaType>
#include <kapplication.h>
#include "ProcessModel.h"
#include "ProcessFilter.h"
@@ -217,6 +218,7 @@
KSysGuardProcessListPrivate* const d;
};
+Q_DECLARE_METATYPE( long long )
Q_DECLARE_METATYPE( QList<long long> )
#endif
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic