summaryrefslogtreecommitdiffstats
path: root/kommander/plugin/specialinformation.h
diff options
context:
space:
mode:
Diffstat (limited to 'kommander/plugin/specialinformation.h')
-rw-r--r--kommander/plugin/specialinformation.h10
1 files changed, 5 insertions, 5 deletions
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);