mirror of
https://bitbucket.org/smil3y/kde-workspace.git
synced 2025-02-23 18:32:50 +00:00
generic: avoid use of legacy QString::null, QString::Null, QChar::Null and QChar::null
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
This commit is contained in:
parent
952244d637
commit
f45ebe197a
4 changed files with 4 additions and 4 deletions
|
@ -142,7 +142,7 @@ QString Rules::getRulesName()
|
|||
return name;
|
||||
}
|
||||
|
||||
return QString::null;
|
||||
return QString();
|
||||
}
|
||||
|
||||
static QString findXkbRulesFile()
|
||||
|
|
|
@ -296,7 +296,7 @@ KGenericGreeter::clear()
|
|||
{
|
||||
// assert(!running && !passwd1Edit);
|
||||
revive();
|
||||
curUser = QString::null;
|
||||
curUser = QString();
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -522,7 +522,7 @@ bool Processes::loadHistoryFile(const QString &filename)
|
|||
QString Processes::historyFileName() const
|
||||
{
|
||||
if(!d->mIsLocalHost || !d->mHistoricProcesses)
|
||||
return QString::null;
|
||||
return QString();
|
||||
return d->mHistoricProcesses->historyFileName();
|
||||
}
|
||||
QDateTime Processes::viewingTime() const
|
||||
|
|
|
@ -56,7 +56,7 @@ namespace KSysGuard
|
|||
|
||||
public:
|
||||
|
||||
Processes(const QString &hostname = QString::null, QObject * parent = 0);
|
||||
Processes(const QString &hostname = QString(), QObject * parent = 0);
|
||||
virtual ~Processes();
|
||||
enum UpdateFlag {
|
||||
StandardInformation = 1,
|
||||
|
|
Loading…
Add table
Reference in a new issue