author | llornkcor <llornkcor> | 2003-06-14 17:39:26 (UTC) |
---|---|---|
committer | llornkcor <llornkcor> | 2003-06-14 17:39:26 (UTC) |
commit | e2a1c237211e4009ce2b76d3adc3860fbb255732 (patch) (unidiff) | |
tree | 6d76151c961368c111f478fe58cb367424c6e2c6 /noncore/apps/tinykate/tinykate.h | |
parent | 437e389cc5cca518c5f26677f98c464f9255ec04 (diff) | |
download | opie-e2a1c237211e4009ce2b76d3adc3860fbb255732.zip opie-e2a1c237211e4009ce2b76d3adc3860fbb255732.tar.gz opie-e2a1c237211e4009ce2b76d3adc3860fbb255732.tar.bz2 |
changes by craig graham. please test to make sure nothing important was taken out.
Diffstat (limited to 'noncore/apps/tinykate/tinykate.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/apps/tinykate/tinykate.h | 24 |
1 files changed, 18 insertions, 6 deletions
diff --git a/noncore/apps/tinykate/tinykate.h b/noncore/apps/tinykate/tinykate.h index 2e8ca74..077d5f0 100644 --- a/noncore/apps/tinykate/tinykate.h +++ b/noncore/apps/tinykate/tinykate.h | |||
@@ -23,9 +23,9 @@ | |||
23 | #include <opie/otabwidget.h> | 23 | #include <opie/otabwidget.h> |
24 | #include <ktexteditor.h> | 24 | #include <ktexteditor.h> |
25 | 25 | ||
26 | class QToolButton; | ||
27 | class QAction; | 26 | class QAction; |
28 | class QPopupMenu; | 27 | class QPopupMenu; |
28 | class CGotoLine; | ||
29 | 29 | ||
30 | class TinyKate : public QMainWindow | 30 | class TinyKate : public QMainWindow |
31 | { | 31 | { |
@@ -36,7 +36,6 @@ public: | |||
36 | 36 | ||
37 | public slots: | 37 | public slots: |
38 | void slotNew(); | 38 | void slotNew(); |
39 | void setDocument(const QString& fileref); | ||
40 | 39 | ||
41 | protected slots: | 40 | protected slots: |
42 | void slotOpen(); | 41 | void slotOpen(); |
@@ -44,19 +43,32 @@ protected slots: | |||
44 | void slotCurrentChanged(QWidget *); | 43 | void slotCurrentChanged(QWidget *); |
45 | void slotSave(); | 44 | void slotSave(); |
46 | void slotSaveAs(); | 45 | void slotSaveAs(); |
46 | void slotGoTo(); | ||
47 | void slotCursorMoved(); | ||
48 | void setDocument(const QString &doc); | ||
49 | |||
47 | protected: | 50 | protected: |
48 | void open(const QString&); | 51 | void open(const QString&); |
49 | private: | 52 | private: |
50 | QString currentFileName; | 53 | QString currentFileName; |
51 | OTabWidget *tabwidget; | 54 | OTabWidget *tabwidget; |
52 | KTextEditor::View *currentView; | 55 | KTextEditor::View *currentView; |
53 | 56 | ||
54 | QToolButton *editCopy, *editCut, *editPaste, *editUndo, *editRedo, *editFindReplace; | 57 | QAction *editCopy; |
55 | QAction *viewIncFontSizes, *viewDecFontSizes, *utilSettings; | 58 | QAction *editCut; |
56 | 59 | QAction *editPaste; | |
60 | QAction *editUndo; | ||
61 | QAction *editRedo; | ||
62 | QAction *editFind; | ||
63 | QAction *editFindReplace; | ||
64 | QAction *viewIncFontSizes; | ||
65 | QAction *viewDecFontSizes; | ||
66 | QAction *utilSettings; | ||
67 | |||
57 | QPopupMenu *hlmenu; | 68 | QPopupMenu *hlmenu; |
58 | uint nextUnnamed; | 69 | uint nextUnnamed; |
59 | uint viewCount; | 70 | uint viewCount; |
71 | int curLine,curCol; | ||
60 | }; | 72 | }; |
61 | 73 | ||
62 | 74 | ||