X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;f=src%2Fuisupport%2Finputline.h;h=66742b63ef7d14a8f7c53484a7fede89415d69aa;hb=b59ac9eaf6ab7580bca7d2cde3849229ddd11483;hp=dddf8d5ea4093a2253eaa74e794c1d0663ff7f42;hpb=c21696b07427a43b305dfbfddef73fcf274dfddf;p=quassel.git diff --git a/src/uisupport/inputline.h b/src/uisupport/inputline.h index dddf8d5e..66742b63 100644 --- a/src/uisupport/inputline.h +++ b/src/uisupport/inputline.h @@ -35,13 +35,15 @@ class InputLine : public #else QLineEdit #endif - { +{ Q_OBJECT public: InputLine(QWidget *parent = 0); ~InputLine(); + void setCustomFont(const QFont &); // should be used instead setFont(), so we can set our size correctly + #ifdef HAVE_KDE //Compatibility methods with the rest of the classes which expects this to be a QLineEdit QString text() { return toPlainText(); };