text.hh (552B)
1 #ifndef __GUCK__BROWSER__STATUSBAR__TEXT__GUARD__ 2 #define __GUCK__BROWSER__STATUSBAR__TEXT__GUARD__ 3 4 #include "textbase.hh" 5 6 7 class text_t : public textbase_t 8 { 9 Q_OBJECT 10 11 public: 12 text_t(QWidget& parent) 13 : textbase_t(parent), 14 m_parent(parent), 15 m_perm(""), 16 m_temp("") 17 {} 18 19 void setText(const QString&, bool = false); 20 21 protected slots: 22 void check_reset(const QString&); 23 24 private: 25 QWidget& m_parent; 26 QString m_perm; 27 QString m_temp; 28 29 }; 30 31 #endif//__GUCK__BROWSER__STATUSBAR__TEXT__GUARD__