summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDario Freddi <dario.freddi@collabora.co.uk>2010-06-11 12:44:45 +0200
committerDario Freddi <dario.freddi@collabora.com>2012-07-02 18:23:52 +0200
commitd064d2c2b31334c965c513b15551e3d0ef451f3e (patch)
treea0e96f7a61e67223de9ad2f1702129bfbfcaeb9b
parentdd282ce93dd59ea01281ef860365f21ad95c9acf (diff)
dbus-tubes: Naming conventions: remove __k__
-rw-r--r--TelepathyQt/dbus-tube-channel-internal.h4
-rw-r--r--TelepathyQt/dbus-tube-channel.cpp8
-rw-r--r--TelepathyQt/dbus-tube-channel.h4
-rw-r--r--TelepathyQt/incoming-dbus-tube-channel.cpp16
-rw-r--r--TelepathyQt/incoming-dbus-tube-channel.h4
-rw-r--r--TelepathyQt/outgoing-dbus-tube-channel.cpp16
-rw-r--r--TelepathyQt/outgoing-dbus-tube-channel.h4
7 files changed, 28 insertions, 28 deletions
diff --git a/TelepathyQt/dbus-tube-channel-internal.h b/TelepathyQt/dbus-tube-channel-internal.h
index 57b8fc8d..4c7e2a70 100644
--- a/TelepathyQt/dbus-tube-channel-internal.h
+++ b/TelepathyQt/dbus-tube-channel-internal.h
@@ -52,8 +52,8 @@ public:
QString address;
// Private slots
- void __k__gotDBusTubeProperties(QDBusPendingCallWatcher *watcher);
- void __k__onDBusNamesChanged(const Tp::DBusTubeParticipants &added, const Tp::UIntList &removed);
+ void gotDBusTubeProperties(QDBusPendingCallWatcher *watcher);
+ void onDBusNamesChanged(const Tp::DBusTubeParticipants &added, const Tp::UIntList &removed);
};
diff --git a/TelepathyQt/dbus-tube-channel.cpp b/TelepathyQt/dbus-tube-channel.cpp
index d9828448..619c48f7 100644
--- a/TelepathyQt/dbus-tube-channel.cpp
+++ b/TelepathyQt/dbus-tube-channel.cpp
@@ -85,7 +85,7 @@ void DBusTubeChannelPrivate::extractParticipants(const Tp::DBusTubeParticipants&
}
-void DBusTubeChannelPrivate::__k__gotDBusTubeProperties(QDBusPendingCallWatcher* watcher)
+void DBusTubeChannelPrivate::gotDBusTubeProperties(QDBusPendingCallWatcher* watcher)
{
QDBusPendingReply<QVariantMap> reply = *watcher;
@@ -102,7 +102,7 @@ void DBusTubeChannelPrivate::__k__gotDBusTubeProperties(QDBusPendingCallWatcher*
}
}
-void DBusTubeChannelPrivate::__k__onDBusNamesChanged(
+void DBusTubeChannelPrivate::onDBusNamesChanged(
const Tp::DBusTubeParticipants& added,
const Tp::UIntList& removed)
{
@@ -145,7 +145,7 @@ void DBusTubeChannelPrivate::introspectBusNamesMonitoring(
// It makes sense only if this is a room, if that's not the case just spit a warning
if (parent->targetHandleType() == static_cast<uint>(Tp::HandleTypeRoom)) {
parent->connect(dbusTubeInterface, SIGNAL(DBusNamesChanged(Tp::DBusTubeParticipants,Tp::UIntList)),
- parent, SLOT(__k__onDBusNamesChanged(Tp::DBusTubeParticipants,Tp::UIntList)));
+ parent, SLOT(onDBusNamesChanged(Tp::DBusTubeParticipants,Tp::UIntList)));
} else {
warning() << "FeatureBusNamesMonitoring does not make sense in a P2P context";
}
@@ -171,7 +171,7 @@ void DBusTubeChannelPrivate::introspectDBusTube(
parent->connect(watcher,
SIGNAL(finished(QDBusPendingCallWatcher *)),
parent,
- SLOT(__k__gotDBusTubeProperties(QDBusPendingCallWatcher *)));
+ SLOT(gotDBusTubeProperties(QDBusPendingCallWatcher *)));
}
/**
diff --git a/TelepathyQt/dbus-tube-channel.h b/TelepathyQt/dbus-tube-channel.h
index e98f0285..379cfe37 100644
--- a/TelepathyQt/dbus-tube-channel.h
+++ b/TelepathyQt/dbus-tube-channel.h
@@ -39,8 +39,8 @@ class TP_QT_EXPORT DBusTubeChannel : public TubeChannel
Q_DECLARE_PRIVATE(DBusTubeChannel)
// private slots:
- Q_PRIVATE_SLOT(d_func(), void __k__gotDBusTubeProperties(QDBusPendingCallWatcher*))
- Q_PRIVATE_SLOT(d_func(), void __k__onDBusNamesChanged(Tp::DBusTubeParticipants,Tp::UIntList))
+ Q_PRIVATE_SLOT(d_func(), void gotDBusTubeProperties(QDBusPendingCallWatcher*))
+ Q_PRIVATE_SLOT(d_func(), void onDBusNamesChanged(Tp::DBusTubeParticipants,Tp::UIntList))
public:
static const Feature FeatureDBusTube;
diff --git a/TelepathyQt/incoming-dbus-tube-channel.cpp b/TelepathyQt/incoming-dbus-tube-channel.cpp
index 2bd4b885..36b1de62 100644
--- a/TelepathyQt/incoming-dbus-tube-channel.cpp
+++ b/TelepathyQt/incoming-dbus-tube-channel.cpp
@@ -64,8 +64,8 @@ struct TP_QT_NO_EXPORT PendingDBusTubeAcceptPrivate
IncomingDBusTubeChannelPtr tube;
// Private slots
- void __k__onAcceptFinished(Tp::PendingOperation* op);
- void __k__onTubeStateChanged(Tp::TubeChannelState state);
+ void onAcceptFinished(Tp::PendingOperation* op);
+ void onStateChanged(Tp::TubeChannelState state);
};
PendingDBusTubeAcceptPrivate::PendingDBusTubeAcceptPrivate(PendingDBusTubeAccept* parent)
@@ -77,7 +77,7 @@ PendingDBusTubeAcceptPrivate::~PendingDBusTubeAcceptPrivate()
{
}
-void PendingDBusTubeAcceptPrivate::__k__onAcceptFinished(PendingOperation* op)
+void PendingDBusTubeAcceptPrivate::onAcceptFinished(PendingOperation* op)
{
if (op->isError()) {
// Fail
@@ -93,15 +93,15 @@ void PendingDBusTubeAcceptPrivate::__k__onAcceptFinished(PendingOperation* op)
// It might have been already opened - check
if (tube->state() == TubeChannelStateOpen) {
- __k__onTubeStateChanged(tube->state());
+ onStateChanged(tube->state());
} else {
// Wait until the tube gets opened on the other side
parent->connect(tube.data(), SIGNAL(stateChanged(Tp::TubeChannelState)),
- parent, SLOT(__k__onTubeStateChanged(Tp::TubeChannelState)));
+ parent, SLOT(onStateChanged(Tp::TubeChannelState)));
}
}
-void PendingDBusTubeAcceptPrivate::__k__onTubeStateChanged(TubeChannelState state)
+void PendingDBusTubeAcceptPrivate::onStateChanged(TubeChannelState state)
{
debug() << "Tube state changed to " << state;
if (state == TubeChannelStateOpen) {
@@ -135,11 +135,11 @@ PendingDBusTubeAccept::PendingDBusTubeAccept(
mPriv->tube = object;
if (string->isFinished()) {
- mPriv->__k__onAcceptFinished(string);
+ mPriv->onAcceptFinished(string);
} else {
// Connect the pending void
connect(string, SIGNAL(finished(Tp::PendingOperation*)),
- this, SLOT(__k__onAcceptFinished(Tp::PendingOperation*)));
+ this, SLOT(onAcceptFinished(Tp::PendingOperation*)));
}
}
diff --git a/TelepathyQt/incoming-dbus-tube-channel.h b/TelepathyQt/incoming-dbus-tube-channel.h
index 6e69ca73..ea6ea7fa 100644
--- a/TelepathyQt/incoming-dbus-tube-channel.h
+++ b/TelepathyQt/incoming-dbus-tube-channel.h
@@ -54,8 +54,8 @@ private:
friend class IncomingDBusTubeChannel;
// private slots:
- Q_PRIVATE_SLOT(mPriv, void __k__onAcceptFinished(Tp::PendingOperation*))
- Q_PRIVATE_SLOT(mPriv, void __k__onTubeStateChanged(Tp::TubeChannelState))
+ Q_PRIVATE_SLOT(mPriv, void onAcceptFinished(Tp::PendingOperation*))
+ Q_PRIVATE_SLOT(mPriv, void onStateChanged(Tp::TubeChannelState))
};
diff --git a/TelepathyQt/outgoing-dbus-tube-channel.cpp b/TelepathyQt/outgoing-dbus-tube-channel.cpp
index 3a405ec4..04c5cf8a 100644
--- a/TelepathyQt/outgoing-dbus-tube-channel.cpp
+++ b/TelepathyQt/outgoing-dbus-tube-channel.cpp
@@ -64,8 +64,8 @@ struct TP_QT_NO_EXPORT PendingDBusTubeOfferPrivate
OutgoingDBusTubeChannelPtr tube;
// Private slots
- void __k__onOfferFinished(Tp::PendingOperation* op);
- void __k__onTubeStateChanged(Tp::TubeChannelState state);
+ void onOfferFinished(Tp::PendingOperation* op);
+ void onStateChanged(Tp::TubeChannelState state);
};
PendingDBusTubeOfferPrivate::PendingDBusTubeOfferPrivate(PendingDBusTubeOffer* parent)
@@ -77,7 +77,7 @@ PendingDBusTubeOfferPrivate::~PendingDBusTubeOfferPrivate()
{
}
-void PendingDBusTubeOfferPrivate::__k__onOfferFinished(PendingOperation* op)
+void PendingDBusTubeOfferPrivate::onOfferFinished(PendingOperation* op)
{
if (op->isError()) {
// Fail
@@ -93,15 +93,15 @@ void PendingDBusTubeOfferPrivate::__k__onOfferFinished(PendingOperation* op)
// It might have been already opened - check
if (tube->state() == TubeChannelStateOpen) {
- __k__onTubeStateChanged(tube->state());
+ onStateChanged(tube->state());
} else {
// Wait until the tube gets opened on the other side
parent->connect(tube.data(), SIGNAL(stateChanged(Tp::TubeChannelState)),
- parent, SLOT(__k__onTubeStateChanged(Tp::TubeChannelState)));
+ parent, SLOT(onStateChanged(Tp::TubeChannelState)));
}
}
-void PendingDBusTubeOfferPrivate::__k__onTubeStateChanged(TubeChannelState state)
+void PendingDBusTubeOfferPrivate::onStateChanged(TubeChannelState state)
{
debug() << "Tube state changed to " << state;
if (state == TubeChannelStateOpen) {
@@ -133,11 +133,11 @@ PendingDBusTubeOffer::PendingDBusTubeOffer(
mPriv->tube = object;
if (string->isFinished()) {
- mPriv->__k__onOfferFinished(string);
+ mPriv->onOfferFinished(string);
} else {
// Connect the pending void
connect(string, SIGNAL(finished(Tp::PendingOperation*)),
- this, SLOT(__k__onOfferFinished(Tp::PendingOperation*)));
+ this, SLOT(onOfferFinished(Tp::PendingOperation*)));
}
}
diff --git a/TelepathyQt/outgoing-dbus-tube-channel.h b/TelepathyQt/outgoing-dbus-tube-channel.h
index 774ef83e..adf0f37d 100644
--- a/TelepathyQt/outgoing-dbus-tube-channel.h
+++ b/TelepathyQt/outgoing-dbus-tube-channel.h
@@ -55,8 +55,8 @@ private:
friend class OutgoingDBusTubeChannel;
// private slots:
- Q_PRIVATE_SLOT(mPriv, void __k__onOfferFinished(Tp::PendingOperation*))
- Q_PRIVATE_SLOT(mPriv, void __k__onTubeStateChanged(Tp::TubeChannelState))
+ Q_PRIVATE_SLOT(mPriv, void onOfferFinished(Tp::PendingOperation*))
+ Q_PRIVATE_SLOT(mPriv, void onStateChanged(Tp::TubeChannelState))
};
class OutgoingDBusTubeChannelPrivate;