diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-02-01 15:11:21 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-02-01 15:11:21 -0600 |
commit | f537c21b68e08f649b1b297bce8f3904603137e0 (patch) | |
tree | fb33065387509dea898c90022ddec9c3f8ede86d /konqueror/keditbookmarks/listview.h | |
parent | dc5f267664506a312203c26bfe9001a448b0bb0f (diff) | |
download | tdebase-f537c21b68e08f649b1b297bce8f3904603137e0.tar.gz tdebase-f537c21b68e08f649b1b297bce8f3904603137e0.zip |
Rename a number of classes to enhance compatibility with KDE4
Diffstat (limited to 'konqueror/keditbookmarks/listview.h')
-rw-r--r-- | konqueror/keditbookmarks/listview.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/konqueror/keditbookmarks/listview.h b/konqueror/keditbookmarks/listview.h index 7ffe76c37..1ada9506c 100644 --- a/konqueror/keditbookmarks/listview.h +++ b/konqueror/keditbookmarks/listview.h @@ -34,7 +34,7 @@ #include "toplevel.h" class TQSplitter; -class KListViewSearchLine; +class TDEListViewSearchLine; class KEBListViewItem : public TQListViewItem { @@ -80,7 +80,7 @@ private: void boldStyle(TQPainter *); }; -class KEBListView : public KListView +class KEBListView : public TDEListView { Q_OBJECT public: @@ -92,7 +92,7 @@ public: AddressColumn = 4 }; KEBListView(TQWidget *parent, bool folderList) - : KListView(parent), m_folderList(folderList) {} + : TDEListView(parent), m_folderList(folderList) {} virtual ~KEBListView() {} void init(); @@ -111,7 +111,7 @@ public: public slots: virtual void rename(TQListViewItem *item, int c); void slotMoved(); - void slotContextMenu(KListView *, TQListViewItem *, const TQPoint &); + void slotContextMenu(TDEListView *, TQListViewItem *, const TQPoint &); void slotItemRenamed(TQListViewItem *, const TQString &, int); void slotDoubleClicked(TQListViewItem *, const TQPoint &, int); void slotDropped(TQDropEvent*, TQListViewItem*, TQListViewItem*); @@ -135,7 +135,7 @@ public: void initListViews(); void updateListViewSetup(bool readOnly); void connectSignals(); - void setSearchLine(KListViewSearchLine * searchline) { m_searchline = searchline; }; + void setSearchLine(TDEListViewSearchLine * searchline) { m_searchline = searchline; }; // selected item stuff void selected(KEBListViewItem * item, bool s); @@ -179,7 +179,7 @@ public: void handleMoved(KEBListView *); void handleDropped(KEBListView *, TQDropEvent *, TQListViewItem *, TQListViewItem *); - void handleContextMenu(KEBListView *, KListView *, TQListViewItem *, const TQPoint &); + void handleContextMenu(KEBListView *, TDEListView *, TQListViewItem *, const TQPoint &); void handleDoubleClicked(KEBListView *, TQListViewItem *, const TQPoint &, int); void handleItemRenamed(KEBListView *, TQListViewItem *, const TQString &, int); @@ -200,7 +200,7 @@ private: ListView(); KEBListView *m_listView; - KListViewSearchLine * m_searchline; + TDEListViewSearchLine * m_searchline; // Actually this is a std:set, the bool is ignored TQMap<KEBListViewItem *, bool> mSelectedItems; |