Diffstat (limited to 'noncore/apps/opie-console/script.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/apps/opie-console/script.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/noncore/apps/opie-console/script.h b/noncore/apps/opie-console/script.h index dc2351b..b3eac7f 100644 --- a/noncore/apps/opie-console/script.h +++ b/noncore/apps/opie-console/script.h @@ -6,25 +6,25 @@ /* Very simple scripting - this class stores keys received * by emulation_layer */ class Script { public: /* Construct an empty script */ Script(); /* Load a script from a text file */ Script(const QString fileName); /* Append a line to the script */ - void appendString(const QString string); + void append(const QByteArray &data); /* Save this script to a file */ void saveTo(const QString fileName) const; /* Return the script's content */ - QString script() const; + QByteArray script() const; protected: - QString m_script; + QByteArray m_script; }; #endif /* CONSOLE_SCRIPT_H */ |