Diffstat (limited to 'noncore/apps/opie-console/profile.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/apps/opie-console/profile.h | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/noncore/apps/opie-console/profile.h b/noncore/apps/opie-console/profile.h index 5652ac5..78fe6ab 100644 --- a/noncore/apps/opie-console/profile.h +++ b/noncore/apps/opie-console/profile.h | |||
@@ -21,9 +21,10 @@ public: | |||
21 | enum Terminal {VT102 = 0 }; | 21 | enum Terminal {VT102 = 0 }; |
22 | enum Font { Micro = 0, Small, Medium }; | 22 | enum Font { Micro = 0, Small, Medium }; |
23 | Profile(); | 23 | Profile(); |
24 | Profile( const QString& name, | 24 | Profile( const QString& name, |
25 | const QString& iolayerName, | 25 | const QCString& iolayerName, |
26 | const QCString& termName, | ||
26 | int background, | 27 | int background, |
27 | int foreground, | 28 | int foreground, |
28 | int terminal); | 29 | int terminal); |
29 | Profile( const Profile& ); | 30 | Profile( const Profile& ); |
@@ -31,9 +32,10 @@ public: | |||
31 | bool operator==( const Profile& prof ); | 32 | bool operator==( const Profile& prof ); |
32 | 33 | ||
33 | ~Profile(); | 34 | ~Profile(); |
34 | QString name()const; | 35 | QString name()const; |
35 | QString ioLayerName()const; | 36 | QCString ioLayerName()const; |
37 | QCString terminalName()const; | ||
36 | int foreground()const; | 38 | int foreground()const; |
37 | int background()const; | 39 | int background()const; |
38 | int terminal()const; | 40 | int terminal()const; |
39 | 41 | ||
@@ -50,17 +52,18 @@ public: | |||
50 | int readNumEntry( const QString& key, int = -1 )const; | 52 | int readNumEntry( const QString& key, int = -1 )const; |
51 | bool readBoolEntry( const QString& key, bool = FALSE )const; | 53 | bool readBoolEntry( const QString& key, bool = FALSE )const; |
52 | 54 | ||
53 | void setName( const QString& ); | 55 | void setName( const QString& ); |
54 | void setIOLayer( const QString& ); | 56 | void setIOLayer( const QCString& ); |
57 | void setTerminalName( const QCString& ); | ||
55 | void setBackground( int back ); | 58 | void setBackground( int back ); |
56 | void setForeground( int fore ); | 59 | void setForeground( int fore ); |
57 | void setTerminal( int term ); | 60 | void setTerminal( int term ); |
58 | void setConf( const QMap<QString, QString>& ); | 61 | void setConf( const QMap<QString, QString>& ); |
59 | private: | 62 | private: |
60 | QMap<QString, QString> m_conf; | 63 | QMap<QString, QString> m_conf; |
61 | QString m_name; | 64 | QString m_name; |
62 | QString m_ioLayer; | 65 | QCString m_ioLayer, m_term; |
63 | int m_back; | 66 | int m_back; |
64 | int m_fore; | 67 | int m_fore; |
65 | int m_terminal; | 68 | int m_terminal; |
66 | }; | 69 | }; |