Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
int startLineNo() const { return startlineno; }
int startColumnNo() const { return startcolumn; }
- int endLineNo() const { return currentLineNo(); }
+ inline int endLineNo() const { return currentLineNo(); }
int endColumnNo() const
{ int col = currentColumnNo(); return (col > 0) ? col - 1 : col; }
bool isSymLink(bool ignoreNtfsSymLinks = false) const
{
- if (ignoreNtfsSymLinks) {
#ifdef Q_WS_WIN
+ if (ignoreNtfsSymLinks) {
return !mFileInfo.suffix().compare(QLatin1String("lnk"), Qt::CaseInsensitive);
-#endif
}
+#else
+ Q_UNUSED(ignoreNtfsSymLinks);
+#endif
return mFileInfo.isSymLink();
}
~QWSInputContext() {}
- QString identifierName() { return QString(); }
- QString language() { return QString(); }
+ inline QString identifierName() { return QString(); }
+ inline QString language() { return QString(); }
void reset();
void update();