diff options
author | Michele Calgaro <[email protected]> | 2025-01-20 17:31:48 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2025-01-20 17:31:48 +0900 |
commit | 1517a05d2ffe7a33e1fe18a2dae540ae1c3d6694 (patch) | |
tree | e6967aa8aacf5e5fca64c6b69f3a0ddc528a5640 /kopete/plugins/history | |
parent | 50da92376284f30d95e18960d2b24c49901fb10d (diff) | |
download | tdenetwork-1517a05d2ffe7a33e1fe18a2dae540ae1c3d6694.tar.gz tdenetwork-1517a05d2ffe7a33e1fe18a2dae540ae1c3d6694.zip |
Use tdeApp
Signed-off-by: Michele Calgaro <[email protected]>
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" |