summaryrefslogtreecommitdiff
path: root/noncore/apps/opie-console/profile.h
authorzecke <zecke>2002-10-08 16:37:37 (UTC)
committer zecke <zecke>2002-10-08 16:37:37 (UTC)
commit76fb8a57bf9fbae3a7073c8b0be1216f34adf99c (patch) (unidiff)
tree3f486d66ce474039b1a0fc4ade770e6e8a7c32b3 /noncore/apps/opie-console/profile.h
parentfaeb94a4000dc539577af465107b5d10903f92d6 (diff)
downloadopie-76fb8a57bf9fbae3a7073c8b0be1216f34adf99c.zip
opie-76fb8a57bf9fbae3a7073c8b0be1216f34adf99c.tar.gz
opie-76fb8a57bf9fbae3a7073c8b0be1216f34adf99c.tar.bz2
SzModem:
Make it compile remove = 0 from sendFile Add a Type to Sz so it could cover SX,SY too MetaFactory: take QCString name QString uiString so Carsten will be able to translate and users can switch Language without losing profiles Default It's aware of all Default/BuiltIn Plugins and adds them to the factory Common typedef bool BOOL TT is not using bool because it wasn't available at that time they use uint : 1... maybe we should change UINT_8 to Q_UINT8... MainWindow: give the factory to the config widget use Default IOLayer reload should take Profile not Config ConfigDialog: make use of Factory and do not do new MetaFactory.. i should make the c'tor private and add MainWindow as friend ProfileEditorDialog: Huge clean ups to the architecture. I still need to convert the widgets. Use the factory right
Diffstat (limited to 'noncore/apps/opie-console/profile.h') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/apps/opie-console/profile.h11
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
@@ -22,7 +22,8 @@ public:
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);
@@ -32,7 +33,8 @@ public:
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;
@@ -51,7 +53,8 @@ public:
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 );
@@ -59,7 +62,7 @@ public:
59private: 62private:
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;