diff options
author | Remko Tronçon <git@el-tramo.be> | 2010-10-26 18:13:34 (GMT) |
---|---|---|
committer | Remko Tronçon <git@el-tramo.be> | 2010-10-26 18:14:23 (GMT) |
commit | cbe6eaf4be28a35a907a0d5c06406885437121ba (patch) | |
tree | 5ff9b44fcb903b897a4dd028661c37e36f24e364 /Swift/QtUI | |
parent | 7f2dedd12579fc67f17c63e385a2cc8d650f341f (diff) | |
download | swift-contrib-cbe6eaf4be28a35a907a0d5c06406885437121ba.zip swift-contrib-cbe6eaf4be28a35a907a0d5c06406885437121ba.tar.bz2 |
Create a 'connecting' icon.
Diffstat (limited to 'Swift/QtUI')
-rw-r--r-- | Swift/QtUI/QtStatusWidget.cpp | 2 | ||||
-rw-r--r-- | Swift/QtUI/QtSystemTray.cpp | 2 | ||||
-rw-r--r-- | Swift/QtUI/Swift.qrc | 1 |
3 files changed, 3 insertions, 2 deletions
diff --git a/Swift/QtUI/QtStatusWidget.cpp b/Swift/QtUI/QtStatusWidget.cpp index 6971b33..db6d6c5 100644 --- a/Swift/QtUI/QtStatusWidget.cpp +++ b/Swift/QtUI/QtStatusWidget.cpp @@ -32,7 +32,7 @@ QtStatusWidget::QtStatusWidget(QWidget *parent) : QWidget(parent), editCursor_(Q connecting_ = false; setMaximumHeight(24); - connectingMovie_ = new QMovie(":/icons/throbber.gif"); + connectingMovie_ = new QMovie(":/icons/connecting.mng"); QHBoxLayout* mainLayout = new QHBoxLayout(this); mainLayout->setSpacing(0); diff --git a/Swift/QtUI/QtSystemTray.cpp b/Swift/QtUI/QtSystemTray.cpp index 4393c74..d6180e6 100644 --- a/Swift/QtUI/QtSystemTray.cpp +++ b/Swift/QtUI/QtSystemTray.cpp @@ -11,7 +11,7 @@ #include <QResource> namespace Swift { -QtSystemTray::QtSystemTray() : QObject(), onlineIcon_(":icons/online.png"), awayIcon_(":icons/away.png"), dndIcon_(":icons/dnd.png"), offlineIcon_(":icons/offline.png"), newMessageIcon_(":icons/new-chat.png"), throbberMovie_(":/icons/throbber.gif"), unreadMessages_(false), connecting_(false) { +QtSystemTray::QtSystemTray() : QObject(), onlineIcon_(":icons/online.png"), awayIcon_(":icons/away.png"), dndIcon_(":icons/dnd.png"), offlineIcon_(":icons/offline.png"), newMessageIcon_(":icons/new-chat.png"), throbberMovie_(":/icons/connecting.mng"), unreadMessages_(false), connecting_(false) { trayIcon_ = new QSystemTrayIcon(offlineIcon_); connect(trayIcon_, SIGNAL(activated(QSystemTrayIcon::ActivationReason)), this, SLOT(handleIconActivated(QSystemTrayIcon::ActivationReason))); connect(&throbberMovie_, SIGNAL(frameChanged(int)), this, SLOT(handleThrobberFrameChanged(int))); diff --git a/Swift/QtUI/Swift.qrc b/Swift/QtUI/Swift.qrc index 6c8e027..9a80339 100644 --- a/Swift/QtUI/Swift.qrc +++ b/Swift/QtUI/Swift.qrc @@ -5,6 +5,7 @@ <file alias="logo-chat-16.png">../resources/logo/logo-chat-16.png</file> <file alias="logo-shaded-text.256.png">../resources/logo/logo-shaded-text.256.png</file> <file alias="icons/online.png">../resources/icons/online.png</file> + <file alias="icons/connecting.mng">../resources/icons/connecting.mng</file> <file alias="icons/away.png">../resources/icons/away.png</file> <file alias="icons/dnd.png">../resources/icons/dnd.png</file> <file alias="icons/offline.png">../resources/icons/offline.png</file> |