added zoom feature: "ctrl +" magnifies, "ctrl -" demagnifies and "ctrl 0" normalizes
[quassel.git] / src / qtui / inputwidget.h
index 5bffbc7..fc358f2 100644 (file)
@@ -29,6 +29,8 @@
 #include "identity.h"
 #include "network.h"
 
+class InputLine;
+
 class InputWidget : public AbstractItemView {
   Q_OBJECT
 
@@ -38,6 +40,8 @@ public:
 
   const Network *currentNetwork() const;
 
+  inline  InputLine* inputLine() const { return ui.inputEdit; }
+
 protected slots:
   virtual void currentChanged(const QModelIndex &current, const QModelIndex &previous);
   virtual void dataChanged(const QModelIndex &topLeft, const QModelIndex &bottomRight);