* Replace all usage of qDebug() with kDebug(), since kDebug() provides information about

which part of the code the message came from and allows filtering of output
  using kdebugdialog
* Remove explicit creation of singleton classes SessionManager,ColorSchemeManager and
  KeyboardTranslatorManager and automate it with K_GLOBAL_STATIC.
  This ensures that the singleton destructors are called appropriately by KPart clients
  when they unload the libkonsolepart library.


svn path=/trunk/KDE/kdebase/apps/konsole/; revision=754334
This commit is contained in:
Robert Knight
2007-12-29 16:07:31 +00:00
parent 26b549175d
commit 46cfc108d3
31 changed files with 121 additions and 168 deletions

View File

@@ -21,7 +21,7 @@
#include "ScreenWindow.h"
// Qt
#include <QtCore/QDebug>
#include <KDebug>
// Konsole
#include "Screen.h"
@@ -219,7 +219,7 @@ bool ScreenWindow::atEndOfOutput() const
void ScreenWindow::scrollTo( int line )
{
//qDebug() << "ScreenWindow scrolled to " << line << ":" << this;
//kDebug() << "ScreenWindow scrolled to " << line << ":" << this;
if ( line < 0 )
line = 0;
@@ -251,7 +251,7 @@ bool ScreenWindow::trackOutput() const
int ScreenWindow::scrollCount() const
{
// qDebug() << "window returning scroll count of " << _scrollCount;
// kDebug() << "window returning scroll count of " << _scrollCount;
return _scrollCount;
}