[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    KDE/kdebase/kmenuedit
From:       Laurent Montel <montel () kde ! org>
Date:       2006-02-06 13:38:56
Message-ID: 1139233136.021529.27271.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 506302 by mlaurent:

deprecated--


 M  +4 -4      menufile.cpp  


--- trunk/KDE/kdebase/kmenuedit/menufile.cpp #506301:506302
@@ -64,7 +64,7 @@
    QFile file( m_fileName );
    if (!file.open( QIODevice::ReadOnly ))
    {
-      kdWarning() << "Could not read " << m_fileName << endl;
+      kWarning() << "Could not read " << m_fileName << endl;
       create();
       return false;
    }
@@ -73,7 +73,7 @@
    int errorRow;
    int errorCol;
    if ( !m_doc.setContent( &file, &errorMsg, &errorRow, &errorCol ) ) {
-      kdWarning() << "Parse error in " << m_fileName << ", line " << errorRow << ", \
col " << errorCol << ": " << errorMsg << endl; +      kWarning() << "Parse error in " \
<< m_fileName << ", line " << errorRow << ", col " << errorCol << ": " << errorMsg << \
endl;  file.close();
       create();
       return false;
@@ -96,7 +96,7 @@
    
    if (!file.open( QIODevice::WriteOnly ))
    {
-      kdWarning() << "Could not write " << m_fileName << endl;
+      kWarning() << "Could not write " << m_fileName << endl;
       m_error = i18n("Could not write to %1").arg(m_fileName);
       return false;
    }
@@ -109,7 +109,7 @@
    
    if (file.status() != IO_Ok)
    {
-      kdWarning() << "Could not close " << m_fileName << endl;
+      kWarning() << "Could not close " << m_fileName << endl;
       m_error = i18n("Could not write to %1").arg(m_fileName);
       return false;
    }


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic