Changeset View
Changeset View
Standalone View
Standalone View
krusader/KViewer/lister.h
Show First 20 Lines • Show All 100 Lines • ▼ Show 20 Line(s) | 93 | protected: | |||
---|---|---|---|---|---|
101 | QStringList readLines(const qint64 filePos, qint64 &endPos, const int lines, QList<qint64> * locs = 0); | 101 | QStringList readLines(const qint64 filePos, qint64 &endPos, const int lines, QList<qint64> * locs = 0); | ||
102 | QString readSection(qint64 p1, qint64 p2); | 102 | QString readSection(qint64 p1, qint64 p2); | ||
103 | void setUpScrollBar(); | 103 | void setUpScrollBar(); | ||
104 | void setCursorPositionOnScreen(const int x, const int y, const int anchorX = -1, const int anchorY = -1); | 104 | void setCursorPositionOnScreen(const int x, const int y, const int anchorX = -1, const int anchorY = -1); | ||
105 | void handleAnchorChange(const int oldAnchor); | 105 | void handleAnchorChange(const int oldAnchor); | ||
106 | void performAnchorChange(const int anchor); | 106 | void performAnchorChange(const int anchor); | ||
107 | void getScreenPosition(const int position, int &x, int &y); | 107 | void getScreenPosition(const int position, int &x, int &y); | ||
108 | 108 | | |||
109 | protected slots: | 109 | public slots: | ||
110 | void slotActionTriggered(const int action); | 110 | void slotActionTriggered(const int action); | ||
111 | | ||||
112 | protected slots: | ||||
111 | void slotCursorPositionChanged(); | 113 | void slotCursorPositionChanged(); | ||
112 | void zoomIn(const int range = 1); | 114 | void zoomIn(const int range = 1); | ||
113 | void zoomOut(const int range = 1); | 115 | void zoomOut(const int range = 1); | ||
114 | 116 | | |||
115 | protected: | 117 | protected: | ||
116 | Lister *_lister; | 118 | Lister *_lister; | ||
117 | 119 | | |||
118 | qint64 _screenStartPos = 0; | 120 | qint64 _screenStartPos = 0; | ||
▲ Show 20 Lines • Show All 200 Lines • Show Last 20 Lines |