summaryrefslogtreecommitdiff
path: root/noncore/apps/opie-console/profile.h
Unidiff
Diffstat (limited to 'noncore/apps/opie-console/profile.h') (more/less context) (show whitespace changes)
-rw-r--r--noncore/apps/opie-console/profile.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/noncore/apps/opie-console/profile.h b/noncore/apps/opie-console/profile.h
index 64eb022..4f9e9c2 100644
--- a/noncore/apps/opie-console/profile.h
+++ b/noncore/apps/opie-console/profile.h
@@ -34,12 +34,13 @@ public:
34 bool operator==( const Profile& prof ); 34 bool operator==( const Profile& prof );
35 35
36 ~Profile(); 36 ~Profile();
37 QString name()const; 37 QString name()const;
38 QCString ioLayerName()const; 38 QCString ioLayerName()const;
39 QCString terminalName()const; 39 QCString terminalName()const;
40 bool autoConnect()const;
40 int foreground()const; 41 int foreground()const;
41 int background()const; 42 int background()const;
42 int terminal()const; 43 int terminal()const;
43 44
44 /* 45 /*
45 * config stuff 46 * config stuff
@@ -54,20 +55,22 @@ public:
54 int readNumEntry( const QString& key, int = -1 )const; 55 int readNumEntry( const QString& key, int = -1 )const;
55 bool readBoolEntry( const QString& key, bool = FALSE )const; 56 bool readBoolEntry( const QString& key, bool = FALSE )const;
56 57
57 void setName( const QString& ); 58 void setName( const QString& );
58 void setIOLayer( const QCString& ); 59 void setIOLayer( const QCString& );
59 void setTerminalName( const QCString& ); 60 void setTerminalName( const QCString& );
61 void setAutoConnect( const bool );
60 void setBackground( int back ); 62 void setBackground( int back );
61 void setForeground( int fore ); 63 void setForeground( int fore );
62 void setTerminal( int term ); 64 void setTerminal( int term );
63 void setConf( const QMap<QString, QString>& ); 65 void setConf( const QMap<QString, QString>& );
64private: 66private:
65 QMap<QString, QString> m_conf; 67 QMap<QString, QString> m_conf;
66 QString m_name; 68 QString m_name;
67 QCString m_ioLayer, m_term; 69 QCString m_ioLayer, m_term;
70 bool m_autoConnect;
68 int m_back; 71 int m_back;
69 int m_fore; 72 int m_fore;
70 int m_terminal; 73 int m_terminal;
71}; 74};
72 75
73#endif 76#endif