X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fuisupport%2Fmultilineedit.cpp;h=e29ef205581b0e1bcb6ea696bad702fbe1fd5334;hp=f5ed3172cc3e7dacf4a7f93760f915df6033cc5c;hb=c52a94cb937654bf06d5074bf0736a52ec94a52d;hpb=84cd3561e97167ffb98ecab0fd2b884ba1d13ada diff --git a/src/uisupport/multilineedit.cpp b/src/uisupport/multilineedit.cpp index f5ed3172..e29ef205 100644 --- a/src/uisupport/multilineedit.cpp +++ b/src/uisupport/multilineedit.cpp @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2005-2014 by the Quassel Project * + * Copyright (C) 2005-2015 by the Quassel Project * * devel@quassel-irc.org * * * * This program is free software; you can redistribute it and/or modify * @@ -48,7 +48,7 @@ MultiLineEdit::MultiLineEdit(QWidget *parent) #endif setAcceptRichText(false); -#ifdef HAVE_KDE +#ifdef HAVE_KDE4 enableFindReplace(false); #endif @@ -206,7 +206,7 @@ void MultiLineEdit::setEmacsMode(bool enable) void MultiLineEdit::setSpellCheckEnabled(bool enable) { -#ifdef HAVE_KDE +#ifdef HAVE_KDE4 setCheckSpellingEnabled(enable); #else Q_UNUSED(enable) @@ -470,7 +470,7 @@ void MultiLineEdit::keyPressEvent(QKeyEvent *event) } } -#ifdef HAVE_KDE +#ifdef HAVE_KDE4 KTextEdit::keyPressEvent(event); #else QTextEdit::keyPressEvent(event);