From c48e769eb275917717e2b55eb869f7e559293ac8 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Thu, 24 Jan 2013 13:48:31 -0600 Subject: Rename KGlobal, KProcess, and KClipboard to avoid conflicts with KDE4 --- kopete/libkopete/ui/kopetefileconfirmdialog.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'kopete/libkopete/ui') diff --git a/kopete/libkopete/ui/kopetefileconfirmdialog.cpp b/kopete/libkopete/ui/kopetefileconfirmdialog.cpp index fffeec66..7291feb9 100644 --- a/kopete/libkopete/ui/kopetefileconfirmdialog.cpp +++ b/kopete/libkopete/ui/kopetefileconfirmdialog.cpp @@ -42,12 +42,12 @@ KopeteFileConfirmDialog::KopeteFileConfirmDialog(const Kopete::FileTransferInfo m_view=new FileConfirmBase(this, "FileConfirmView"); m_view->m_from->setText( info.contact()->metaContact()->displayName() + TQString::fromLatin1( " <" ) + info.contact()->contactId() + TQString::fromLatin1( "> " ) ); - m_view->m_size->setText( KGlobal::locale()->formatNumber( long( info.size() ), 0 ) ); + m_view->m_size->setText( TDEGlobal::locale()->formatNumber( long( info.size() ), 0 ) ); m_view->m_description->setText( description ); m_view->m_filename->setText( info.file() ); - KGlobal::config()->setGroup("File Transfer"); - const TQString defaultPath=KGlobal::config()->readEntry("defaultPath" , TQDir::homeDirPath() ); + TDEGlobal::config()->setGroup("File Transfer"); + const TQString defaultPath=TDEGlobal::config()->readEntry("defaultPath" , TQDir::homeDirPath() ); m_view->m_saveto->setText(defaultPath + TQString::fromLatin1( "/" ) + info.file() ); setMainWidget(m_view); @@ -77,8 +77,8 @@ void KopeteFileConfirmDialog::slotUser2() const TQString directory=url.directory(); if(!directory.isEmpty()) { - KGlobal::config()->setGroup("File Transfer"); - KGlobal::config()->writeEntry("defaultPath" , directory ); + TDEGlobal::config()->setGroup("File Transfer"); + TDEGlobal::config()->writeEntry("defaultPath" , directory ); } if(TQFile(m_view->m_saveto->text()).exists()) -- cgit v1.2.1