summaryrefslogtreecommitdiff
authorar <ar>2004-06-24 12:00:48 (UTC)
committer ar <ar>2004-06-24 12:00:48 (UTC)
commit24e08da1b4fb717b14eac200a3c804b2a8b9e704 (patch) (unidiff)
treed8e38f6765c682181b9b523fe8d452d646c9fd7f
parentbc40a4a96e0b2dd156733115026a8fd2bda53bf0 (diff)
downloadopie-24e08da1b4fb717b14eac200a3c804b2a8b9e704.zip
opie-24e08da1b4fb717b14eac200a3c804b2a8b9e704.tar.gz
opie-24e08da1b4fb717b14eac200a3c804b2a8b9e704.tar.bz2
CLEANUP: synchronize appname and filename
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/apps/opie-console/mainwindow.h2
-rw-r--r--noncore/apps/opie-console/opie-console.control2
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 */
14class QToolBar; 14class QToolBar;
15class QToolButton; 15class QToolButton;
16class QMenuBar; 16class QMenuBar;
17class QAction; 17class QAction;
18class MetaFactory; 18class MetaFactory;
19class TabWidget; 19class TabWidget;
20class ProfileManager; 20class ProfileManager;
21class Profile; 21class Profile;
22class FunctionKeyboard; 22class FunctionKeyboard;
23class FKey; 23class FKey;
24class DocLnk; 24class DocLnk;
25 25
26class MainWindow : public QMainWindow { 26class MainWindow : public QMainWindow {
27 Q_OBJECT 27 Q_OBJECT
28public: 28public:
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
56private slots: 56private 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
84private: 84private:
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 @@
1Package: opie-console 1Package: opie-console
2Files: bin/console apps/Applications/console.desktop pics/console/* 2Files: bin/opie-console apps/Applications/console.desktop pics/console/*
3Priority: optional 3Priority: optional
4Section: opie/applications 4Section: opie/applications
5Maintainer: Opie Team <opie@handhelds.org> 5Maintainer: Opie Team <opie@handhelds.org>
6Architecture: arm 6Architecture: arm
7Version: 0.6-$SUB_VERSION 7Version: 0.6-$SUB_VERSION
8Depends: qpe-base, libopiecore2, libopieui2, opie-console-help-en, lrzsz, opie-keytabs 8Depends: qpe-base, libopiecore2, libopieui2, opie-console-help-en, lrzsz, opie-keytabs
9License: GPL 9License: GPL
10Description: Opie terminal app 10Description: Opie terminal app