deprecated--

latin1() => toLatin1()
ascii() => toAscii()

svn path=/trunk/KDE/kdebase/workspace/; revision=531650
This commit is contained in:
Frank Osterfeld 2006-04-19 19:04:11 +00:00
parent c223d79ebe
commit a401b1a999

View file

@ -76,10 +76,10 @@ void loadFakeSessionInfo( KConfig* config )
QString n = QString::number(i);
SessionInfo* info = new SessionInfo;
fakeSession.append( info );
info->windowRole = config->readEntry( QString("windowRole")+n, QString() ).latin1();
info->resourceName = config->readEntry( QString("resourceName")+n, QString() ).latin1();
info->resourceClass = config->readEntry( QString("resourceClass")+n, QString() ).toLower().latin1();
info->wmClientMachine = config->readEntry( QString("clientMachine")+n, QString() ).latin1();
info->windowRole = config->readEntry( QString("windowRole")+n, QString() ).toLatin1();
info->resourceName = config->readEntry( QString("resourceName")+n, QString() ).toLatin1();
info->resourceClass = config->readEntry( QString("resourceClass")+n, QString() ).toLower().toLatin1();
info->wmClientMachine = config->readEntry( QString("clientMachine")+n, QString() ).toLatin1();
info->geometry = config->readEntry( QString("geometry")+n, QRect() );
info->restore = config->readEntry( QString("restore")+n, QRect() );
info->fsrestore = config->readEntry( QString("fsrestore")+n, QRect() );
@ -94,7 +94,7 @@ void loadFakeSessionInfo( KConfig* config )
info->skipTaskbar = config->readEntry( QString("skipTaskbar")+n, false );
info->skipPager = config->readEntry( QString("skipPager")+n, false );
info->userNoBorder = config->readEntry( QString("userNoBorder")+n, false );
info->windowType = txtToWindowType( config->readEntry( QString("windowType")+n, QString() ).latin1());
info->windowType = txtToWindowType( config->readEntry( QString("windowType")+n, QString() ).toLatin1());
info->active = false;
info->fake = true;
}