author | ar <ar> | 2004-06-24 12:00:48 (UTC) |
---|---|---|
committer | ar <ar> | 2004-06-24 12:00:48 (UTC) |
commit | 24e08da1b4fb717b14eac200a3c804b2a8b9e704 (patch) (unidiff) | |
tree | d8e38f6765c682181b9b523fe8d452d646c9fd7f | |
parent | bc40a4a96e0b2dd156733115026a8fd2bda53bf0 (diff) | |
download | opie-24e08da1b4fb717b14eac200a3c804b2a8b9e704.zip opie-24e08da1b4fb717b14eac200a3c804b2a8b9e704.tar.gz opie-24e08da1b4fb717b14eac200a3c804b2a8b9e704.tar.bz2 |
CLEANUP: synchronize appname and filename
-rw-r--r-- | noncore/apps/opie-console/mainwindow.h | 2 | ||||
-rw-r--r-- | noncore/apps/opie-console/opie-console.control | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/noncore/apps/opie-console/mainwindow.h b/noncore/apps/opie-console/mainwindow.h index b1f175a..db07f5a 100644 --- a/noncore/apps/opie-console/mainwindow.h +++ b/noncore/apps/opie-console/mainwindow.h | |||
@@ -1,127 +1,127 @@ | |||
1 | #ifndef OPIE_MAIN_WINDOW_H | 1 | #ifndef OPIE_MAIN_WINDOW_H |
2 | #define OPIE_MAIN_WINDOW_H | 2 | #define OPIE_MAIN_WINDOW_H |
3 | 3 | ||
4 | #include <qmainwindow.h> | 4 | #include <qmainwindow.h> |
5 | #include <qlist.h> | 5 | #include <qlist.h> |
6 | 6 | ||
7 | #include "session.h" | 7 | #include "session.h" |
8 | 8 | ||
9 | /** | 9 | /** |
10 | * this is the MainWindow of the new opie console | 10 | * this is the MainWindow of the new opie console |
11 | * it's also the dispatcher between the different | 11 | * it's also the dispatcher between the different |
12 | * actions supported by the gui | 12 | * actions supported by the gui |
13 | */ | 13 | */ |
14 | class QToolBar; | 14 | class QToolBar; |
15 | class QToolButton; | 15 | class QToolButton; |
16 | class QMenuBar; | 16 | class QMenuBar; |
17 | class QAction; | 17 | class QAction; |
18 | class MetaFactory; | 18 | class MetaFactory; |
19 | class TabWidget; | 19 | class TabWidget; |
20 | class ProfileManager; | 20 | class ProfileManager; |
21 | class Profile; | 21 | class Profile; |
22 | class FunctionKeyboard; | 22 | class FunctionKeyboard; |
23 | class FKey; | 23 | class FKey; |
24 | class DocLnk; | 24 | class DocLnk; |
25 | 25 | ||
26 | class MainWindow : public QMainWindow { | 26 | class MainWindow : public QMainWindow { |
27 | Q_OBJECT | 27 | Q_OBJECT |
28 | public: | 28 | public: |
29 | MainWindow( QWidget *parent = 0, const char *name = 0, WFlags fl = 0 ); | 29 | MainWindow( QWidget *parent = 0, const char *name = 0, WFlags fl = 0 ); |
30 | ~MainWindow(); | 30 | ~MainWindow(); |
31 | static QString appName() {return QString::fromLatin1("console"); } | 31 | static QString appName() {return QString::fromLatin1("opie-console"); } |
32 | 32 | ||
33 | /** | 33 | /** |
34 | * our factory to generate IOLayer and so on | 34 | * our factory to generate IOLayer and so on |
35 | * | 35 | * |
36 | */ | 36 | */ |
37 | MetaFactory* factory(); | 37 | MetaFactory* factory(); |
38 | 38 | ||
39 | /** | 39 | /** |
40 | * A session contains a QWidget*, | 40 | * A session contains a QWidget*, |
41 | * an IOLayer* and some infos for us | 41 | * an IOLayer* and some infos for us |
42 | */ | 42 | */ |
43 | Session* currentSession(); | 43 | Session* currentSession(); |
44 | 44 | ||
45 | /** | 45 | /** |
46 | * the session list | 46 | * the session list |
47 | */ | 47 | */ |
48 | QList<Session> sessions(); | 48 | QList<Session> sessions(); |
49 | 49 | ||
50 | /** | 50 | /** |
51 | * | 51 | * |
52 | */ | 52 | */ |
53 | ProfileManager* manager(); | 53 | ProfileManager* manager(); |
54 | TabWidget* tabWidget(); | 54 | TabWidget* tabWidget(); |
55 | 55 | ||
56 | private slots: | 56 | private slots: |
57 | void slotNew(); | 57 | void slotNew(); |
58 | void slotConnect(); | 58 | void slotConnect(); |
59 | void slotDisconnect(); | 59 | void slotDisconnect(); |
60 | void slotTerminate(); | 60 | void slotTerminate(); |
61 | void slotConfigure(); | 61 | void slotConfigure(); |
62 | void slotClose(); | 62 | void slotClose(); |
63 | void slotProfile(int); | 63 | void slotProfile(int); |
64 | void slotTransfer(); | 64 | void slotTransfer(); |
65 | void slotOpenKeb(bool); | 65 | void slotOpenKeb(bool); |
66 | void slotOpenButtons(bool); | 66 | void slotOpenButtons(bool); |
67 | void slotRecordScript(); | 67 | void slotRecordScript(); |
68 | void slotSaveScript(); | 68 | void slotSaveScript(); |
69 | void slotRunScript(int); | 69 | void slotRunScript(int); |
70 | void slotFullscreen(); | 70 | void slotFullscreen(); |
71 | void slotQuickLaunch(); | 71 | void slotQuickLaunch(); |
72 | void slotWrap(); | 72 | void slotWrap(); |
73 | void slotSessionChanged( Session* ); | 73 | void slotSessionChanged( Session* ); |
74 | void slotKeyReceived(FKey, ushort, ushort, bool); | 74 | void slotKeyReceived(FKey, ushort, ushort, bool); |
75 | void slotSaveHistory(); | 75 | void slotSaveHistory(); |
76 | 76 | ||
77 | /* what could these both slot do? */ | 77 | /* what could these both slot do? */ |
78 | void slotCopy(); | 78 | void slotCopy(); |
79 | void slotPaste(); | 79 | void slotPaste(); |
80 | 80 | ||
81 | /* save the currentSession() to Profiles */ | 81 | /* save the currentSession() to Profiles */ |
82 | void slotSaveSession(); | 82 | void slotSaveSession(); |
83 | 83 | ||
84 | private: | 84 | private: |
85 | void initUI(); | 85 | void initUI(); |
86 | void populateProfiles(); | 86 | void populateProfiles(); |
87 | void populateScripts(); | 87 | void populateScripts(); |
88 | void create( const Profile& ); | 88 | void create( const Profile& ); |
89 | /** | 89 | /** |
90 | * the current session | 90 | * the current session |
91 | */ | 91 | */ |
92 | Session* m_curSession; | 92 | Session* m_curSession; |
93 | 93 | ||
94 | /** | 94 | /** |
95 | * the session list | 95 | * the session list |
96 | */ | 96 | */ |
97 | QList<Session> m_sessions; | 97 | QList<Session> m_sessions; |
98 | QList<DocLnk> m_scriptsData; | 98 | QList<DocLnk> m_scriptsData; |
99 | 99 | ||
100 | /** | 100 | /** |
101 | * the metafactory | 101 | * the metafactory |
102 | */ | 102 | */ |
103 | MetaFactory* m_factory; | 103 | MetaFactory* m_factory; |
104 | ProfileManager* m_manager; | 104 | ProfileManager* m_manager; |
105 | 105 | ||
106 | TabWidget* m_consoleWindow; | 106 | TabWidget* m_consoleWindow; |
107 | QToolBar* m_tool; | 107 | QToolBar* m_tool; |
108 | QToolBar* m_icons; | 108 | QToolBar* m_icons; |
109 | QToolBar* m_keyBar; | 109 | QToolBar* m_keyBar; |
110 | QToolBar* m_buttonBar; | 110 | QToolBar* m_buttonBar; |
111 | QMenuBar* m_bar; | 111 | QMenuBar* m_bar; |
112 | QPopupMenu* m_console; | 112 | QPopupMenu* m_console; |
113 | QPopupMenu* m_sessionsPop; | 113 | QPopupMenu* m_sessionsPop; |
114 | QPopupMenu* m_scriptsPop; | 114 | QPopupMenu* m_scriptsPop; |
115 | QPopupMenu* m_scripts; | 115 | QPopupMenu* m_scripts; |
116 | QAction* m_connect; | 116 | QAction* m_connect; |
117 | QAction* m_disconnect; | 117 | QAction* m_disconnect; |
118 | QAction* m_quickLaunch; | 118 | QAction* m_quickLaunch; |
119 | QAction* m_terminate; | 119 | QAction* m_terminate; |
120 | QAction* m_transfer; | 120 | QAction* m_transfer; |
121 | QAction* m_setProfiles; | 121 | QAction* m_setProfiles; |
122 | QAction* m_openKeys; | 122 | QAction* m_openKeys; |
123 | QAction* m_openButtons; | 123 | QAction* m_openButtons; |
124 | QAction* m_recordScript; | 124 | QAction* m_recordScript; |
125 | QAction* m_saveScript; | 125 | QAction* m_saveScript; |
126 | QAction* m_fullscreen; | 126 | QAction* m_fullscreen; |
127 | QAction* m_wrap; | 127 | QAction* m_wrap; |
diff --git a/noncore/apps/opie-console/opie-console.control b/noncore/apps/opie-console/opie-console.control index d7051dc..c40d471 100644 --- a/noncore/apps/opie-console/opie-console.control +++ b/noncore/apps/opie-console/opie-console.control | |||
@@ -1,10 +1,10 @@ | |||
1 | Package: opie-console | 1 | Package: opie-console |
2 | Files: bin/console apps/Applications/console.desktop pics/console/* | 2 | Files: bin/opie-console apps/Applications/console.desktop pics/console/* |
3 | Priority: optional | 3 | Priority: optional |
4 | Section: opie/applications | 4 | Section: opie/applications |
5 | Maintainer: Opie Team <opie@handhelds.org> | 5 | Maintainer: Opie Team <opie@handhelds.org> |
6 | Architecture: arm | 6 | Architecture: arm |
7 | Version: 0.6-$SUB_VERSION | 7 | Version: 0.6-$SUB_VERSION |
8 | Depends: qpe-base, libopiecore2, libopieui2, opie-console-help-en, lrzsz, opie-keytabs | 8 | Depends: qpe-base, libopiecore2, libopieui2, opie-console-help-en, lrzsz, opie-keytabs |
9 | License: GPL | 9 | License: GPL |
10 | Description: Opie terminal app | 10 | Description: Opie terminal app |