aboutsummaryrefslogtreecommitdiff
path: root/examples/GuiClient/xmlConsoleDialog.cpp
diff options
context:
space:
mode:
authorManjeet Dahiya <manjeetdahiya@gmail.com>2010-10-11 08:30:58 +0000
committerManjeet Dahiya <manjeetdahiya@gmail.com>2010-10-11 08:30:58 +0000
commit71285ca1c7859d41b3c26001b863d2e715ac6acc (patch)
tree5d8aaeb10c8518c3cbbdafb39c0d40d566f66861 /examples/GuiClient/xmlConsoleDialog.cpp
parent5f75504fc8c48a3c3176232143f563a2763cec81 (diff)
downloadqxmpp-71285ca1c7859d41b3c26001b863d2e715ac6acc.tar.gz
change variable name
Diffstat (limited to 'examples/GuiClient/xmlConsoleDialog.cpp')
-rw-r--r--examples/GuiClient/xmlConsoleDialog.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/examples/GuiClient/xmlConsoleDialog.cpp b/examples/GuiClient/xmlConsoleDialog.cpp
index cccd78cf..7b603118 100644
--- a/examples/GuiClient/xmlConsoleDialog.cpp
+++ b/examples/GuiClient/xmlConsoleDialog.cpp
@@ -4,8 +4,8 @@
#include <QDomDocument>
#include <QTextStream>
-static QString m_colorHexSent("#02aa3f");
-static QString m_colorHexReceived("#aa0000");
+static QString s_colorHexSent("#02aa3f");
+static QString s_colorHexReceived("#aa0000");
xmlConsoleDialog::xmlConsoleDialog(QWidget *parent) :
QDialog(parent, Qt::Window),
@@ -15,7 +15,7 @@ xmlConsoleDialog::xmlConsoleDialog(QWidget *parent) :
setWindowTitle("Debugging Console");
ui->label_legend->setText(
- QString("<html><body><p><span style=\"color:%1\">Sent</span><span> | </span><span style=\"color:%2\">Received</span></p></body></html>").arg(m_colorHexSent).arg(m_colorHexReceived));
+ QString("<html><body><p><span style=\"color:%1\">Sent</span><span> | </span><span style=\"color:%2\">Received</span></p></body></html>").arg(s_colorHexSent).arg(s_colorHexReceived));
}
xmlConsoleDialog::~xmlConsoleDialog()
@@ -29,10 +29,10 @@ void xmlConsoleDialog::message(QXmppLogger::MessageType type, const QString& tex
switch(type)
{
case QXmppLogger::ReceivedMessage:
- color = QColor(m_colorHexReceived);
+ color = QColor(s_colorHexReceived);
break;
case QXmppLogger::SentMessage:
- color = QColor(m_colorHexSent);
+ color = QColor(s_colorHexSent);
break;
default:
return;