summaryrefslogtreecommitdiffstats
path: root/src/plugins
diff options
context:
space:
mode:
authorJeremy Katz <jeremy.katz@nokia.com>2010-05-04 12:26:43 (GMT)
committerJeremy Katz <jeremy.katz@nokia.com>2010-05-04 12:26:43 (GMT)
commitc6fd02d70e22d497658153abbd9fcf3176b550ca (patch)
treeeae6ec64fd386c1843ad67f0ae0f960ddb36f3a4 /src/plugins
parentb30a58d71d2608b033c1e9fcfa68cc69c14d31c7 (diff)
downloadQt-c6fd02d70e22d497658153abbd9fcf3176b550ca.zip
Qt-c6fd02d70e22d497658153abbd9fcf3176b550ca.tar.gz
Qt-c6fd02d70e22d497658153abbd9fcf3176b550ca.tar.bz2
add parameter support for platform integration plugins
Diffstat (limited to 'src/plugins')
-rw-r--r--src/plugins/platforms/directfb/main.cpp5
-rw-r--r--src/plugins/platforms/linuxfb/main.cpp5
-rw-r--r--src/plugins/platforms/minimal/main.cpp5
-rw-r--r--src/plugins/platforms/qvfb/main.cpp5
-rw-r--r--src/plugins/platforms/testlite/main.cpp5
-rw-r--r--src/plugins/platforms/vnc/main.cpp5
6 files changed, 18 insertions, 12 deletions
diff --git a/src/plugins/platforms/directfb/main.cpp b/src/plugins/platforms/directfb/main.cpp
index 9c7bcf6..f4ece32 100644
--- a/src/plugins/platforms/directfb/main.cpp
+++ b/src/plugins/platforms/directfb/main.cpp
@@ -48,7 +48,7 @@ class QDirectFbIntegrationPlugin : public QPlatformIntegrationPlugin
{
public:
QStringList keys() const;
- QPlatformIntegration *create(const QString&);
+ QPlatformIntegration *create(const QString&, const QStringList&);
};
QStringList QDirectFbIntegrationPlugin::keys() const
@@ -58,8 +58,9 @@ QStringList QDirectFbIntegrationPlugin::keys() const
return list;
}
-QPlatformIntegration * QDirectFbIntegrationPlugin::create(const QString& system)
+QPlatformIntegration * QDirectFbIntegrationPlugin::create(const QString& system, const QStringList& paramList)
{
+ Q_UNUSED(paramList);
if (system.toLower() == "directfb")
return new QDirectFbIntegration;
diff --git a/src/plugins/platforms/linuxfb/main.cpp b/src/plugins/platforms/linuxfb/main.cpp
index 65569ac..c5f7fe0 100644
--- a/src/plugins/platforms/linuxfb/main.cpp
+++ b/src/plugins/platforms/linuxfb/main.cpp
@@ -48,7 +48,7 @@ class QLinuxFbIntegrationPlugin : public QPlatformIntegrationPlugin
{
public:
QStringList keys() const;
- QPlatformIntegration *create(const QString&);
+ QPlatformIntegration *create(const QString&, const QStringList&);
};
QStringList QLinuxFbIntegrationPlugin::keys() const
@@ -58,8 +58,9 @@ QStringList QLinuxFbIntegrationPlugin::keys() const
return list;
}
-QPlatformIntegration* QLinuxFbIntegrationPlugin::create(const QString& system)
+QPlatformIntegration* QLinuxFbIntegrationPlugin::create(const QString& system, const QStringList& paramList)
{
+ Q_UNUSED(paramList);
if (system.toLower() == "linuxfb")
return new QLinuxFbIntegration;
diff --git a/src/plugins/platforms/minimal/main.cpp b/src/plugins/platforms/minimal/main.cpp
index 4958468..a4d646d 100644
--- a/src/plugins/platforms/minimal/main.cpp
+++ b/src/plugins/platforms/minimal/main.cpp
@@ -48,7 +48,7 @@ class QMinimalIntegrationPlugin : public QPlatformIntegrationPlugin
{
public:
QStringList keys() const;
- QPlatformIntegration *create(const QString&);
+ QPlatformIntegration *create(const QString&, const QStringList&);
};
QStringList QMinimalIntegrationPlugin::keys() const
@@ -58,8 +58,9 @@ QStringList QMinimalIntegrationPlugin::keys() const
return list;
}
-QPlatformIntegration *QMinimalIntegrationPlugin::create(const QString& system)
+QPlatformIntegration *QMinimalIntegrationPlugin::create(const QString& system, const QStringList& paramList)
{
+ Q_UNUSED(paramList);
if (system.toLower() == "minimal")
return new QMinimalIntegration;
diff --git a/src/plugins/platforms/qvfb/main.cpp b/src/plugins/platforms/qvfb/main.cpp
index 409f11c..206ece8 100644
--- a/src/plugins/platforms/qvfb/main.cpp
+++ b/src/plugins/platforms/qvfb/main.cpp
@@ -49,7 +49,7 @@ class QVFbIntegrationPlugin : public QPlatformIntegrationPlugin
{
public:
QStringList keys() const;
- QPlatformIntegration *create(const QString&);
+ QPlatformIntegration *create(const QString&, const QStringList&);
};
QStringList QVFbIntegrationPlugin::keys() const
@@ -59,8 +59,9 @@ QStringList QVFbIntegrationPlugin::keys() const
return list;
}
-QPlatformIntegration* QVFbIntegrationPlugin::create(const QString& system)
+QPlatformIntegration* QVFbIntegrationPlugin::create(const QString& system, const QStringList& paramList)
{
+ Q_UNUSED(paramList);
if (system.toLower() == "qvfb")
return new QVFbIntegration;
diff --git a/src/plugins/platforms/testlite/main.cpp b/src/plugins/platforms/testlite/main.cpp
index 5f631f0..2f6aa8b 100644
--- a/src/plugins/platforms/testlite/main.cpp
+++ b/src/plugins/platforms/testlite/main.cpp
@@ -48,7 +48,7 @@ class QTestLiteIntegrationPlugin : public QPlatformIntegrationPlugin
{
public:
QStringList keys() const;
- QPlatformIntegration *create(const QString&);
+ QPlatformIntegration *create(const QString&, const QStringList&);
};
QStringList QTestLiteIntegrationPlugin::keys() const
@@ -61,8 +61,9 @@ QStringList QTestLiteIntegrationPlugin::keys() const
return list;
}
-QPlatformIntegration* QTestLiteIntegrationPlugin::create(const QString& system)
+QPlatformIntegration* QTestLiteIntegrationPlugin::create(const QString& system, const QStringList& paramList)
{
+ Q_UNUSED(paramList);
if (system.toLower() == "testlite")
return new QTestLiteIntegration;
#ifndef QT_NO_OPENGL
diff --git a/src/plugins/platforms/vnc/main.cpp b/src/plugins/platforms/vnc/main.cpp
index 775259b..c66029c 100644
--- a/src/plugins/platforms/vnc/main.cpp
+++ b/src/plugins/platforms/vnc/main.cpp
@@ -49,7 +49,7 @@ class QVNCIntegrationPlugin : public QPlatformIntegrationPlugin
{
public:
QStringList keys() const;
- QPlatformIntegration *create(const QString&);
+ QPlatformIntegration *create(const QString&, const QStringList &);
};
QStringList QVNCIntegrationPlugin::keys() const
@@ -59,8 +59,9 @@ QStringList QVNCIntegrationPlugin::keys() const
return list;
}
-QPlatformIntegration* QVNCIntegrationPlugin::create(const QString& system)
+QPlatformIntegration* QVNCIntegrationPlugin::create(const QString& system, const QStringList& paramList)
{
+ Q_UNUSED(paramList);
if (system.toLower() == "vnc")
return new QVNCIntegration;