various tweaks
diff --git a/chatdialog.cpp b/chatdialog.cpp
index 291d2a0..72e9600 100644
--- a/chatdialog.cpp
+++ b/chatdialog.cpp
@@ -9,7 +9,7 @@
#include <boost/random/random_device.hpp>
#include <boost/random/uniform_int_distribution.hpp>
-#define BROADCAST_PREFIX_FOR_SYNC_DEMO "/ndn/broadcast/sync-demo"
+#define BROADCAST_PREFIX_FOR_SYNC_DEMO "/ndn/broadcast/chronos"
static const int HELLO_INTERVAL = 90; // seconds
@@ -69,7 +69,7 @@
}
catch (Sync::CcnxOperationException ex)
{
- QMessageBox::critical(this, tr("Sync-Demo"), tr("Canno connect to ccnd.\n Have you started your ccnd?"), QMessageBox::Ok);
+ QMessageBox::critical(this, tr("Chronos"), tr("Canno connect to ccnd.\n Have you started your ccnd?"), QMessageBox::Ok);
std::exit(1);
}
}
@@ -116,7 +116,7 @@
{
if (trayIcon->isVisible())
{
- QMessageBox::information(this, tr("Sync-Demo"),
+ QMessageBox::information(this, tr("Chronos"),
tr("The program will keep running in the "
"system tray. To terminate the program"
"choose <b>Quit</b> in the context memu"
@@ -558,7 +558,7 @@
}
catch (Sync::CcnxOperationException ex)
{
- QMessageBox::critical(this, tr("Sync-Demo"), tr("Canno connect to ccnd.\n Have you started your ccnd?"), QMessageBox::Ok);
+ QMessageBox::critical(this, tr("Chronos"), tr("Canno connect to ccnd.\n Have you started your ccnd?"), QMessageBox::Ok);
std::exit(1);
}
@@ -636,7 +636,7 @@
QIcon icon(":/images/icon_small.png");
trayIcon->setIcon(icon);
setWindowIcon(icon);
- trayIcon->setToolTip("Sync-Demo System Tray Icon");
+ trayIcon->setToolTip("Chronos System Tray Icon");
trayIcon->setVisible(true);
}
diff --git a/chatdialog.h b/chatdialog.h
index 7428667..c282a90 100644
--- a/chatdialog.h
+++ b/chatdialog.h
@@ -12,7 +12,7 @@
#include <QSystemTrayIcon>
#define ORGANIZATION "IRL@UCLA"
-#define APPLICATION "SYNC-DEMO"
+#define APPLICATION "CHRONOS"
class QAction;
class QMenu;
diff --git a/chatdialog.ui b/chatdialog.ui
index e36ed32..f0cf462 100644
--- a/chatdialog.ui
+++ b/chatdialog.ui
@@ -10,7 +10,7 @@
</rect>
</property>
<property name="windowTitle">
- <string>Sync Demo</string>
+ <string>Chronos -- Powered By UCLA Sync</string>
</property>
<!-- start of root layout -->
<layout class="QVBoxLayout">
diff --git a/sync-demo.pro b/sync-demo.pro
index 8c5d1b8..09d697f 100644
--- a/sync-demo.pro
+++ b/sync-demo.pro
@@ -1,5 +1,5 @@
TEMPLATE = app
-TARGET = sync-demo
+TARGET = Chronos
DEFINES += __DEBUG
HEADERS = chatdialog.h \
digesttreescene.h \