summaryrefslogtreecommitdiff
path: root/noncore/apps/opie-console/profile.h
authorzecke <zecke>2002-10-22 14:25:05 (UTC)
committer zecke <zecke>2002-10-22 14:25:05 (UTC)
commit53a21f61d99d62e62412e1b5ca9bde085b25bde5 (patch) (unidiff)
tree894a1162468586710213945647d835dd94a3f5f1 /noncore/apps/opie-console/profile.h
parente006ea7655b455974ae64c30098eeecb7304508b (diff)
downloadopie-53a21f61d99d62e62412e1b5ca9bde085b25bde5.zip
opie-53a21f61d99d62e62412e1b5ca9bde085b25bde5.tar.gz
opie-53a21f61d99d62e62412e1b5ca9bde085b25bde5.tar.bz2
set $TERM in MyPty according to the terminal type
emulation_handler set the keyfilter right for the right terminal filetransfer fix warnings profile add Linux, XTerm as Emulation options TerminalWidget add Linux,XTerm
Diffstat (limited to 'noncore/apps/opie-console/profile.h') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/apps/opie-console/profile.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/noncore/apps/opie-console/profile.h b/noncore/apps/opie-console/profile.h
index 4f9e9c2..eeda1b6 100644
--- a/noncore/apps/opie-console/profile.h
+++ b/noncore/apps/opie-console/profile.h
@@ -7,33 +7,36 @@
7#include <qvaluelist.h> 7#include <qvaluelist.h>
8/** 8/**
9 * A session will be generated from a saved 9 * A session will be generated from a saved
10 * profile. A profile contains the iolayername 10 * profile. A profile contains the iolayername
11 * a name. 11 * a name.
12 * We can generate a Session from a Profile 12 * We can generate a Session from a Profile
13 * Configuration is contained here too 13 * Configuration is contained here too
14 */ 14 */
15class Profile { 15class Profile {
16public: 16public:
17 typedef QValueList<Profile> ValueList; 17 typedef QValueList<Profile> ValueList;
18 enum Color { Black = 0, 18 enum Color { Black = 0,
19 White, 19 White,
20 Gray, 20 Gray,
21 Green, 21 Green,
22 Orange}; 22 Orange};
23 enum Terminal {VT102 = 0, VT100 }; 23 enum Terminal {VT102 = 0, VT100,
24 Ansi,
25 Linux,
26 XTerm };
24 enum Font { Micro = 0, Small, Medium }; 27 enum Font { Micro = 0, Small, Medium };
25 Profile(); 28 Profile();
26 Profile( const QString& name, 29 Profile( const QString& name,
27 const QCString& iolayerName, 30 const QCString& iolayerName,
28 const QCString& termName, 31 const QCString& termName,
29 int background, 32 int background,
30 int foreground, 33 int foreground,
31 int terminal); 34 int terminal);
32 Profile( const Profile& ); 35 Profile( const Profile& );
33 Profile &operator=( const Profile& ); 36 Profile &operator=( const Profile& );
34 bool operator==( const Profile& prof ); 37 bool operator==( const Profile& prof );
35 38
36 ~Profile(); 39 ~Profile();
37 QString name()const; 40 QString name()const;
38 QCString ioLayerName()const; 41 QCString ioLayerName()const;
39 QCString terminalName()const; 42 QCString terminalName()const;