diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:39:55 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:39:55 +0000 |
commit | 0a6e0958c03e41c87b15557b6f407874f20c2f8d (patch) | |
tree | 2cdd58c4013b1be09cfcbb4ddae2b05712b9aeee /kmplot/kmplot/parseriface.h | |
parent | 83f9dfafc157ff7823804b3ff457b43d021a5b4b (diff) | |
download | tdeedu-0a6e0958c03e41c87b15557b6f407874f20c2f8d.tar.gz tdeedu-0a6e0958c03e41c87b15557b6f407874f20c2f8d.zip |
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeedu@1157642 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kmplot/kmplot/parseriface.h')
-rw-r--r-- | kmplot/kmplot/parseriface.h | 54 |
1 files changed, 27 insertions, 27 deletions
diff --git a/kmplot/kmplot/parseriface.h b/kmplot/kmplot/parseriface.h index 07020ebb..eb20625f 100644 --- a/kmplot/kmplot/parseriface.h +++ b/kmplot/kmplot/parseriface.h @@ -27,8 +27,8 @@ #define XPARSERIFACE_H #include <dcopobject.h> -#include <qcolor.h> -#include <qstringlist.h> +#include <tqcolor.h> +#include <tqstringlist.h> /** @author Fredrik Edemar @@ -38,14 +38,14 @@ class ParserIface : virtual public DCOPObject { K_DCOP k_dcop: - virtual bool addFunction(const QString &extstr, bool f_mode, bool f1_mode, bool f2_mode, bool integral_mode, bool integral_use_precision, int linewidth, int f1_linewidth, int f2_linewidth, int integral_linewidth, const QString &str_dmin, const QString &str_dmax, const QString &str_startx, const QString &str_starty, double integral_precision, QRgb color, QRgb f1_color, QRgb f2_color, QRgb integral_color, QStringList str_parameter, int use_slider) = 0; + virtual bool addFunction(const TQString &extstr, bool f_mode, bool f1_mode, bool f2_mode, bool integral_mode, bool integral_use_precision, int linewidth, int f1_linewidth, int f2_linewidth, int integral_linewidth, const TQString &str_dmin, const TQString &str_dmax, const TQString &str_startx, const TQString &str_starty, double integral_precision, QRgb color, QRgb f1_color, QRgb f2_color, QRgb integral_color, TQStringList str_parameter, int use_slider) = 0; - virtual int addFunction(const QString &f_str) = 0; + virtual int addFunction(const TQString &f_str) = 0; virtual bool delfkt(uint id) = 0; - virtual bool setFunctionExpression(const QString &f_str, uint id) = 0; + virtual bool setFunctionExpression(const TQString &f_str, uint id) = 0; virtual uint countFunctions() = 0; - virtual QStringList listFunctionNames() = 0; - virtual int fnameToId(const QString &name) = 0; + virtual TQStringList listFunctionNames() = 0; + virtual int fnameToId(const TQString &name) = 0; virtual double fkt(uint id, double x) = 0; virtual bool functionFVisible(uint id) = 0; virtual bool functionF1Visible(uint id) = 0; @@ -55,15 +55,15 @@ k_dcop: virtual bool setFunctionF1Visible(bool visible, uint id) = 0; virtual bool setFunctionF2Visible(bool visible, uint id) = 0; virtual bool setFunctionIntVisible(bool visible, uint id) = 0; - virtual QString functionStr(uint id) = 0; - virtual QColor functionFColor(uint id) = 0; - virtual QColor functionF1Color(uint id) = 0; - virtual QColor functionF2Color(uint id) = 0; - virtual QColor functionIntColor(uint id) = 0; - virtual bool setFunctionFColor(const QColor &color, uint id) = 0; - virtual bool setFunctionF1Color(const QColor &color, uint id) = 0; - virtual bool setFunctionF2Color(const QColor &color, uint id) = 0; - virtual bool setFunctionIntColor(const QColor &color, uint id) = 0; + virtual TQString functionStr(uint id) = 0; + virtual TQColor functionFColor(uint id) = 0; + virtual TQColor functionF1Color(uint id) = 0; + virtual TQColor functionF2Color(uint id) = 0; + virtual TQColor functionIntColor(uint id) = 0; + virtual bool setFunctionFColor(const TQColor &color, uint id) = 0; + virtual bool setFunctionF1Color(const TQColor &color, uint id) = 0; + virtual bool setFunctionF2Color(const TQColor &color, uint id) = 0; + virtual bool setFunctionIntColor(const TQColor &color, uint id) = 0; virtual int functionFLineWidth(uint id) = 0; virtual int functionF1LineWidth(uint id) = 0; virtual int functionF2LineWidth(uint id) = 0; @@ -72,17 +72,17 @@ k_dcop: virtual bool setFunctionF1LineWidth(int linewidth, uint id) = 0; virtual bool setFunctionF2LineWidth(int linewidth, uint id) = 0; virtual bool setFunctionIntLineWidth(int linewidth, uint id) = 0; - virtual QStringList functionParameterList(uint id) = 0; - virtual bool functionAddParameter(const QString &new_parameter, uint id) = 0; - virtual bool functionRemoveParameter(const QString &remove_parameter, uint id) = 0; - virtual QString functionMinValue(uint id) = 0; - virtual QString functionMaxValue(uint id) = 0; - virtual bool setFunctionMinValue(const QString &min, uint id) = 0; - virtual bool setFunctionMaxValue(const QString &max, uint id) = 0; - virtual QString functionStartXValue(uint id) = 0; - virtual QString functionStartYValue(uint id) = 0; - virtual bool setFunctionStartXValue(const QString &x, uint id) = 0; - virtual bool setFunctionStartYValue(const QString &y, uint id) = 0; + virtual TQStringList functionParameterList(uint id) = 0; + virtual bool functionAddParameter(const TQString &new_parameter, uint id) = 0; + virtual bool functionRemoveParameter(const TQString &remove_parameter, uint id) = 0; + virtual TQString functionMinValue(uint id) = 0; + virtual TQString functionMaxValue(uint id) = 0; + virtual bool setFunctionMinValue(const TQString &min, uint id) = 0; + virtual bool setFunctionMaxValue(const TQString &max, uint id) = 0; + virtual TQString functionStartXValue(uint id) = 0; + virtual TQString functionStartYValue(uint id) = 0; + virtual bool setFunctionStartXValue(const TQString &x, uint id) = 0; + virtual bool setFunctionStartYValue(const TQString &y, uint id) = 0; }; |