From e985f7e545f4739493965aad69bbecb136dc9346 Mon Sep 17 00:00:00 2001 From: tpearson Date: Thu, 16 Jun 2011 19:02:47 +0000 Subject: TQt4 port kdewebdev This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdewebdev@1237029 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kommander/plugin/specialinformation.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'kommander/plugin/specialinformation.h') diff --git a/kommander/plugin/specialinformation.h b/kommander/plugin/specialinformation.h index fa898620..1ff00a6c 100644 --- a/kommander/plugin/specialinformation.h +++ b/kommander/plugin/specialinformation.h @@ -36,9 +36,9 @@ public: /* Flags describing which parser supports the function */ enum ParserType {MacroParser = 1, InternalParser = 2, AllParsers = 3}; SpecialFunction(const TQString& function, const TQString& description - = TQString::null, int minArgs = -1, int maxArgs = -1); + = TQString(), int minArgs = -1, int maxArgs = -1); SpecialFunction(ParserType p, const TQString& function, const TQString& description - = TQString::null, int minArgs = -1, int maxArgs = -1); + = TQString(), int minArgs = -1, int maxArgs = -1); SpecialFunction() {m_minArgs = m_maxArgs = 0;} /* minimum number of arguments */ int minArg() const {return m_minArgs;} @@ -90,13 +90,13 @@ public: static TQString description(int gname, int fname); static TQString prototype(int gname, int fname, uint prototypeFlags = 0); /* Insert function supported by all parsers */ - static bool insert(int id, const TQString& function, const TQString description = TQString::null, + static bool insert(int id, const TQString& function, const TQString description = TQString(), int minArgs = -1, int maxArgs = -1, SpecialFunction::ParserType = SpecialFunction::AllParsers); /* Insert function supported by (old) macro parser */ - static bool insertMacro(int id, const TQString& function, const TQString description = TQString::null, + static bool insertMacro(int id, const TQString& function, const TQString description = TQString(), int minArgs = -1, int maxArgs = -1); /* Insert function supported by (new) internal parser */ - static bool insertInternal(int id, const TQString& function, const TQString description = TQString::null, + static bool insertInternal(int id, const TQString& function, const TQString description = TQString(), int minArgs = -1, int maxArgs = -1); static bool insertAlias(int id, const TQString& alias); static void insertGroup(int id, const TQString& name, const TQString& parserName); -- cgit v1.2.3