From b9e542d0c805e9adee3a67e44532d5321032e21e Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Thu, 24 Jan 2013 13:51:01 -0600 Subject: Rename KGlobal, KProcess, and KClipboard to avoid conflicts with KDE4 --- src/generalinfowidget.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/generalinfowidget.cpp') diff --git a/src/generalinfowidget.cpp b/src/generalinfowidget.cpp index 99330c1b..d84bc1e8 100644 --- a/src/generalinfowidget.cpp +++ b/src/generalinfowidget.cpp @@ -56,7 +56,7 @@ void GeneralInfoWidget::readConfig() { TQStringList encodings; encodings << i18n("Use global editor settings"); - encodings += KGlobal::charsets()->descriptiveEncodingNames(); + encodings += TDEGlobal::charsets()->descriptiveEncodingNames(); TQStringList::const_iterator it = encodings.constBegin(); while ( it != encodings.constEnd() ) { @@ -65,11 +65,11 @@ void GeneralInfoWidget::readConfig() { } encoding_combo->setCurrentItem( 0 ); -// const TQString DefaultEncoding = KGlobal::charsets()->encodingForName( DomUtil::readEntry( m_projectDom, "/general/defaultencoding", TQString() ) ); +// const TQString DefaultEncoding = TDEGlobal::charsets()->encodingForName( DomUtil::readEntry( m_projectDom, "/general/defaultencoding", TQString() ) ); const TQString DefaultEncoding = DomUtil::readEntry( m_projectDom, "/general/defaultencoding", TQString() ); for ( int i = 0; i < encoding_combo->count(); i++ ) { - if ( KGlobal::charsets()->encodingForName( encoding_combo->text( i ) ) == DefaultEncoding ) + if ( TDEGlobal::charsets()->encodingForName( encoding_combo->text( i ) ) == DefaultEncoding ) { encoding_combo->setCurrentItem( i ); break; @@ -192,7 +192,7 @@ void GeneralInfoWidget::writeConfig() { TQString DefaultEncoding = TQString(); if ( encoding_combo->currentItem() > 0 ) { - DefaultEncoding = KGlobal::charsets()->encodingForName( encoding_combo->currentText() ); + DefaultEncoding = TDEGlobal::charsets()->encodingForName( encoding_combo->currentText() ); } DomUtil::writeEntry( m_projectDom, "/general/defaultencoding", DefaultEncoding ); } -- cgit v1.2.1