* 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

@@ -137,7 +137,7 @@ bool KeyBindingEditor::eventFilter( QObject* watched , QEvent* event )
_ui->testAreaInputEdit->setText(keyEvent->text());
_ui->testAreaOutputEdit->setText(keyEvent->text());
}
//qDebug() << "Entry: " << entry.resultToString();
//kDebug() << "Entry: " << entry.resultToString();
keyEvent->accept();
return true;
@@ -187,7 +187,7 @@ void KeyBindingEditor::bindingTableItemChanged(QTableWidgetItem* item)
KeyboardTranslator::Entry entry = KeyboardTranslatorReader::createEntry(condition,result);
qDebug() << "Created entry: " << entry.conditionToString() << " , " << entry.resultToString();
kDebug() << "Created entry: " << entry.conditionToString() << " , " << entry.resultToString();
_translator->replaceEntry(existing,entry);
@@ -206,7 +206,7 @@ void KeyBindingEditor::setupKeyBindingTable(const KeyboardTranslator* translator
QList<KeyboardTranslator::Entry> entries = translator->entries();
_ui->keyBindingTable->setRowCount(entries.count());
//qDebug() << "Keyboard translator has" << entries.count() << "entries.";
//kDebug() << "Keyboard translator has" << entries.count() << "entries.";
for ( int row = 0 ; row < entries.count() ; row++ )
{