Deprecated--

svn path=/trunk/KDE/kdepim/konsolekalendar/; revision=516553
wilder-work
Laurent Montel 20 years ago
parent da0426a577
commit 58f60da7fd
  1. 2
      filterlog.cpp
  2. 2
      kmedit.cpp
  3. 2
      kmfoldermaildir.cpp
  4. 4
      kmmainwidget.cpp
  5. 2
      kmmsgbase.cpp
  6. 4
      messagecomposer.cpp

@ -153,7 +153,7 @@ bool FilterLog::saveToFile( QString fileName )
it != mLogEntries.end(); ++it )
{
QString tmpString = *it + '\n';
Q3CString cstr( tmpString.local8Bit() );
Q3CString cstr( tmpString.toLocal8Bit() );
ds.writeRawBytes( cstr, cstr.size() );
}
}

@ -378,7 +378,7 @@ bool KMEdit::eventFilter(QObject*o, QEvent* e)
sysLine += " ";
while (!sysLine.isEmpty())
{
*mExtEditorProcess << sysLine.left(sysLine.find(" ")).local8Bit();
*mExtEditorProcess << sysLine.left(sysLine.find(" ")).toLocal8Bit();
sysLine.remove(0, sysLine.find(" ") + 1);
}
connect(mExtEditorProcess, SIGNAL(processExited(KProcess*)),

@ -732,7 +732,7 @@ void KMFolderMaildir::readFileHeaderIntern( const QString& dir,
0, status,
xmarkStr.trimmed(),
replyToIdStr, replyToAuxIdStr, msgIdStr,
file.local8Bit(),
file.toLocal8Bit(),
KMMsgEncryptionStateUnknown, KMMsgSignatureStateUnknown,
KMMsgMDNStateUnknown, f.size() );

@ -3343,7 +3343,7 @@ void KMMainWidget::initializeFilterActions()
icon = "gear";
filterAction = new KAction(as, icon, (*it)->shortcut(), filterCommand,
SLOT(start()), actionCollection(),
normalizedName.local8Bit());
normalizedName.toLocal8Bit());
if(!addedSeparator) {
mApplyFilterActionsMenu->popupMenu()->insertSeparator();
addedSeparator = !addedSeparator;
@ -3425,7 +3425,7 @@ void KMMainWidget::slotShortcutChanged( KMFolder *folder )
QString normalizedName = actionname.replace(" ", "_");
KAction* action =
new KAction(actionlabel, folder->shortcut(), c, SLOT(start()),
actionCollection(), normalizedName.local8Bit());
actionCollection(), normalizedName.toLocal8Bit());
action->setIcon( folder->unreadIconPath() );
c->setAction( action ); // will be deleted along with the command
}

@ -599,7 +599,7 @@ Q3CString KMMsgBase::encodeRFC2231String( const QString& _str,
else if ( codec )
latin = codec->fromUnicode( _str );
else
latin = _str.local8Bit();
latin = _str.toLocal8Bit();
char *l;
for ( l = latin.data(); *l; ++l ) {

@ -2051,7 +2051,7 @@ Q3CString MessageComposer::plainTextFromMarkup( const QString& markupText )
textbody = KMMsgBase::toUsAscii( text );
} else if( codec == 0 ) {
kDebug(5006) << "Something is wrong and I can not get a codec." << endl;
textbody = text.local8Bit();
textbody = text.toLocal8Bit();
} else {
textbody = codec->fromUnicode( text );
}
@ -2081,7 +2081,7 @@ Q3CString MessageComposer::breakLinesAndApplyCodec()
newText = QString::fromLatin1( cText );
} else if( codec == 0 ) {
kDebug(5006) << "Something is wrong and I can not get a codec." << endl;
cText = text.local8Bit();
cText = text.toLocal8Bit();
newText = QString::fromLocal8Bit( cText );
} else {
cText = codec->fromUnicode( text );

Loading…
Cancel
Save