diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-02-01 15:14:43 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-02-01 15:14:43 -0600 |
commit | d9056e4cfc9bb3187d193deac2355fce73254d2e (patch) | |
tree | 08e5e574b281f3da99abbefdeb01a7860337114f /kweather | |
parent | 73c978ef8c0e4f3795f2d6cb71aedd6a4c903dbb (diff) | |
download | tdetoys-d9056e4cfc9bb3187d193deac2355fce73254d2e.tar.gz tdetoys-d9056e4cfc9bb3187d193deac2355fce73254d2e.zip |
Rename a number of classes to enhance compatibility with KDE4
Diffstat (limited to 'kweather')
-rw-r--r-- | kweather/kweather.cpp | 2 | ||||
-rw-r--r-- | kweather/kweather.h | 4 | ||||
-rw-r--r-- | kweather/serviceconfigdata.ui | 4 |
3 files changed, 5 insertions, 5 deletions
diff --git a/kweather/kweather.cpp b/kweather/kweather.cpp index 18ab953..e7d2fcd 100644 --- a/kweather/kweather.cpp +++ b/kweather/kweather.cpp @@ -85,7 +85,7 @@ kweather::~kweather() void kweather::initContextMenu() { - mContextMenu = new KPopupMenu(this); + mContextMenu = new TDEPopupMenu(this); mContextMenu->insertTitle(i18n("KWeather - %1").arg( reportLocation ), -1, 0); mContextMenu->insertItem(SmallIcon("viewmag"), i18n("Show &Report"), this, TQT_SLOT(doReport()), 0, -1, 1); diff --git a/kweather/kweather.h b/kweather/kweather.h index b3845b5..5a3b06e 100644 --- a/kweather/kweather.h +++ b/kweather/kweather.h @@ -26,7 +26,7 @@ class TQTimer; class dockwidget; class reportView; -class KPopupMenu; +class TDEPopupMenu; class WeatherService_stub; class TQPalette; @@ -82,7 +82,7 @@ private: // Private methods reportView *mReport; DCOPClient *mClient; //DCOPRef *mWeatherService; - KPopupMenu *mContextMenu; + TDEPopupMenu *mContextMenu; WeatherService_stub *mWeatherService; KCMultiDialog *settingsDialog; TQColor mTextColor; diff --git a/kweather/serviceconfigdata.ui b/kweather/serviceconfigdata.ui index 71f6099..dfed656 100644 --- a/kweather/serviceconfigdata.ui +++ b/kweather/serviceconfigdata.ui @@ -67,7 +67,7 @@ </size> </property> </spacer> - <widget class="KListView" row="1" column="2" rowspan="4" colspan="1"> + <widget class="TDEListView" row="1" column="2" rowspan="4" colspan="1"> <column> <property name="text"> <string>Selected</string> @@ -128,7 +128,7 @@ </size> </property> </spacer> - <widget class="KListView" row="1" column="0" rowspan="4" colspan="1"> + <widget class="TDEListView" row="1" column="0" rowspan="4" colspan="1"> <column> <property name="text"> <string>All</string> |