Added a bunch of warning flags and fixed most of the shadowed
variables.
This commit is contained in:
@@ -19,7 +19,7 @@
|
||||
|
||||
#include "kdenotifier.h"
|
||||
|
||||
KDENotifier::KDENotifier(const QString &id, QObject *parent) :
|
||||
KStatusNotifierItem(id, parent)
|
||||
KDENotifier::KDENotifier(const QString ¬ifier_id, QObject *obj_parent) :
|
||||
KStatusNotifierItem(notifier_id, obj_parent)
|
||||
{
|
||||
}
|
||||
|
||||
@@ -24,8 +24,8 @@
|
||||
#include <QMenu>
|
||||
#endif
|
||||
|
||||
KDENotifierTray::KDENotifierTray(QWidget *parent)
|
||||
: TrayIndicator(parent)
|
||||
KDENotifierTray::KDENotifierTray(QWidget *obj_parent)
|
||||
: TrayIndicator(obj_parent)
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
@@ -31,8 +31,8 @@ extern "C" {
|
||||
#define signals public
|
||||
#endif
|
||||
|
||||
QTrayIcon::QTrayIcon(QWidget *parent)
|
||||
: TrayIndicator(parent)
|
||||
QTrayIcon::QTrayIcon(QWidget *obj_parent)
|
||||
: TrayIndicator(obj_parent)
|
||||
{
|
||||
#ifdef Q_OS_LINUX
|
||||
notify_init("qcma");
|
||||
|
||||
@@ -44,7 +44,7 @@ public:
|
||||
virtual void hide() = 0;
|
||||
|
||||
protected:
|
||||
TrayIndicator(QWidget *parent = 0) : QWidget(parent) {}
|
||||
TrayIndicator(QWidget *obj_parent = 0) : QWidget(obj_parent) {}
|
||||
|
||||
signals:
|
||||
void openConfig();
|
||||
|
||||
@@ -47,8 +47,8 @@ void quitIndicator(GtkMenu *menu, gpointer data);
|
||||
|
||||
#define signals public
|
||||
|
||||
UnityIndicator::UnityIndicator(QWidget *parent) :
|
||||
TrayIndicator(parent)
|
||||
UnityIndicator::UnityIndicator(QWidget *obj_parent) :
|
||||
TrayIndicator(obj_parent)
|
||||
{
|
||||
notify_init("qcma");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user