mirror of
https://github.com/KDE/konsole.git
synced 2026-05-04 04:33:38 -04:00
* 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:
@@ -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++ )
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user