From a9bde819f2b421dcc44741156e75eca4bb5fb4f4 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Thu, 24 Jan 2013 13:49:30 -0600 Subject: Rename KGlobal, KProcess, and KClipboard to avoid conflicts with KDE4 --- kontact/plugins/weather/summarywidget.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'kontact/plugins/weather/summarywidget.cpp') diff --git a/kontact/plugins/weather/summarywidget.cpp b/kontact/plugins/weather/summarywidget.cpp index 63c7c8977..2b114ca24 100644 --- a/kontact/plugins/weather/summarywidget.cpp +++ b/kontact/plugins/weather/summarywidget.cpp @@ -45,7 +45,7 @@ SummaryWidget::SummaryWidget( TQWidget *parent, const char *name ) mLayout = new TQVBoxLayout( this, 3, 3 ); mLayout->setAlignment( TQt::AlignTop ); - TQPixmap icon = KGlobal::iconLoader()->loadIcon( "kweather", KIcon::Desktop, KIcon::SizeMedium ); + TQPixmap icon = TDEGlobal::iconLoader()->loadIcon( "kweather", KIcon::Desktop, KIcon::SizeMedium ); TQWidget *header = createHeader( this, icon, i18n( "Weather Service" ) ); mLayout->addWidget( header ); @@ -209,9 +209,9 @@ void SummaryWidget::updateSummary( bool ) void SummaryWidget::showReport( const TQString &stationID ) { - mProc = new KProcess; - TQApplication::connect( mProc, TQT_SIGNAL( processExited( KProcess* ) ), - this, TQT_SLOT( reportFinished( KProcess* ) ) ); + mProc = new TDEProcess; + TQApplication::connect( mProc, TQT_SIGNAL( processExited( TDEProcess* ) ), + this, TQT_SLOT( reportFinished( TDEProcess* ) ) ); *mProc << "kweatherreport"; *mProc << stationID; @@ -221,7 +221,7 @@ void SummaryWidget::showReport( const TQString &stationID ) } } -void SummaryWidget::reportFinished( KProcess* ) +void SummaryWidget::reportFinished( TDEProcess* ) { mProc->deleteLater(); mProc = 0; -- cgit v1.2.1