Make widgets aware of qresources.

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=816435
This commit is contained in:
Gilles Chauvin 2008-06-03 21:08:52 +00:00
parent 27fe9143ff
commit 834003d0dc
5 changed files with 5 additions and 5 deletions

View File

@ -108,7 +108,7 @@ void CheckBox::setImage(const QString &path)
#ifdef Q_WS_WIN
!QDir::isRelativePath(path)
#else
path[0] == '/'
(path[0] == '/' || path.startsWith(":/"))
#endif
;

View File

@ -114,7 +114,7 @@ void Label::setImage(const QString &path)
#ifdef Q_WS_WIN
!QDir::isRelativePath(path)
#else
path[0] == '/'
(path[0] == '/' || path.startsWith(":/"))
#endif
;

View File

@ -108,7 +108,7 @@ void PushButton::setImage(const QString &path)
#ifdef Q_WS_WIN
!QDir::isRelativePath(path)
#else
path[0] == '/'
(path[0] == '/' || path.startsWith(":/"))
#endif
;

View File

@ -108,7 +108,7 @@ void RadioButton::setImage(const QString &path)
#ifdef Q_WS_WIN
!QDir::isRelativePath(path)
#else
path[0] == '/'
(path[0] == '/' || path.startsWith(":/"))
#endif
;

View File

@ -110,7 +110,7 @@ void <Name>::setImage(const QString &path)
#ifdef Q_WS_WIN
!QDir::isRelativePath(path)
#else
path[0] == '/'
(path[0] == '/' || path.startsWith(":/"))
#endif
;