[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: playground/base/plasma/engines
From: Aaron J. Seigo <aseigo () kde ! org>
Date: 2007-07-23 1:03:28
Message-ID: 1185152608.329724.24193.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 691148 by aseigo:
update to libplasma API changes
M +1 -1 dict/dictengine.cpp
M +1 -1 filebrowser/filebrowserengine.cpp
M +4 -4 network/networkengine.cpp
M +3 -3 network/networkengine.h
M +1 -1 powermanagement/powermanagementengine.cpp
M +1 -1 tasks/tasksengine.cpp
--- trunk/playground/base/plasma/engines/dict/dictengine.cpp #691147:691148
@@ -23,7 +23,7 @@
#include <KDebug>
#include <KLocale>
-#include <plasma/datasource.h>
+#include <plasma/datacontainer.h>
DictEngine::DictEngine(QObject* parent, const QStringList& args)
: Plasma::DataEngine(parent),
--- trunk/playground/base/plasma/engines/filebrowser/filebrowserengine.cpp #691147:691148
@@ -18,7 +18,7 @@
#include "filebrowserengine.h"
-#include "plasma/datasource.h"
+#include "plasma/datacontainer.h"
#include <QDir>
#include <KDirWatch>
--- trunk/playground/base/plasma/engines/network/networkengine.cpp #691147:691148
@@ -34,7 +34,7 @@
#include <KDebug>
#include <KLocale>
#include <kio/global.h>
-#include <plasma/datasource.h>
+#include <plasma/datacontainer.h>
// #include "config.h"
@@ -83,7 +83,7 @@
while ( it != sources.end() )
{
QString ifName = it.key();
- Plasma::DataSource* source = it.value();
+ Plasma::DataContainer* source = it.value();
QDir interfaceDir( SYSPATH + ifName );
if ( !interfaceDir.exists() )
{
@@ -160,7 +160,7 @@
return false;
}
-void NetworkEngine::updateInterfaceData( const QString &ifName, Plasma::DataSource *source )
+void NetworkEngine::updateInterfaceData( const QString &ifName, Plasma::DataContainer *source )
{
QString ifFolder = SYSPATH + ifName + "/";
@@ -246,7 +246,7 @@
}
}
-void NetworkEngine::updateWirelessData( const QString &ifName, Plasma::DataSource *source )
+void NetworkEngine::updateWirelessData( const QString &ifName, Plasma::DataContainer *source )
{
QString wirelessFolder = SYSPATH + ifName + "/wireless/";
--- trunk/playground/base/plasma/engines/network/networkengine.h #691147:691148
@@ -22,7 +22,7 @@
#include "plasma/dataengine.h"
class QTimer;
-class Plasma::DataSource;
+class Plasma::DataContainer;
class NetworkEngine : public Plasma::DataEngine
{
@@ -41,8 +41,8 @@
private:
bool readNumberFromFile( const QString &fileName, unsigned int &value );
bool readStringFromFile( const QString &fileName, QString &string );
- void updateWirelessData( const QString &ifName, Plasma::DataSource *source );
- void updateInterfaceData( const QString &ifName, Plasma::DataSource *source );
+ void updateWirelessData( const QString &ifName, Plasma::DataContainer *source );
+ void updateInterfaceData( const QString &ifName, Plasma::DataContainer *source );
QTimer* m_timer;
};
--- trunk/playground/base/plasma/engines/powermanagement/powermanagementengine.cpp #691147:691148
@@ -29,7 +29,7 @@
#include <KDebug>
#include <KLocale>
-#include "plasma/datasource.h"
+#include "plasma/datacontainer.h"
PowermanagementEngine::PowermanagementEngine(QObject* parent, const QStringList& args)
: Plasma::DataEngine(parent)
--- trunk/playground/base/plasma/engines/tasks/tasksengine.cpp #691147:691148
@@ -21,7 +21,7 @@
#include <KDebug>
#include <KLocale>
-#include <plasma/datasource.h>
+#include <plasma/datacontainer.h>
using namespace Plasma;
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic