diff options
Diffstat (limited to 'kopete/plugins/history')
-rw-r--r-- | kopete/plugins/history/converter.cpp | 4 | ||||
-rw-r--r-- | kopete/plugins/history/historydialog.cpp | 8 |
2 files changed, 6 insertions, 6 deletions
diff --git a/kopete/plugins/history/converter.cpp b/kopete/plugins/history/converter.cpp index c63833e8..cdd0acfd 100644 --- a/kopete/plugins/history/converter.cpp +++ b/kopete/plugins/history/converter.cpp @@ -40,7 +40,7 @@ void HistoryPlugin::convertOldHistory() i18n( "Would you like to remove old history files?" ) , i18n( "History Converter" ), KStdGuiItem::del(), i18n("Keep") ) == KMessageBox::Yes; KProgressDialog *progressDlg=new KProgressDialog(Kopete::UI::Global::mainWidget() , "history_progress_dlg" , i18n( "History converter" ) , - TQString() , true); //modal to make sure the user will not doing stupid things (we have a kapp->processEvents()) + TQString() , true); //modal to make sure the user will not doing stupid things (we have a tdeApp->processEvents()) progressDlg->setAllowCancel(false); //because i am too lazy to allow to cancel @@ -123,7 +123,7 @@ void HistoryPlugin::convertOldHistory() if(!contactId.isEmpty() ) { progressDlg->setLabel(i18n("Parsing old history in %1:\n%2").arg(fi->fileName()).arg(contactId)); - kapp->processEvents(0); //make sure the text is updated in the progressDlg + tdeApp->processEvents(0); //make sure the text is updated in the progressDlg int month=0; int year=0; diff --git a/kopete/plugins/history/historydialog.cpp b/kopete/plugins/history/historydialog.cpp index 4842db32..6df41a26 100644 --- a/kopete/plugins/history/historydialog.cpp +++ b/kopete/plugins/history/historydialog.cpp @@ -596,18 +596,18 @@ void HistoryDialog::slotCopy() qsSelection = mHtmlPart->selectedText(); if ( qsSelection.isEmpty() ) return; - disconnect( kapp->clipboard(), TQ_SIGNAL( selectionChanged()), mHtmlPart, TQ_SLOT(slotClearSelection())); + disconnect( tdeApp->clipboard(), TQ_SIGNAL( selectionChanged()), mHtmlPart, TQ_SLOT(slotClearSelection())); TQApplication::clipboard()->setText(qsSelection, TQClipboard::Clipboard); TQApplication::clipboard()->setText(qsSelection, TQClipboard::Selection); - connect( kapp->clipboard(), TQ_SIGNAL( selectionChanged()), mHtmlPart, TQ_SLOT(slotClearSelection())); + connect( tdeApp->clipboard(), TQ_SIGNAL( selectionChanged()), mHtmlPart, TQ_SLOT(slotClearSelection())); } void HistoryDialog::slotCopyURL() { - disconnect( kapp->clipboard(), TQ_SIGNAL( selectionChanged()), mHtmlPart, TQ_SLOT(slotClearSelection())); + disconnect( tdeApp->clipboard(), TQ_SIGNAL( selectionChanged()), mHtmlPart, TQ_SLOT(slotClearSelection())); TQApplication::clipboard()->setText( mURL, TQClipboard::Clipboard); TQApplication::clipboard()->setText( mURL, TQClipboard::Selection); - connect( kapp->clipboard(), TQ_SIGNAL( selectionChanged()), mHtmlPart, TQ_SLOT(slotClearSelection())); + connect( tdeApp->clipboard(), TQ_SIGNAL( selectionChanged()), mHtmlPart, TQ_SLOT(slotClearSelection())); } #include "historydialog.moc" |