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 \
plugins/skauth.pro
DATAFILES.path = build
DATAFILES.files = doc gui LICENSE.txt COPYING
DATAFILES.files = doc gui LICENSE.txt COPYING skylivex.ico
INSTALLS += DATAFILES
#unix:!macx {
#}
macx {
ICON=skylivex.icns
}
win32 {
RC_FILE = windows.rc
}
......@@ -42,6 +42,7 @@
#include <QDir>
#include <QString>
#include <QPalette>
#include <QIcon>
#include <QDragMoveEvent>
#include <QNetworkReply>
#include <iostream>
......@@ -105,6 +106,8 @@ MainWin::MainWin(QString &htmlfile)
// At initialization, the special youtube page window is closed
yt_is_open=false;
setWindowIcon(QIcon("skylivex.ico"));
}
/* Destructor */
......
......@@ -37,6 +37,7 @@
#include <QWebPage>
#include <QWebFrame>
#include <QFile>
#include <QIcon>
#include <QUrl>
#include <QList>
#include <QDir>
......@@ -95,6 +96,8 @@ WebWin::WebWin(QString &htmlfile)
setHtmlFile(htmlfile);
resize(250,200);
setWindowIcon(QIcon("skylivex.ico"));
msgsender = SENDER;
......@@ -112,6 +115,8 @@ WebWin::WebWin()
settings()->setAttribute(QWebSettings::LocalContentCanAccessFileUrls, true);
settings()->setAttribute(QWebSettings::LocalContentCanAccessRemoteUrls, true);
msgsender = SENDER;
setWindowIcon(QIcon("skylivex.ico"));
}
WebWin::~WebWin()
......@@ -281,6 +286,8 @@ SkylivexWin::SkylivexWin(QString &htmlfile)
registerHandler((QString)"userlist", (SKHandlerFunction)&SkylivexWin::handle_userlist);
registerHandler((QString)"changeTelescope", (SKHandlerFunction)&SkylivexWin::handle_changetelescope);
setWindowIcon(QIcon("skylivex.ico"));
}
......@@ -300,6 +307,8 @@ SkylivexWin::SkylivexWin()
registerHandler((QString)"userlist", (SKHandlerFunction)&SkylivexWin::handle_userlist);
registerHandler((QString)"changeTelescope", (SKHandlerFunction)&SkylivexWin::handle_changetelescope);
setWindowIcon(QIcon("skylivex.ico"));
}
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