summaryrefslogtreecommitdiffstats
path: root/src/documentlistview.h
diff options
context:
space:
mode:
authorSlávek Banko <[email protected]>2013-06-29 16:33:55 +0200
committerSlávek Banko <[email protected]>2013-07-04 03:57:45 +0200
commitf2d4b48ad7f6ce4f23c6cbba3e85c67486f922db (patch)
tree0414ba9f0823b98d2a159c11513ddcda84b932cc /src/documentlistview.h
parent5f5e7c5455d52826b0bd50f64fcffb7695ce970d (diff)
downloadkbibtex-f2d4b48ad7f6ce4f23c6cbba3e85c67486f922db.tar.gz
kbibtex-f2d4b48ad7f6ce4f23c6cbba3e85c67486f922db.zip
Initial TDE conversion
Diffstat (limited to 'src/documentlistview.h')
-rw-r--r--src/documentlistview.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/documentlistview.h b/src/documentlistview.h
index aedb0b2..07fe06d 100644
--- a/src/documentlistview.h
+++ b/src/documentlistview.h
@@ -20,7 +20,7 @@
#ifndef KBIBTEXDOCUMENTLISTVIEW_H
#define KBIBTEXDOCUMENTLISTVIEW_H
-#include <klistview.h>
+#include <tdelistview.h>
#include <kxmlguifactory.h>
#include <fileimporter.h>
@@ -29,15 +29,15 @@
class TQString;
class KURL;
-class KActionMenu;
-class KPopupMenu;
+class TDEActionMenu;
+class TDEPopupMenu;
namespace KBibTeX
{
class DocumentWidget;
class DocumentListViewItem;
- class DocumentListView : public KListView
+ class DocumentListView : public TDEListView
{
Q_OBJECT
public:
@@ -45,7 +45,7 @@ namespace KBibTeX
~DocumentListView();
void setFactory( KXMLGUIFactory *factory, KXMLGUIClient *client );
- void setViewShowColumnsMenu( KActionMenu *actionMenu );
+ void setViewShowColumnsMenu( TDEActionMenu *actionMenu );
bool setBibTeXFile( BibTeX::File *bibtexFile );
BibTeX::File* getBibTeXFile( );
@@ -82,7 +82,7 @@ namespace KBibTeX
private slots:
void slotDoubleClick( TQListViewItem * item = NULL );
void setSortingColumn( int column );
- void showBibtexListContextMenu( KListView *, TQListViewItem *, const TQPoint &p );
+ void showBibtexListContextMenu( TDEListView *, TQListViewItem *, const TQPoint &p );
void slotDropped( TQDropEvent* event, TQListViewItem* item );
void saveColumnIndex();
void restoreColumnIndex();
@@ -103,9 +103,9 @@ namespace KBibTeX
static const int maxColumns = 256;
KBibTeX::DocumentWidget *m_docWidget;
BibTeX::File *m_bibtexFile;
- KPopupMenu *m_contextMenu;
- KPopupMenu *m_headerMenu;
- KActionMenu *m_columnVisibleAction;
+ TDEPopupMenu *m_contextMenu;
+ TDEPopupMenu *m_headerMenu;
+ TDEActionMenu *m_columnVisibleAction;
bool m_isReadOnly;
TQValueList<DocumentListViewItem*> m_unreadItems;