It builds without qt3support
svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=479408
This commit is contained in:
parent
b4e71d407f
commit
9efce2f8f2
@ -1,5 +1,5 @@
|
|||||||
INCLUDES = $(all_includes)
|
INCLUDES = $(all_includes)
|
||||||
|
KDE_CXXFLAGS = -UQT3_SUPPORT
|
||||||
lib_LTLIBRARIES = libplasma.la
|
lib_LTLIBRARIES = libplasma.la
|
||||||
|
|
||||||
libplasma_la_SOURCES = appletinfo.cpp
|
libplasma_la_SOURCES = appletinfo.cpp
|
||||||
|
@ -132,7 +132,7 @@ QString AppletInfo::desktopFile() const
|
|||||||
QString AppletInfo::generateConfigFileName() const
|
QString AppletInfo::generateConfigFileName() const
|
||||||
{
|
{
|
||||||
// generate a config file base name from the library name
|
// generate a config file base name from the library name
|
||||||
QString configFile = "plasmaApplet_" + d->lib.lower();
|
QString configFile = "plasmaApplet_" + d->lib.toLower();
|
||||||
|
|
||||||
if (d->unique)
|
if (d->unique)
|
||||||
{
|
{
|
||||||
@ -141,7 +141,7 @@ QString AppletInfo::generateConfigFileName() const
|
|||||||
else
|
else
|
||||||
{
|
{
|
||||||
configFile.append("_")
|
configFile.append("_")
|
||||||
.append(KRandom::randomString(20).lower())
|
.append(KRandom::randomString(20).toLower())
|
||||||
.append("_rc");
|
.append("_rc");
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -200,17 +200,17 @@ bool AppletInfo::operator==(const AppletInfo& rhs) const
|
|||||||
|
|
||||||
bool AppletInfo::operator<(const AppletInfo& rhs) const
|
bool AppletInfo::operator<(const AppletInfo& rhs) const
|
||||||
{
|
{
|
||||||
return name().lower() < rhs.name().lower();
|
return name().toLower() < rhs.name().toLower();
|
||||||
}
|
}
|
||||||
|
|
||||||
bool AppletInfo::operator>(const AppletInfo& rhs) const
|
bool AppletInfo::operator>(const AppletInfo& rhs) const
|
||||||
{
|
{
|
||||||
return name().lower() > rhs.name().lower();
|
return name().toLower() > rhs.name().toLower();
|
||||||
}
|
}
|
||||||
|
|
||||||
bool AppletInfo::operator<=(const AppletInfo& rhs) const
|
bool AppletInfo::operator<=(const AppletInfo& rhs) const
|
||||||
{
|
{
|
||||||
return name().lower() <= rhs.name().lower();
|
return name().toLower() <= rhs.name().toLower();
|
||||||
}
|
}
|
||||||
|
|
||||||
void AppletInfo::populateMimeData(QMimeData* mimeData)
|
void AppletInfo::populateMimeData(QMimeData* mimeData)
|
||||||
|
Loading…
Reference in New Issue
Block a user