X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Ffrontends%2Fqt4%2FBulletsModule.h;h=8feeb22b908f2c53ecbcdbd59416605282f77625;hb=425d092204118ea6c24c28e85fdf03fcf2bb51a4;hp=71838f4ec97ca985f9f0c9946f05266596a25072;hpb=8cea3335725c34eab38062360a1a37d1c1bc18d3;p=lyx.git diff --git a/src/frontends/qt4/BulletsModule.h b/src/frontends/qt4/BulletsModule.h index 71838f4ec9..8feeb22b90 100644 --- a/src/frontends/qt4/BulletsModule.h +++ b/src/frontends/qt4/BulletsModule.h @@ -9,29 +9,29 @@ * Full author contact details are available in file CREDITS. */ -#ifndef QBULLETSMODULE_H -#define QBULLETSMODULE_H - +#ifndef BULLETSMODULE_H +#define BULLETSMODULE_H #include "ui_BulletsUi.h" #include "Bullet.h" -#include #include namespace lyx { -class BulletsModule : public QWidget, public Ui::BulletsUi { +class BulletsModule : public QWidget, public Ui::BulletsUi +{ Q_OBJECT + public: /// - BulletsModule(QWidget * parent = 0, const char * name = 0, Qt::WFlags fl = 0); + BulletsModule(QWidget * parent = 0); /// set a bullet void setBullet(int level, Bullet const & bullet); /// get bullet setting - Bullet const & getBullet(int level) const; + Bullet const & bullet(int level) const; /// update 1st level void init(); @@ -39,7 +39,6 @@ Q_SIGNALS: void changed(); protected Q_SLOTS: - void on_bulletsizeCO_activated(int level); void on_customCB_clicked(bool); void on_customLE_textEdited(const QString &); @@ -52,12 +51,11 @@ private: std::string const & fname); /// store results - boost::array bullets_; + Bullet bullets_[4]; int current_font_; int current_char_; }; - } // namespace lyx #endif // BULLETSMODULE_H