diff options
author | Timothy Pearson <[email protected]> | 2013-02-01 14:57:56 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2013-02-01 14:57:56 -0600 |
commit | 6d33c9774c2d9115894db9ad296b91b73b55bc97 (patch) | |
tree | b8f3fbbfe305f642e54f2f1eacf6bc31b5348232 /src/abakuslistview.cpp | |
parent | a7a8d7053d25f615198af314f0404952a6a412b3 (diff) | |
download | abakus-6d33c9774c2d9115894db9ad296b91b73b55bc97.tar.gz abakus-6d33c9774c2d9115894db9ad296b91b73b55bc97.zip |
Rename a number of classes to enhance compatibility with KDE4
Diffstat (limited to 'src/abakuslistview.cpp')
-rw-r--r-- | src/abakuslistview.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/abakuslistview.cpp b/src/abakuslistview.cpp index 477623b..5dd52e4 100644 --- a/src/abakuslistview.cpp +++ b/src/abakuslistview.cpp @@ -30,7 +30,7 @@ #include "function.h" ListView::ListView(TQWidget *parent, const char *name) : - KListView(parent, name), m_menu(0), m_usePopup(false), m_removeSingleId(0), + TDEListView(parent, name), m_menu(0), m_usePopup(false), m_removeSingleId(0), m_removeAllId(0) { setResizeMode(LastColumn); @@ -68,7 +68,7 @@ void ListView::enablePopupHandler(bool enable) if(m_menu) kdError() << "ListView menu shouldn't exist here!\n"; - m_menu = new KPopupMenu(this); + m_menu = new TDEPopupMenu(this); m_removeSingleId = m_menu->insertItem(removeItemString(), this, TQT_SLOT(removeSelected())); m_removeAllId = m_menu->insertItem("Placeholder", this, TQT_SLOT(removeAllItems())); @@ -124,7 +124,7 @@ void ListView::removeSelected() ValueListViewItem::ValueListViewItem(TQListView *listView, const TQString &name, const Abakus::number_t &value) : - KListViewItem(listView, name), m_value(value) + TDEListViewItem(listView, name), m_value(value) { valueChanged(); } |