projects
/
quassel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Reformat ALL the source!
[quassel.git]
/
src
/
uisupport
/
icon.h
diff --git
a/src/uisupport/icon.h
b/src/uisupport/icon.h
index
2c1d62e
..
fd317d0
100644
(file)
--- a/
src/uisupport/icon.h
+++ b/
src/uisupport/icon.h
@@
-30,26
+30,28
@@
* The overloaded ctor uses IconLoader to locate an icon with this basename in the current theme
* or in Qt Resources.
*/
* 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);
Icon();
explicit Icon(const QString &iconName);
- explicit Icon(const QIcon
&
copy);
+ explicit Icon(const QIcon
&
copy);
- Icon
&
operator=(const Icon &other);
+ Icon
&
operator=(const Icon &other);
};
};
+
#else /* HAVE_KDE */
#include <KIcon>
#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 Icon() : KIcon() {};
inline explicit Icon(const QString &iconName) : KIcon(iconName) {};
- inline explicit Icon(const QIcon
&
copy) : KIcon(copy) {};
+ inline explicit Icon(const QIcon
&
copy) : KIcon(copy) {};
};
};
+
#endif /* HAVE_KDE */
#endif
#endif /* HAVE_KDE */
#endif