29 #ifndef IRCCOMPLETER_H 30 #define IRCCOMPLETER_H 33 #include <QtCore/qobject.h> 34 #include <QtCore/qstring.h> 35 #include <QtCore/qmetatype.h> 41 class IrcCompleterPrivate;
46 Q_PROPERTY(
QString suffix READ suffix WRITE setSuffix NOTIFY suffixChanged)
47 Q_PROPERTY(
IrcBuffer* buffer READ buffer WRITE setBuffer NOTIFY bufferChanged)
65 void setSuffix(
const QString& suffix);
69 void complete(
const QString& text,
int cursor, Direction direction = Forward);
73 void suffixChanged(
const QString& suffix);
77 void completed(
const QString& text,
int cursor);
88 Q_DECLARE_METATYPE(IRC_PREPEND_NAMESPACE(IrcCompleter::Direction))
90 #endif // IRCCOMPLETER_H Keeps track of buffer status.
Definition: ircbuffer.h:49
Provides command and name completion.
Definition: irccompleter.h:43
Parses commands from user input.
Definition: irccommandparser.h:42