#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