It builds without qt3support

svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=479408
This commit is contained in:
Laurent Montel 2005-11-10 12:03:57 +00:00
parent b4e71d407f
commit 9efce2f8f2
2 changed files with 6 additions and 6 deletions

View File

@ -1,5 +1,5 @@
INCLUDES = $(all_includes)
KDE_CXXFLAGS = -UQT3_SUPPORT
lib_LTLIBRARIES = libplasma.la
libplasma_la_SOURCES = appletinfo.cpp

View File

@ -132,7 +132,7 @@ QString AppletInfo::desktopFile() const
QString AppletInfo::generateConfigFileName() const
{
// 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)
{
@ -141,7 +141,7 @@ QString AppletInfo::generateConfigFileName() const
else
{
configFile.append("_")
.append(KRandom::randomString(20).lower())
.append(KRandom::randomString(20).toLower())
.append("_rc");
}
@ -200,17 +200,17 @@ 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
{
return name().lower() > rhs.name().lower();
return name().toLower() > rhs.name().toLower();
}
bool AppletInfo::operator<=(const AppletInfo& rhs) const
{
return name().lower() <= rhs.name().lower();
return name().toLower() <= rhs.name().toLower();
}
void AppletInfo::populateMimeData(QMimeData* mimeData)