summaryrefslogtreecommitdiffstats
path: root/kate/app/katefilelist.h
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-05-15 00:05:08 -0500
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-05-15 00:05:08 -0500
commit46a657f7108284d4f02107d11fa407cbf95b86b9 (patch)
treea78fceb69fb4046a72283375084f707149fd7edf /kate/app/katefilelist.h
parentc5ad26a7cc7129f39b4929fc9582ed44b0242a57 (diff)
downloadtdebase-46a657f7108284d4f02107d11fa407cbf95b86b9.tar.gz
tdebase-46a657f7108284d4f02107d11fa407cbf95b86b9.zip
Add the ability to reorder documents in kate
Diffstat (limited to 'kate/app/katefilelist.h')
-rw-r--r--kate/app/katefilelist.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/kate/app/katefilelist.h b/kate/app/katefilelist.h
index 176898c4d..e3504cb69 100644
--- a/kate/app/katefilelist.h
+++ b/kate/app/katefilelist.h
@@ -90,7 +90,8 @@ class KateFileList : public KListView
enum sorting {
sortByID = 0,
sortByName = 1,
- sortByURL = 2
+ sortByURL = 2,
+ sortManual = 3
};
TQString tooltip( TQListViewItem *item, int );
@@ -111,6 +112,8 @@ class KateFileList : public KListView
public slots:
void setSortType (int s);
+ void moveFileUp();
+ void moveFileDown();
void slotNextDocument();
void slotPrevDocument();
@@ -151,6 +154,8 @@ class KateFileList : public KListView
KAction* windowNext;
KAction* windowPrev;
KSelectAction* sortAction;
+ KAction* listMoveFileUp;
+ KAction* listMoveFileDown;
TQPtrList<KateFileListItem> m_viewHistory;
TQPtrList<KateFileListItem> m_editHistory;
@@ -158,6 +163,8 @@ class KateFileList : public KListView
TQColor m_viewShade, m_editShade;
bool m_enableBgShading;
+ TQListViewItem *m_clickedMenuItem;
+
class ToolTip *m_tooltip;
};