Reformat ALL the source!
[quassel.git] / src / uisupport / icon.h
index 2c1d62e..fd317d0 100644 (file)
  *  The overloaded ctor uses IconLoader to locate an icon with this basename in the current theme
  *  or in Qt Resources.
  */
-class Icon : public QIcon {
-
-  public:
+class Icon : public QIcon
+{
+public:
     Icon();
     explicit Icon(const QString &iconName);
-    explicit Icon(const QIconcopy);
+    explicit Icon(const QIcon &copy);
 
-    Iconoperator=(const Icon &other);
+    Icon &operator=(const Icon &other);
 };
 
+
 #else /* HAVE_KDE */
 #include <KIcon>
-class Icon : public KIcon {
-
-  public:
+class Icon : public KIcon
+{
+public:
     inline Icon() : KIcon() {};
     inline explicit Icon(const QString &iconName) : KIcon(iconName) {};
-    inline explicit Icon(const QIconcopy) : KIcon(copy) {};
+    inline explicit Icon(const QIcon &copy) : KIcon(copy) {};
 };
 
+
 #endif /* HAVE_KDE */
 
 #endif