summaryrefslogtreecommitdiffstats
path: root/konq-plugins/sidebar/newsticker
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-01 15:10:05 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-01 15:10:05 -0600
commit74a2067d286867e313f736d6733407586b71195e (patch)
tree182ea565d6909db1541424e4ffb3168b4b139c21 /konq-plugins/sidebar/newsticker
parent081670a12774435ae60cf8eba9226b91d27852b3 (diff)
downloadtdeaddons-74a2067d286867e313f736d6733407586b71195e.tar.gz
tdeaddons-74a2067d286867e313f736d6733407586b71195e.zip
Rename a number of classes to enhance compatibility with KDE4
Diffstat (limited to 'konq-plugins/sidebar/newsticker')
-rw-r--r--konq-plugins/sidebar/newsticker/nspanel.cpp4
-rw-r--r--konq-plugins/sidebar/newsticker/nspanel.h2
-rw-r--r--konq-plugins/sidebar/newsticker/nsstacktabwidget.cpp4
-rw-r--r--konq-plugins/sidebar/newsticker/nsstacktabwidget.h4
4 files changed, 7 insertions, 7 deletions
diff --git a/konq-plugins/sidebar/newsticker/nspanel.cpp b/konq-plugins/sidebar/newsticker/nspanel.cpp
index a5c1261..22bb3a7 100644
--- a/konq-plugins/sidebar/newsticker/nspanel.cpp
+++ b/konq-plugins/sidebar/newsticker/nspanel.cpp
@@ -36,12 +36,12 @@ namespace KSB_News {
// ListBox including ToolTip for item
////////////////////////////////////////////////////////////////
TTListBox::TTListBox(TQWidget *parent, const char *name, WFlags f)
- : KListBox(parent, name, f),
+ : TDEListBox(parent, name, f),
TQToolTip(this) {
}
void TTListBox::clear() {
- KListBox::clear();
+ TDEListBox::clear();
}
void TTListBox::maybeTip(const TQPoint &point) {
diff --git a/konq-plugins/sidebar/newsticker/nspanel.h b/konq-plugins/sidebar/newsticker/nspanel.h
index b09ab33..36b503e 100644
--- a/konq-plugins/sidebar/newsticker/nspanel.h
+++ b/konq-plugins/sidebar/newsticker/nspanel.h
@@ -42,7 +42,7 @@ namespace KSB_News {
////////////////////////////////////////////////////////////////
// ListBox including ToolTip for item
////////////////////////////////////////////////////////////////
- class TTListBox : public KListBox, TQToolTip {
+ class TTListBox : public TDEListBox, TQToolTip {
public:
TTListBox (TQWidget *parent = 0, const char *name = 0, WFlags f = 0);
void clear();
diff --git a/konq-plugins/sidebar/newsticker/nsstacktabwidget.cpp b/konq-plugins/sidebar/newsticker/nsstacktabwidget.cpp
index f6b3b7d..12be5c7 100644
--- a/konq-plugins/sidebar/newsticker/nsstacktabwidget.cpp
+++ b/konq-plugins/sidebar/newsticker/nsstacktabwidget.cpp
@@ -83,7 +83,7 @@ namespace KSB_News {
// popup menu
- popup = new KPopupMenu(this);
+ popup = new TDEPopupMenu(this);
popup->insertItem(KStdGuiItem::configure().iconSet(),
i18n("&Configure Newsticker..."), this,
TQT_SLOT(slotConfigure()));
@@ -94,7 +94,7 @@ namespace KSB_News {
popup->insertSeparator();
// help menu
- helpmenu = new KPopupMenu(this);
+ helpmenu = new TDEPopupMenu(this);
helpmenu->insertItem(appIcon, i18n("&About Newsticker"), this,
TQT_SLOT(slotShowAbout()));
helpmenu->insertItem(i18n("&Report Bug..."), this,
diff --git a/konq-plugins/sidebar/newsticker/nsstacktabwidget.h b/konq-plugins/sidebar/newsticker/nsstacktabwidget.h
index 2be171f..a1d6783 100644
--- a/konq-plugins/sidebar/newsticker/nsstacktabwidget.h
+++ b/konq-plugins/sidebar/newsticker/nsstacktabwidget.h
@@ -35,7 +35,7 @@
class TQVBoxLayout;
class TQPushButton;
class TQStringList;
-class KPopupMenu;
+class TDEPopupMenu;
class TDEAboutData;
class KAboutApplication;
class KBugReport;
@@ -76,7 +76,7 @@ namespace KSB_News {
TQPtrDict<TQWidget> pagesheader;
TQVBoxLayout *layout;
TQWidget *currentPage;
- KPopupMenu *popup, *helpmenu;
+ TDEPopupMenu *popup, *helpmenu;
TDEAboutData *m_aboutdata;
KAboutApplication *m_about;
KBugReport *m_bugreport;