namespace lyx {
namespace frontend {
-class GuiListings : public GuiDialog, public Ui::ListingsUi, public Controller
+class GuiListings : public GuiDialog, public Ui::ListingsUi
{
Q_OBJECT
public:
- GuiListings(LyXView & lv);
+ GuiListings(GuiView & lv);
/// get values from all the widgets and form a string
std::string construct_params();
/// validate listings parameters and return an error message, if any
/// I have to validate listingsED (QTextEdit) manually.
/// This function displays a hint or error message returned by
/// validate_listings_params
- void set_listings_msg();
+ void setListingsMsg();
/// turn off inline when float is clicked
void on_floatCB_stateChanged(int state);
/// turn off float when inline is clicked
/// show dialect when language is chosen
void on_languageCO_currentIndexChanged(int);
private:
- void closeEvent(QCloseEvent * e);
- /// parent controller
- Controller & controller() { return *this; }
/// return false if validate_listings_params returns error
bool isValid();
/// Apply changes