-rw-r--r-- | noncore/apps/opie-sheet/mainwindow.h | 2 | ||||
-rw-r--r-- | noncore/apps/tinykate/mainwindow/tinykate.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/noncore/apps/opie-sheet/mainwindow.h b/noncore/apps/opie-sheet/mainwindow.h index 642b7ae..fb15891 100644 --- a/noncore/apps/opie-sheet/mainwindow.h +++ b/noncore/apps/opie-sheet/mainwindow.h | |||
@@ -122,43 +122,43 @@ private slots: | |||
122 | void slotEditAccept(); | 122 | void slotEditAccept(); |
123 | void slotEditCancel(); | 123 | void slotEditCancel(); |
124 | void slotEditPaste(); | 124 | void slotEditPaste(); |
125 | void slotEditPasteContents(); | 125 | void slotEditPasteContents(); |
126 | void slotFormatCells(); | 126 | void slotFormatCells(); |
127 | void slotInsertCells(); | 127 | void slotInsertCells(); |
128 | void slotInsertRows(); | 128 | void slotInsertRows(); |
129 | void slotInsertCols(); | 129 | void slotInsertCols(); |
130 | void slotInsertSheets(); | 130 | void slotInsertSheets(); |
131 | void slotDataSort(); | 131 | void slotDataSort(); |
132 | void slotDataFindReplace(); | 132 | void slotDataFindReplace(); |
133 | void slotRowHeight(); | 133 | void slotRowHeight(); |
134 | void slotRowAdjust(); | 134 | void slotRowAdjust(); |
135 | void slotRowShow(); | 135 | void slotRowShow(); |
136 | void slotRowHide(); | 136 | void slotRowHide(); |
137 | void slotColumnWidth(); | 137 | void slotColumnWidth(); |
138 | void slotColumnAdjust(); | 138 | void slotColumnAdjust(); |
139 | void slotColumnShow(); | 139 | void slotColumnShow(); |
140 | void slotColumnHide(); | 140 | void slotColumnHide(); |
141 | void slotSheetRename(); | 141 | void slotSheetRename(); |
142 | void slotSheetRemove(); | 142 | void slotSheetRemove(); |
143 | void slotFuncOutput(); | 143 | void slotFuncOutput(); |
144 | void slotCellSelect(bool lock); | 144 | void slotCellSelect(bool lock); |
145 | void slotCellClicked(const QString &cell); | 145 | void slotCellClicked(const QString &cell); |
146 | void slotSheetChanged(const QString &name); | 146 | void slotSheetChanged(const QString &name); |
147 | void slotDocModified(); | 147 | void slotDocModified(); |
148 | void selectorShow(); | 148 | void selectorShow(); |
149 | void selectorHide(); | 149 | void selectorHide(); |
150 | void selectorFileNew(const DocLnk &lnkDoc); | 150 | void selectorFileNew(const DocLnk &lnkDoc); |
151 | void selectorFileOpen(const DocLnk &lnkDoc); | 151 | void selectorFileOpen(const DocLnk &lnkDoc); |
152 | 152 | ||
153 | public: | 153 | public: |
154 | static QString appName() { return QString::fromLatin1("sheetqt"); } | 154 | static QString appName() { return QString::fromLatin1("opie-sheet"); } |
155 | MainWindow(QWidget *p, const char*, WFlags); | 155 | MainWindow(QWidget *p, const char*, WFlags); |
156 | ~MainWindow(); | 156 | ~MainWindow(); |
157 | 157 | ||
158 | void setHelpFile(const QString &help_filename) { helpFile=help_filename; } | 158 | void setHelpFile(const QString &help_filename) { helpFile=help_filename; } |
159 | 159 | ||
160 | public slots: | 160 | public slots: |
161 | void setDocument(const QString &applnk_filename); | 161 | void setDocument(const QString &applnk_filename); |
162 | }; | 162 | }; |
163 | 163 | ||
164 | #endif | 164 | #endif |
diff --git a/noncore/apps/tinykate/mainwindow/tinykate.h b/noncore/apps/tinykate/mainwindow/tinykate.h index f630f62..8eb344d 100644 --- a/noncore/apps/tinykate/mainwindow/tinykate.h +++ b/noncore/apps/tinykate/mainwindow/tinykate.h | |||
@@ -4,63 +4,63 @@ | |||
4 | ------------------- | 4 | ------------------- |
5 | begin : November 2002 | 5 | begin : November 2002 |
6 | copyright : (C) 2002 by Joseph Wenninger <jowenn@kde.org> | 6 | copyright : (C) 2002 by Joseph Wenninger <jowenn@kde.org> |
7 | ***************************************************************************/ | 7 | ***************************************************************************/ |
8 | 8 | ||
9 | /*************************************************************************** | 9 | /*************************************************************************** |
10 | * * | 10 | * * |
11 | * This program is free software; you can redistribute it and/or modify * | 11 | * This program is free software; you can redistribute it and/or modify * |
12 | * it under the terms of the GNU General Public License as published by * | 12 | * it under the terms of the GNU General Public License as published by * |
13 | * the Free Software Foundation. * | 13 | * the Free Software Foundation. * |
14 | * ONLY VERSION 2 OF THE LICENSE IS APPLICABLE * | 14 | * ONLY VERSION 2 OF THE LICENSE IS APPLICABLE * |
15 | * * | 15 | * * |
16 | ***************************************************************************/ | 16 | ***************************************************************************/ |
17 | 17 | ||
18 | #ifndef __TINYKATE_H__ | 18 | #ifndef __TINYKATE_H__ |
19 | #define __TINYKATE_H__ | 19 | #define __TINYKATE_H__ |
20 | 20 | ||
21 | 21 | ||
22 | #include <qmainwindow.h> | 22 | #include <qmainwindow.h> |
23 | #include <opie2/otabwidget.h> | 23 | #include <opie2/otabwidget.h> |
24 | #include <ktexteditor.h> | 24 | #include <ktexteditor.h> |
25 | 25 | ||
26 | class QToolButton; | 26 | class QToolButton; |
27 | class QAction; | 27 | class QAction; |
28 | class QPopupMenu; | 28 | class QPopupMenu; |
29 | 29 | ||
30 | class TinyKate : public QMainWindow | 30 | class TinyKate : public QMainWindow |
31 | { | 31 | { |
32 | Q_OBJECT | 32 | Q_OBJECT |
33 | public: | 33 | public: |
34 | TinyKate( QWidget *parent=0, const char *name=0, WFlags f = 0); | 34 | TinyKate( QWidget *parent=0, const char *name=0, WFlags f = 0); |
35 | ~TinyKate( ); | 35 | ~TinyKate( ); |
36 | static QString appName() { return QString::fromLatin1( "kate" ); }; | 36 | static QString appName() { return QString::fromLatin1( "tinykate" ); }; |
37 | 37 | ||
38 | 38 | ||
39 | public slots: | 39 | public slots: |
40 | void slotNew(); | 40 | void slotNew(); |
41 | void setDocument(const QString& fileref); | 41 | void setDocument(const QString& fileref); |
42 | 42 | ||
43 | protected slots: | 43 | protected slots: |
44 | void slotOpen(); | 44 | void slotOpen(); |
45 | void slotClose(); | 45 | void slotClose(); |
46 | void slotCurrentChanged(QWidget *); | 46 | void slotCurrentChanged(QWidget *); |
47 | void slotSave(); | 47 | void slotSave(); |
48 | void slotSaveAs(); | 48 | void slotSaveAs(); |
49 | protected: | 49 | protected: |
50 | void open(const QString&); | 50 | void open(const QString&); |
51 | private: | 51 | private: |
52 | QString currentFileName; | 52 | QString currentFileName; |
53 | Opie::Ui::OTabWidget *tabwidget; | 53 | Opie::Ui::OTabWidget *tabwidget; |
54 | KTextEditor::View *currentView; | 54 | KTextEditor::View *currentView; |
55 | bool shutDown; | 55 | bool shutDown; |
56 | 56 | ||
57 | QToolButton *editCopy, *editCut, *editPaste, *editUndo, *editRedo, *editFindReplace; | 57 | QToolButton *editCopy, *editCut, *editPaste, *editUndo, *editRedo, *editFindReplace; |
58 | QAction *viewIncFontSizes, *viewDecFontSizes, *utilSettings; | 58 | QAction *viewIncFontSizes, *viewDecFontSizes, *utilSettings; |
59 | 59 | ||
60 | QPopupMenu *hlmenu; | 60 | QPopupMenu *hlmenu; |
61 | uint nextUnnamed; | 61 | uint nextUnnamed; |
62 | uint viewCount; | 62 | uint viewCount; |
63 | }; | 63 | }; |
64 | 64 | ||
65 | 65 | ||
66 | #endif // __TINYKATE_H__ | 66 | #endif // __TINYKATE_H__ |