guck

Vim-like QtWebEngine-powered browser, written in C++
git clone git://git.deurzen.net/guck
Log | Files | Refs | LICENSE

tabindex.hh (426B)


      1 #ifndef __GUCK__BROWSER__STATUSBAR__TABINDEX__GUARD__
      2 #define __GUCK__BROWSER__STATUSBAR__TABINDEX__GUARD__
      3 
      4 #include "textbase.hh"
      5 
      6 
      7 class tabindex_t : public textbase_t
      8 {
      9     Q_OBJECT
     10 
     11 public:
     12     tabindex_t(QWidget& parent)
     13         : textbase_t(parent),
     14           m_parent(parent)
     15     {
     16         textbase_t::setText("[1/1]");
     17     }
     18 
     19 private:
     20     QWidget& m_parent;
     21 
     22 };
     23 
     24 #endif//__GUCK__BROWSER__STATUSBAR__TABINDEX__GUARD__