Added icons

parent ec1bc49e
This source diff could not be displayed because it is too large. You can view the blob instead.
File added
...@@ -4,7 +4,15 @@ SUBDIRS = src/skylivex.pro \ ...@@ -4,7 +4,15 @@ SUBDIRS = src/skylivex.pro \
plugins/skauth.pro plugins/skauth.pro
DATAFILES.path = build DATAFILES.path = build
DATAFILES.files = doc gui LICENSE.txt COPYING DATAFILES.files = doc gui LICENSE.txt COPYING skylivex.ico
INSTALLS += DATAFILES INSTALLS += DATAFILES
#unix:!macx {
#}
macx {
ICON=skylivex.icns
}
win32 {
RC_FILE = windows.rc
}
...@@ -42,6 +42,7 @@ ...@@ -42,6 +42,7 @@
#include <QDir> #include <QDir>
#include <QString> #include <QString>
#include <QPalette> #include <QPalette>
#include <QIcon>
#include <QDragMoveEvent> #include <QDragMoveEvent>
#include <QNetworkReply> #include <QNetworkReply>
#include <iostream> #include <iostream>
...@@ -105,6 +106,8 @@ MainWin::MainWin(QString &htmlfile) ...@@ -105,6 +106,8 @@ MainWin::MainWin(QString &htmlfile)
// At initialization, the special youtube page window is closed // At initialization, the special youtube page window is closed
yt_is_open=false; yt_is_open=false;
setWindowIcon(QIcon("skylivex.ico"));
} }
/* Destructor */ /* Destructor */
......
...@@ -37,6 +37,7 @@ ...@@ -37,6 +37,7 @@
#include <QWebPage> #include <QWebPage>
#include <QWebFrame> #include <QWebFrame>
#include <QFile> #include <QFile>
#include <QIcon>
#include <QUrl> #include <QUrl>
#include <QList> #include <QList>
#include <QDir> #include <QDir>
...@@ -95,6 +96,8 @@ WebWin::WebWin(QString &htmlfile) ...@@ -95,6 +96,8 @@ WebWin::WebWin(QString &htmlfile)
setHtmlFile(htmlfile); setHtmlFile(htmlfile);
resize(250,200); resize(250,200);
setWindowIcon(QIcon("skylivex.ico"));
msgsender = SENDER; msgsender = SENDER;
...@@ -112,6 +115,8 @@ WebWin::WebWin() ...@@ -112,6 +115,8 @@ WebWin::WebWin()
settings()->setAttribute(QWebSettings::LocalContentCanAccessFileUrls, true); settings()->setAttribute(QWebSettings::LocalContentCanAccessFileUrls, true);
settings()->setAttribute(QWebSettings::LocalContentCanAccessRemoteUrls, true); settings()->setAttribute(QWebSettings::LocalContentCanAccessRemoteUrls, true);
msgsender = SENDER; msgsender = SENDER;
setWindowIcon(QIcon("skylivex.ico"));
} }
WebWin::~WebWin() WebWin::~WebWin()
...@@ -280,6 +285,8 @@ SkylivexWin::SkylivexWin(QString &htmlfile) ...@@ -280,6 +285,8 @@ SkylivexWin::SkylivexWin(QString &htmlfile)
registerHandler((QString)"publicchatrcv", (SKHandlerFunction)&SkylivexWin::handle_chatreceived); registerHandler((QString)"publicchatrcv", (SKHandlerFunction)&SkylivexWin::handle_chatreceived);
registerHandler((QString)"userlist", (SKHandlerFunction)&SkylivexWin::handle_userlist); registerHandler((QString)"userlist", (SKHandlerFunction)&SkylivexWin::handle_userlist);
registerHandler((QString)"changeTelescope", (SKHandlerFunction)&SkylivexWin::handle_changetelescope); registerHandler((QString)"changeTelescope", (SKHandlerFunction)&SkylivexWin::handle_changetelescope);
setWindowIcon(QIcon("skylivex.ico"));
} }
...@@ -300,6 +307,8 @@ SkylivexWin::SkylivexWin() ...@@ -300,6 +307,8 @@ SkylivexWin::SkylivexWin()
registerHandler((QString)"userlist", (SKHandlerFunction)&SkylivexWin::handle_userlist); registerHandler((QString)"userlist", (SKHandlerFunction)&SkylivexWin::handle_userlist);
registerHandler((QString)"changeTelescope", (SKHandlerFunction)&SkylivexWin::handle_changetelescope); registerHandler((QString)"changeTelescope", (SKHandlerFunction)&SkylivexWin::handle_changetelescope);
setWindowIcon(QIcon("skylivex.ico"));
} }
SkylivexWin* SkylivexWin::createSkyliveWindow(QString url, QWebPage::WebWindowType type) SkylivexWin* SkylivexWin::createSkyliveWindow(QString url, QWebPage::WebWindowType type)
......
DI_ICON1 ICON DISCARDABLE "skylivex.ico"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment