qWarning -> kdWarning
svn path=/trunk/kdebase/kwin/; revision=138408
This commit is contained in:
parent
71b35e9a0c
commit
34bbc5e457
3 changed files with 10 additions and 7 deletions
|
@ -3,6 +3,7 @@
|
|||
#include <kapplication.h>
|
||||
#include <ksimpleconfig.h>
|
||||
#include <kglobal.h>
|
||||
#include <kdebug.h>
|
||||
#include <kstandarddirs.h>
|
||||
#include <kcmdlineargs.h>
|
||||
#include <klocale.h>
|
||||
|
@ -21,11 +22,11 @@ void copy(const QString &src, const QString &dest)
|
|||
QFile copyInput(src);
|
||||
QFile copyOutput(dest);
|
||||
if(!copyInput.open(IO_ReadOnly)){
|
||||
qWarning("Couldn't open %s", src.latin1());
|
||||
kdWarning() << "Couldn't open " << src << endl;
|
||||
return;
|
||||
}
|
||||
if(!copyOutput.open(IO_WriteOnly)){
|
||||
qWarning("Couldn't open %s", dest.latin1());
|
||||
kdWarning() << "Couldn't open " << dest << endl;
|
||||
copyInput.close();
|
||||
return;
|
||||
}
|
||||
|
@ -43,7 +44,7 @@ int main(int argc, char **argv)
|
|||
KApplication app(argc, argv);
|
||||
KCmdLineArgs *args = KCmdLineArgs::parsedArgs();
|
||||
if(!args->count()){
|
||||
qWarning("You need to specify the path to a theme config file!");
|
||||
kdWarning() << "You need to specify the path to a theme config file!" << endl;
|
||||
return(1);
|
||||
}
|
||||
|
||||
|
@ -52,7 +53,7 @@ int main(int argc, char **argv)
|
|||
QString tmpStr;
|
||||
|
||||
if(!f.exists()){
|
||||
qWarning("Specified theme config file doesn't exist!");
|
||||
kdWarning() << "Specified theme config file doesn't exist!" << endl;
|
||||
return(2);
|
||||
}
|
||||
|
||||
|
|
|
@ -6,6 +6,7 @@
|
|||
#include <qpainter.h>
|
||||
#include <kpixmapeffect.h>
|
||||
#include <kstandarddirs.h>
|
||||
#include <kdebug.h>
|
||||
#include <klocale.h>
|
||||
#include <qbitmap.h>
|
||||
#include <qstyle.h>
|
||||
|
@ -91,7 +92,7 @@ static void create_pixmaps()
|
|||
framePixmaps[i] = new QPixmap(locate("appdata",
|
||||
"pics/"+config->readEntry(keys[i], " ")));
|
||||
if(framePixmaps[i]->isNull())
|
||||
qWarning("Unable to load frame pixmap for %s", keys[i]);
|
||||
kdWarning() << "Unable to load frame pixmap for " << keys[i] << endl;
|
||||
}
|
||||
/*
|
||||
*framePixmaps[FrameTop] = stretchPixmap(*framePixmaps[FrameTop], false);
|
||||
|
@ -331,7 +332,7 @@ KWMThemeClient::KWMThemeClient( Workspace *ws, WId w, QWidget *parent,
|
|||
if((val != "Off") &&
|
||||
((val == "Iconify") && !isMinimizable()) &&
|
||||
((val == "Maximize") && !isMaximizable()))
|
||||
qWarning("KWin: Unrecognized button value: %s", val.latin1());
|
||||
kdWarning() << "KWin: Unrecognized button value: " << val << endl;
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
@ -7,6 +7,7 @@ Copyright (C) 1999, 2000 Daniel M. Duley <mosfet@kde.org>
|
|||
#include <kconfig.h>
|
||||
#include <kstandarddirs.h>
|
||||
#include <kdesktopfile.h>
|
||||
#include <kdebug.h>
|
||||
#include <ksimpleconfig.h>
|
||||
#include <klocale.h>
|
||||
#include <klibloader.h>
|
||||
|
@ -113,7 +114,7 @@ void PluginMgr::loadPlugin(QString nameStr)
|
|||
if(alloc_func) {
|
||||
alloc_ptr = (Client* (*)(Workspace *ws, WId w, int tool))alloc_func;
|
||||
} else {
|
||||
qWarning("KWin: The library %s is not a KWin plugin.", path.latin1());
|
||||
kdWarning() << "KWin: The library " << path << " is not a KWin plugin." << endl;
|
||||
library->unload();
|
||||
exit(1);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue