summaryrefslogtreecommitdiffstats
path: root/src/gui/kernel
diff options
context:
space:
mode:
authoraxis <qt-info@nokia.com>2009-06-29 10:57:22 (GMT)
committeraxis <qt-info@nokia.com>2009-06-29 10:57:22 (GMT)
commite507a4b2f59e42b74833d047cc51e648df6d5eb5 (patch)
treea7d9d5384e882bc10eec8d05014556180d5fb101 /src/gui/kernel
parent897c48989aa314116aa1604f8f5d29514a40774d (diff)
downloadQt-e507a4b2f59e42b74833d047cc51e648df6d5eb5.zip
Qt-e507a4b2f59e42b74833d047cc51e648df6d5eb5.tar.gz
Qt-e507a4b2f59e42b74833d047cc51e648df6d5eb5.tar.bz2
Fix warnings because of unused variables.
Diffstat (limited to 'src/gui/kernel')
-rw-r--r--src/gui/kernel/qapplication_s60.cpp18
-rw-r--r--src/gui/kernel/qclipboard_s60.cpp2
-rw-r--r--src/gui/kernel/qdesktopwidget_s60.cpp4
-rw-r--r--src/gui/kernel/qkeymapper_s60.cpp4
-rw-r--r--src/gui/kernel/qwidget_s60.cpp8
5 files changed, 18 insertions, 18 deletions
diff --git a/src/gui/kernel/qapplication_s60.cpp b/src/gui/kernel/qapplication_s60.cpp
index b7561e4..cf74ba0 100644
--- a/src/gui/kernel/qapplication_s60.cpp
+++ b/src/gui/kernel/qapplication_s60.cpp
@@ -650,7 +650,7 @@ void QSymbianControl::PositionChanged()
}
}
-void QSymbianControl::FocusChanged(TDrawNow aDrawNow)
+void QSymbianControl::FocusChanged(TDrawNow /* aDrawNow */)
{
if (m_ignoreFocusChanged)
return;
@@ -715,7 +715,7 @@ TTypeUid::Ptr QSymbianControl::MopSupplyObject(TTypeUid id)
return CCoeControl::MopSupplyObject(id);
}
-void qt_init(QApplicationPrivate *priv, int)
+void qt_init(QApplicationPrivate * /* priv */, int)
{
S60 = new QS60Data;
@@ -800,12 +800,12 @@ bool QApplicationPrivate::modalState()
return false;
}
-void QApplicationPrivate::enterModal_sys(QWidget *widget)
+void QApplicationPrivate::enterModal_sys(QWidget * /* widget */)
{
// TODO: Implement QApplicationPrivate::enterModal_sys(QWidget *widget)
}
-void QApplicationPrivate::leaveModal_sys(QWidget *widget)
+void QApplicationPrivate::leaveModal_sys(QWidget * /* widget */)
{
// TODO: Implement QApplicationPrivate::leaveModal_sys(QWidget *widget)
}
@@ -910,7 +910,7 @@ QWidget * QApplication::topLevelAt(QPoint const& point)
return found;
}
-void QApplication::alert(QWidget *widget, int duration)
+void QApplication::alert(QWidget * /* widget */, int /* duration */)
{
// TODO: Implement QApplication::alert(QWidget *widget, int duration)
}
@@ -1052,7 +1052,7 @@ int QApplication::s60ProcessEvent(TWsEvent *event)
return 0;
}
-bool QApplication::s60EventFilter(TWsEvent *aEvent)
+bool QApplication::s60EventFilter(TWsEvent * /* aEvent */)
{
return false;
}
@@ -1135,13 +1135,13 @@ void QApplication::setWheelScrollLines(int n)
}
#endif //QT_NO_WHEELEVENT
-bool QApplication::isEffectEnabled(Qt::UIEffect effect)
+bool QApplication::isEffectEnabled(Qt::UIEffect /* effect */)
{
// TODO: Implement QApplication::isEffectEnabled(Qt::UIEffect effect)
return false;
}
-void QApplication::setEffectEnabled(Qt::UIEffect effect, bool enable)
+void QApplication::setEffectEnabled(Qt::UIEffect /* effect */, bool /* enable */)
{
// TODO: Implement QApplication::setEffectEnabled(Qt::UIEffect effect, bool enable)
}
@@ -1159,7 +1159,7 @@ TUint QApplicationPrivate::resolveS60ScanCode(TInt scanCode, TUint keysym)
}
#ifndef QT_NO_SESSIONMANAGER
-QSessionManager::QSessionManager(QApplication * app, QString &id, QString& key)
+QSessionManager::QSessionManager(QApplication * /* app */, QString & /* id */, QString& /* key */)
{
}
diff --git a/src/gui/kernel/qclipboard_s60.cpp b/src/gui/kernel/qclipboard_s60.cpp
index f89f3e5..c4e6648 100644
--- a/src/gui/kernel/qclipboard_s60.cpp
+++ b/src/gui/kernel/qclipboard_s60.cpp
@@ -261,7 +261,7 @@ bool QClipboard::ownsMode(Mode mode) const
return false;
}
-bool QClipboard::event(QEvent *e)
+bool QClipboard::event(QEvent * /* e */)
{
return true;
}
diff --git a/src/gui/kernel/qdesktopwidget_s60.cpp b/src/gui/kernel/qdesktopwidget_s60.cpp
index eefd0ef..a333d62 100644
--- a/src/gui/kernel/qdesktopwidget_s60.cpp
+++ b/src/gui/kernel/qdesktopwidget_s60.cpp
@@ -162,12 +162,12 @@ const QRect QDesktopWidget::screenGeometry(int /* screen */) const
return QRect(0, 0, S60->screenWidthInPixels, S60->screenHeightInPixels);
}
-int QDesktopWidget::screenNumber(const QWidget *widget) const
+int QDesktopWidget::screenNumber(const QWidget * /* widget */) const
{
return QDesktopWidgetPrivate::primaryScreen;
}
-int QDesktopWidget::screenNumber(const QPoint &point) const
+int QDesktopWidget::screenNumber(const QPoint & /* point */) const
{
return QDesktopWidgetPrivate::primaryScreen;
}
diff --git a/src/gui/kernel/qkeymapper_s60.cpp b/src/gui/kernel/qkeymapper_s60.cpp
index bb074c1..c13dd51 100644
--- a/src/gui/kernel/qkeymapper_s60.cpp
+++ b/src/gui/kernel/qkeymapper_s60.cpp
@@ -53,7 +53,7 @@ QKeyMapperPrivate::~QKeyMapperPrivate()
{
}
-QList<int> QKeyMapperPrivate::possibleKeys(QKeyEvent *e)
+QList<int> QKeyMapperPrivate::possibleKeys(QKeyEvent * /* e */)
{
QList<int> result;
return result;
@@ -64,7 +64,7 @@ void QKeyMapperPrivate::clearMappings()
// stub
}
-QString QKeyMapperPrivate::translateKeyEvent(int keySym, Qt::KeyboardModifiers modifiers)
+QString QKeyMapperPrivate::translateKeyEvent(int keySym, Qt::KeyboardModifiers /* modifiers */)
{
if (keySym >= Qt::Key_Escape)
return QString();
diff --git a/src/gui/kernel/qwidget_s60.cpp b/src/gui/kernel/qwidget_s60.cpp
index 6109f17..4e84ff4 100644
--- a/src/gui/kernel/qwidget_s60.cpp
+++ b/src/gui/kernel/qwidget_s60.cpp
@@ -144,7 +144,7 @@ void QWidgetPrivate::setSoftKeys_sys(const QList<QAction*> &softkeys)
nativeContainer->DrawDeferred(); // 3.1 needs an extra invitation
}
-void QWidgetPrivate::setWSGeometry(bool dontShow)
+void QWidgetPrivate::setWSGeometry(bool /* dontShow */)
{
}
@@ -686,7 +686,7 @@ void QWidgetPrivate::setWindowTitle_sys(const QString &caption)
}
}
-void QWidgetPrivate::setWindowIconText_sys(const QString &iconText)
+void QWidgetPrivate::setWindowIconText_sys(const QString & /*iconText */)
{
}
@@ -738,7 +738,7 @@ void QWidgetPrivate::updateSystemBackground()
}
-void QWidgetPrivate::registerDropSite(bool on)
+void QWidgetPrivate::registerDropSite(bool /* on */)
{
}
@@ -771,7 +771,7 @@ QWindowSurface *QWidgetPrivate::createDefaultWindowSurface_sys()
return new QS60WindowSurface(q_func());
}
-void QWidgetPrivate::setMask_sys(const QRegion& region)
+void QWidgetPrivate::setMask_sys(const QRegion& /* region */)
{
}