X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fuisupport%2Ficon.cpp;h=632499994d43cce1ae7a5ea15ddbe9f233d98e5f;hp=791380dd0c76c0ad11953f878aa4835ec6bc0214;hb=c64a887d0f05222590299fb2bb8d56fa9fadb16d;hpb=c346526a5414105dea8e7dabac2494e33622d06b diff --git a/src/uisupport/icon.cpp b/src/uisupport/icon.cpp index 791380dd..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,7 +15,7 @@ * 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 @@ -23,23 +23,29 @@ #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