diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-02-01 15:10:05 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-02-01 15:10:05 -0600 |
commit | 74a2067d286867e313f736d6733407586b71195e (patch) | |
tree | 182ea565d6909db1541424e4ffb3168b4b139c21 /konq-plugins/adblock | |
parent | 081670a12774435ae60cf8eba9226b91d27852b3 (diff) | |
download | tdeaddons-74a2067d286867e313f736d6733407586b71195e.tar.gz tdeaddons-74a2067d286867e313f736d6733407586b71195e.zip |
Rename a number of classes to enhance compatibility with KDE4
Diffstat (limited to 'konq-plugins/adblock')
-rw-r--r-- | konq-plugins/adblock/adblock.cpp | 2 | ||||
-rw-r--r-- | konq-plugins/adblock/adblock.h | 4 | ||||
-rw-r--r-- | konq-plugins/adblock/adblockdialogue.cpp | 2 | ||||
-rw-r--r-- | konq-plugins/adblock/adblockdialogue.h | 4 |
4 files changed, 6 insertions, 6 deletions
diff --git a/konq-plugins/adblock/adblock.cpp b/konq-plugins/adblock/adblock.cpp index 07dbede..f52fbc0 100644 --- a/konq-plugins/adblock/adblock.cpp +++ b/konq-plugins/adblock/adblock.cpp @@ -63,7 +63,7 @@ AdBlock::AdBlock(TQObject *parent, const char *name, const TQStringList &) : m_part = dynamic_cast<TDEHTMLPart *>(parent); if(!m_part) { kdDebug() << "couldn't get TDEHTMLPart" << endl; return; } - m_menu = new KPopupMenu(m_part->widget()); + m_menu = new TDEPopupMenu(m_part->widget()); m_menu->insertTitle(i18n("Adblock")); m_menu->insertItem(i18n("Configure"), this, TQT_SLOT(showTDECModule())); m_menu->insertItem(i18n("Show Elements"), this, TQT_SLOT(showDialogue())); diff --git a/konq-plugins/adblock/adblock.h b/konq-plugins/adblock/adblock.h index dbb4549..b6c2657 100644 --- a/konq-plugins/adblock/adblock.h +++ b/konq-plugins/adblock/adblock.h @@ -29,7 +29,7 @@ class TDEHTMLPart; class KURLLabel; class TDEHTMLSettings; class AdElement; -class KPopupMenu; +class TDEPopupMenu; namespace KParts { @@ -55,7 +55,7 @@ public: private: TQGuardedPtr<TDEHTMLPart> m_part; KURLLabel *m_label; - KPopupMenu *m_menu; + TDEPopupMenu *m_menu; void fillBlockableElements(AdElementList &elements); void fillWithImages(AdElementList &elements); diff --git a/konq-plugins/adblock/adblockdialogue.cpp b/konq-plugins/adblock/adblockdialogue.cpp index 1aff0f6..48c7090 100644 --- a/konq-plugins/adblock/adblockdialogue.cpp +++ b/konq-plugins/adblock/adblockdialogue.cpp @@ -71,7 +71,7 @@ AdBlockDlg::AdBlockDlg(TQWidget *parent, AdElementList &elements) : connect(this, TQT_SIGNAL( okClicked() ), this, TQT_SLOT( validateFilter() )); connect(m_list, TQT_SIGNAL( doubleClicked(TQListViewItem *, const TQPoint &, int) ), this, TQT_SLOT(updateFilter(TQListViewItem *)) ); - m_menu = new KPopupMenu(this); + m_menu = new TDEPopupMenu(this); m_menu->insertItem(i18n("Filter this item"), this, TQT_SLOT(filterItem())); m_menu->insertItem(i18n("Filter all items at same path"), this, TQT_SLOT(filterPath())); diff --git a/konq-plugins/adblock/adblockdialogue.h b/konq-plugins/adblock/adblockdialogue.h index 793b7c5..38ffca3 100644 --- a/konq-plugins/adblock/adblockdialogue.h +++ b/konq-plugins/adblock/adblockdialogue.h @@ -25,7 +25,7 @@ class TQLabel; class TQLineEdit; -class KPopupMenu; +class TDEPopupMenu; class AdBlockDlg : public KDialogBase { @@ -37,7 +37,7 @@ private: TQListView *m_list; TQLabel *m_label1; TQLabel *m_label2; - KPopupMenu *m_menu; + TDEPopupMenu *m_menu; public: AdBlockDlg(TQWidget *parent, AdElementList &elements); |