X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fuisupport%2Ficon.cpp;h=632499994d43cce1ae7a5ea15ddbe9f233d98e5f;hp=3694a3a20649851afd1974fca11be2b54cc9f2ee;hb=c64a887d0f05222590299fb2bb8d56fa9fadb16d;hpb=b99ff5e5d79924cffe794574cab7c92ad99cc2a2 diff --git a/src/uisupport/icon.cpp b/src/uisupport/icon.cpp index 3694a3a2..63249999 100644 --- a/src/uisupport/icon.cpp +++ b/src/uisupport/icon.cpp @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2005-08 by the Quassel IRC Team * + * Copyright (C) 2005-2012 by the Quassel Project * * devel@quassel-irc.org * * * * This program is free software; you can redistribute it and/or modify * @@ -15,27 +15,37 @@ * You should have received a copy of the GNU General Public License * * along with this program; if not, write to the * * Free Software Foundation, Inc., * - * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. * ***************************************************************************/ +#ifndef HAVE_KDE + #include "icon.h" #include "iconloader.h" -Icon::Icon() : QIcon() { - +Icon::Icon() : QIcon() +{ } -Icon::Icon(const QString &name) : QIcon() { - addPixmap(IconLoader::global()->loadIcon(name, IconLoader::Desktop)); + +Icon::Icon(const QString &name) : QIcon() +{ + addPixmap(IconLoader::global()->loadIcon(name, IconLoader::Desktop)); } -Icon::Icon(const QIcon& copy) : QIcon(copy) { +Icon::Icon(const QIcon ©) : QIcon(copy) +{ } -Icon& Icon::operator=(const Icon &other) { - if (this != &other) { - QIcon::operator=(other); - } - return *this; + +Icon &Icon::operator=(const Icon &other) +{ + if (this != &other) { + QIcon::operator=(other); + } + return *this; } + + +#endif