mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 01:59:02 +00:00
Make signals and slots to not be defined, and replace them with Q_SIGNALS and Q_SLOTS
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14277 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
f3900a9e45
commit
d2b2aa8124
@ -472,7 +472,7 @@ AC_DEFUN([QT4_DO_IT_ALL],
|
||||
AC_SUBST(QT4_LDFLAGS)
|
||||
|
||||
dnl Preprocessor flags
|
||||
QT4_CPPFLAGS="-DQT_CLEAN_NAMESPACE -DQT_GENUINE_STR -DQT_NO_STL -DQT3_SUPPORT -DQT_NO_EMIT"
|
||||
QT4_CPPFLAGS="-DQT_CLEAN_NAMESPACE -DQT_GENUINE_STR -DQT_NO_STL -DQT3_SUPPORT -DQT_NO_KEYWORDS"
|
||||
case ${host} in
|
||||
*mingw*) QT4_CPPFLAGS="-DQT_DLL $QT4_CPPFLAGS";;
|
||||
esac
|
||||
|
@ -46,7 +46,7 @@ public:
|
||||
|
||||
// void setAction(FuncRequest const & func);
|
||||
|
||||
private slots:
|
||||
private Q_SLOTS:
|
||||
void action();
|
||||
|
||||
private:
|
||||
|
@ -38,10 +38,10 @@ public:
|
||||
/// get bullet setting
|
||||
Bullet const & getBullet(int level) const;
|
||||
|
||||
signals:
|
||||
Q_SIGNALS:
|
||||
void changed();
|
||||
|
||||
protected slots:
|
||||
protected Q_SLOTS:
|
||||
|
||||
/// menu callbacks
|
||||
void standard(int row, int col);
|
||||
|
@ -36,7 +36,7 @@ public:
|
||||
lyx::support::FileFilterList const & filters,
|
||||
FileDialog::Button const & b1,
|
||||
FileDialog::Button const & b2);
|
||||
public slots:
|
||||
public Q_SLOTS:
|
||||
void buttonClicked();
|
||||
private:
|
||||
QToolButton * b1_;
|
||||
|
@ -78,7 +78,7 @@ public:
|
||||
///
|
||||
static QMainWindow* mainWidget();
|
||||
|
||||
public slots:
|
||||
public Q_SLOTS:
|
||||
/// idle timeout
|
||||
void update_view_state_qt();
|
||||
|
||||
|
@ -168,7 +168,7 @@ protected:
|
||||
/// IM events
|
||||
void inputMethodEvent(QInputMethodEvent * e);
|
||||
|
||||
public slots:
|
||||
public Q_SLOTS:
|
||||
|
||||
/// Timeout event Slot for keyboard bufferring.
|
||||
/// \todo This is not used currently in the code, remove?
|
||||
|
@ -26,17 +26,17 @@ public:
|
||||
|
||||
InsertTableWidget(LyXView &, QWidget *);
|
||||
|
||||
signals:
|
||||
Q_SIGNALS:
|
||||
//! widget is visible
|
||||
void visible(bool);
|
||||
|
||||
public slots:
|
||||
public Q_SLOTS:
|
||||
//! show the widget
|
||||
void show(bool);
|
||||
//! enable/disable parent
|
||||
void updateParent();
|
||||
|
||||
protected slots:
|
||||
protected Q_SLOTS:
|
||||
void mouseMoveEvent(QMouseEvent *);
|
||||
void mouseReleaseEvent(QMouseEvent *);
|
||||
void mousePressEvent(QMouseEvent *);
|
||||
|
@ -29,7 +29,7 @@ class QBibitemDialog : public QDialog, public Ui::QBibitemUi {
|
||||
public:
|
||||
|
||||
QBibitemDialog(QBibitem * form);
|
||||
protected slots:
|
||||
protected Q_SLOTS:
|
||||
virtual void change_adaptor();
|
||||
protected:
|
||||
virtual void closeEvent(QCloseEvent * e);
|
||||
|
@ -45,7 +45,7 @@ public:
|
||||
|
||||
UiDialog<Ui::QBibtexAddUi> * add_;
|
||||
|
||||
protected slots:
|
||||
protected Q_SLOTS:
|
||||
virtual void change_adaptor();
|
||||
virtual void browsePressed();
|
||||
virtual void browseBibPressed();
|
||||
|
@ -26,7 +26,7 @@ class QBoxDialog : public QDialog, public Ui::QBoxUi {
|
||||
Q_OBJECT
|
||||
public:
|
||||
QBoxDialog(QBox * form);
|
||||
protected slots:
|
||||
protected Q_SLOTS:
|
||||
virtual void change_adaptor();
|
||||
virtual void innerBoxChanged(const QString &);
|
||||
virtual void typeChanged(int);
|
||||
|
@ -26,7 +26,7 @@ class QBranchDialog : public QDialog, public Ui::QBranchUi {
|
||||
Q_OBJECT
|
||||
public:
|
||||
QBranchDialog(QBranch * form);
|
||||
protected slots:
|
||||
protected Q_SLOTS:
|
||||
virtual void change_adaptor();
|
||||
protected:
|
||||
virtual void closeEvent(QCloseEvent * e);
|
||||
|
@ -40,14 +40,14 @@ public:
|
||||
void update(BufferParams const & params);
|
||||
void apply(BufferParams & params) const;
|
||||
|
||||
signals:
|
||||
Q_SIGNALS:
|
||||
void changed();
|
||||
|
||||
protected:
|
||||
void toggleBranch(QTreeWidgetItem *);
|
||||
void update();
|
||||
|
||||
protected slots:
|
||||
protected Q_SLOTS:
|
||||
void on_addBranchPB_pressed();
|
||||
void on_removePB_pressed();
|
||||
void on_activatePB_pressed();
|
||||
|
@ -29,7 +29,7 @@ public:
|
||||
|
||||
QChangesDialog(QChanges * form);
|
||||
|
||||
protected slots:
|
||||
protected Q_SLOTS:
|
||||
|
||||
virtual void nextPressed();
|
||||
virtual void acceptPressed();
|
||||
|
@ -33,7 +33,7 @@ protected:
|
||||
void closeEvent(QCloseEvent * e);
|
||||
private:
|
||||
QCharacter * form_;
|
||||
protected slots:
|
||||
protected Q_SLOTS:
|
||||
void change_adaptor();
|
||||
};
|
||||
|
||||
|
@ -45,7 +45,7 @@ public:
|
||||
/// \return true if the dialog is visible.
|
||||
bool isVisible() const;
|
||||
|
||||
protected slots:
|
||||
protected Q_SLOTS:
|
||||
|
||||
void on_okPB_clicked();
|
||||
void on_cancelPB_clicked();
|
||||
|
@ -30,7 +30,7 @@ public:
|
||||
|
||||
/// focus the edit widget
|
||||
void focus_command();
|
||||
public slots:
|
||||
public Q_SLOTS:
|
||||
/// cancel command compose
|
||||
void cancel();
|
||||
/// dispatch a command
|
||||
|
@ -23,7 +23,7 @@ class QCommandEdit : public QLineEdit {
|
||||
Q_OBJECT
|
||||
public:
|
||||
QCommandEdit(QWidget * parent);
|
||||
signals:
|
||||
Q_SIGNALS:
|
||||
/// cancel
|
||||
void escapePressed();
|
||||
|
||||
|
@ -30,7 +30,7 @@ class QDelimiterDialog : public QDialog, public Ui::QDelimiterUi {
|
||||
Q_OBJECT
|
||||
public:
|
||||
QDelimiterDialog(QMathDelimiter * form);
|
||||
public slots:
|
||||
public Q_SLOTS:
|
||||
void ldelim_clicked(const std::string & str);
|
||||
void rdelim_clicked(const std::string & str);
|
||||
void insertClicked();
|
||||
|
@ -63,7 +63,7 @@ protected:
|
||||
/// are we updating ?
|
||||
bool updating_;
|
||||
|
||||
public slots:
|
||||
public Q_SLOTS:
|
||||
// dialog closed from WM
|
||||
void slotWMHide();
|
||||
|
||||
|
@ -67,13 +67,13 @@ public:
|
||||
|
||||
void showPreamble();
|
||||
|
||||
public slots:
|
||||
public Q_SLOTS:
|
||||
void updateNumbering();
|
||||
void change_adaptor();
|
||||
void saveDefaultClicked();
|
||||
void useDefaultsClicked();
|
||||
|
||||
protected slots:
|
||||
protected Q_SLOTS:
|
||||
void setLSpacing(int);
|
||||
void setMargins(bool);
|
||||
void setCustomPapersize(int);
|
||||
|
@ -26,7 +26,7 @@ class QERTDialog : public QDialog, public Ui::QERTUi {
|
||||
Q_OBJECT
|
||||
public:
|
||||
QERTDialog(QERT * form);
|
||||
protected slots:
|
||||
protected Q_SLOTS:
|
||||
virtual void change_adaptor();
|
||||
protected:
|
||||
virtual void closeEvent(QCloseEvent * e);
|
||||
|
@ -29,7 +29,7 @@ class QErrorListDialog : public QDialog, public Ui::QErrorListUi {
|
||||
public:
|
||||
QErrorListDialog(QErrorList * form);
|
||||
~QErrorListDialog();
|
||||
public slots:
|
||||
public Q_SLOTS:
|
||||
void select_adaptor(QListWidgetItem *);
|
||||
protected:
|
||||
void closeEvent(QCloseEvent * e);
|
||||
|
@ -28,7 +28,7 @@ public:
|
||||
QExternalDialog(QExternal * form);
|
||||
|
||||
virtual void show();
|
||||
protected slots:
|
||||
protected Q_SLOTS:
|
||||
virtual void bbChanged();
|
||||
virtual void browseClicked();
|
||||
virtual void change_adaptor();
|
||||
|
@ -27,7 +27,7 @@ class QFloatDialog : public QDialog, public Ui::QFloatUi {
|
||||
public:
|
||||
QFloatDialog(QFloat * form);
|
||||
|
||||
protected slots:
|
||||
protected Q_SLOTS:
|
||||
virtual void change_adaptor();
|
||||
|
||||
protected:
|
||||
|
@ -30,7 +30,7 @@ public:
|
||||
QGraphicsDialog(QGraphics * form);
|
||||
|
||||
virtual void show();
|
||||
protected slots:
|
||||
protected Q_SLOTS:
|
||||
virtual void change_adaptor();
|
||||
virtual void change_bb();
|
||||
virtual void change_WUnit();
|
||||
|
@ -30,7 +30,7 @@ public:
|
||||
void updateLists();
|
||||
|
||||
virtual void show();
|
||||
protected slots:
|
||||
protected Q_SLOTS:
|
||||
virtual void change_adaptor();
|
||||
virtual void loadClicked();
|
||||
virtual void browseClicked();
|
||||
|
@ -28,7 +28,7 @@ public:
|
||||
QIndexDialog(QIndex * form);
|
||||
|
||||
virtual void show();
|
||||
protected slots:
|
||||
protected Q_SLOTS:
|
||||
virtual void change_adaptor();
|
||||
virtual void reject();
|
||||
protected:
|
||||
|
@ -55,7 +55,7 @@ public:
|
||||
/// update the state of the menuitems - not needed
|
||||
void update();
|
||||
|
||||
public slots:
|
||||
public Q_SLOTS:
|
||||
/// populate a toplevel menu and all its children on demand
|
||||
// void updateMenu();
|
||||
|
||||
|
@ -36,7 +36,7 @@ public:
|
||||
/// This is used as a recursive function
|
||||
void populate(QMenu* qMenu, Menu * menu);
|
||||
|
||||
public slots:
|
||||
public Q_SLOTS:
|
||||
/// populate the toplevel menu and all children
|
||||
void update();
|
||||
|
||||
|
@ -26,7 +26,7 @@ class QLPrintDialog : public QDialog, public Ui::QPrintUi {
|
||||
Q_OBJECT
|
||||
public:
|
||||
QLPrintDialog(QPrint * f);
|
||||
protected slots:
|
||||
protected Q_SLOTS:
|
||||
virtual void change_adaptor();
|
||||
virtual void browseClicked();
|
||||
virtual void fileChanged();
|
||||
|
@ -49,7 +49,7 @@ public:
|
||||
///
|
||||
void setEnabled(bool);
|
||||
|
||||
private slots:
|
||||
private Q_SLOTS:
|
||||
void selected(const QString & str);
|
||||
|
||||
private:
|
||||
@ -71,7 +71,7 @@ public:
|
||||
void update();
|
||||
LayoutBox * layout() const { return layout_.get(); }
|
||||
|
||||
signals:
|
||||
Q_SIGNALS:
|
||||
void updated();
|
||||
|
||||
private:
|
||||
|
@ -26,7 +26,7 @@ class QLogDialog : public QDialog, public Ui::QLogUi {
|
||||
Q_OBJECT
|
||||
public:
|
||||
QLogDialog(QLog * form);
|
||||
protected slots:
|
||||
protected Q_SLOTS:
|
||||
virtual void updateClicked();
|
||||
protected:
|
||||
virtual void closeEvent(QCloseEvent * e);
|
||||
|
@ -30,9 +30,9 @@ public:
|
||||
: QAction(text,parent), action_(action) {
|
||||
connect(this, SIGNAL(triggered()), this, SLOT(action()));
|
||||
}
|
||||
signals:
|
||||
Q_SIGNALS:
|
||||
void action(const std::string &);
|
||||
protected slots:
|
||||
protected Q_SLOTS:
|
||||
void action() {
|
||||
// emit signal
|
||||
action(action_);
|
||||
@ -49,7 +49,7 @@ class QMathDialog : public QDialog, public Ui::QMathUi
|
||||
Q_OBJECT
|
||||
public:
|
||||
QMathDialog(QMath * form);
|
||||
public slots:
|
||||
public Q_SLOTS:
|
||||
virtual void delimiterClicked();
|
||||
virtual void expandClicked();
|
||||
virtual void fracClicked();
|
||||
|
@ -27,10 +27,10 @@ class QMathMatrixDialog : public QDialog, public Ui::QMathMatrixUi {
|
||||
Q_OBJECT
|
||||
public:
|
||||
QMathMatrixDialog(QMathMatrix * form);
|
||||
public slots:
|
||||
public Q_SLOTS:
|
||||
void slotOK();
|
||||
void slotClose();
|
||||
protected slots:
|
||||
protected Q_SLOTS:
|
||||
virtual void columnsChanged(int);
|
||||
virtual void rowsChanged(int);
|
||||
virtual void change_adaptor();
|
||||
|
@ -26,7 +26,7 @@ class QNoteDialog : public QDialog, public Ui::QNoteUi {
|
||||
Q_OBJECT
|
||||
public:
|
||||
QNoteDialog(QNote * form);
|
||||
protected slots:
|
||||
protected Q_SLOTS:
|
||||
virtual void change_adaptor();
|
||||
protected:
|
||||
virtual void closeEvent(QCloseEvent * e);
|
||||
|
@ -31,7 +31,7 @@ protected:
|
||||
void closeEvent (QCloseEvent * e);
|
||||
private:
|
||||
QParagraph * form_;
|
||||
protected slots:
|
||||
protected Q_SLOTS:
|
||||
void change_adaptor();
|
||||
void enableLinespacingValue(int);
|
||||
};
|
||||
|
@ -82,7 +82,7 @@ protected:
|
||||
std::string title_;
|
||||
QPrefs * form_;
|
||||
|
||||
signals:
|
||||
Q_SIGNALS:
|
||||
void changed();
|
||||
};
|
||||
|
||||
@ -121,7 +121,7 @@ public:
|
||||
virtual void apply(LyXRC & rc) const;
|
||||
virtual void update(LyXRC const & rc);
|
||||
|
||||
private slots:
|
||||
private Q_SLOTS:
|
||||
void on_firstKeymapPB_clicked(bool);
|
||||
void on_secondKeymapPB_clicked(bool);
|
||||
|
||||
@ -152,7 +152,7 @@ public:
|
||||
virtual void apply(LyXRC & rc) const;
|
||||
virtual void update(LyXRC const & rc);
|
||||
|
||||
private slots:
|
||||
private Q_SLOTS:
|
||||
void select_roman(const QString&);
|
||||
void select_sans(const QString&);
|
||||
void select_typewriter(const QString&);
|
||||
@ -169,7 +169,7 @@ public:
|
||||
void apply(LyXRC & rc) const;
|
||||
void update(LyXRC const & rc);
|
||||
|
||||
private slots:
|
||||
private Q_SLOTS:
|
||||
void change_color();
|
||||
|
||||
private:
|
||||
@ -214,7 +214,7 @@ public:
|
||||
void apply(LyXRC & rc) const;
|
||||
void update(LyXRC const & rc);
|
||||
|
||||
private slots:
|
||||
private Q_SLOTS:
|
||||
void select_templatedir();
|
||||
void select_tempdir();
|
||||
void select_backupdir();
|
||||
@ -234,7 +234,7 @@ public:
|
||||
void apply(LyXRC & rc) const;
|
||||
void update(LyXRC const & rc);
|
||||
|
||||
private slots:
|
||||
private Q_SLOTS:
|
||||
void select_dict();
|
||||
};
|
||||
|
||||
@ -251,7 +251,7 @@ public:
|
||||
|
||||
void updateGui();
|
||||
|
||||
private slots:
|
||||
private Q_SLOTS:
|
||||
void switch_converter(int);
|
||||
void converter_changed();
|
||||
void new_converter();
|
||||
@ -275,7 +275,7 @@ public:
|
||||
|
||||
void update();
|
||||
|
||||
private slots:
|
||||
private Q_SLOTS:
|
||||
void switch_copierLB(int nr);
|
||||
void switch_copierCO(int nr);
|
||||
void copiers_changed();
|
||||
@ -305,7 +305,7 @@ public:
|
||||
private:
|
||||
void updateButtons();
|
||||
|
||||
private slots:
|
||||
private Q_SLOTS:
|
||||
void switch_format(int);
|
||||
void fileformat_changed();
|
||||
void new_format();
|
||||
@ -356,7 +356,7 @@ public:
|
||||
void apply(LyXRC & rc) const;
|
||||
void update(LyXRC const & rc);
|
||||
|
||||
public slots:
|
||||
public Q_SLOTS:
|
||||
void select_ui();
|
||||
void select_bind();
|
||||
|
||||
@ -386,7 +386,7 @@ public:
|
||||
void apply(LyXRC & rc) const;
|
||||
void update(LyXRC const & rc);
|
||||
|
||||
public slots:
|
||||
public Q_SLOTS:
|
||||
void change_adaptor();
|
||||
|
||||
protected:
|
||||
|
@ -32,7 +32,7 @@ public:
|
||||
|
||||
virtual void show();
|
||||
|
||||
public slots:
|
||||
public Q_SLOTS:
|
||||
void changed_adaptor();
|
||||
void gotoClicked();
|
||||
void refHighlighted(QListWidgetItem *);
|
||||
|
@ -32,7 +32,7 @@ public:
|
||||
QSearchDialog(QSearch * form);
|
||||
|
||||
virtual void show();
|
||||
protected slots:
|
||||
protected Q_SLOTS:
|
||||
void findChanged();
|
||||
void findClicked();
|
||||
void replaceClicked();
|
||||
|
@ -28,7 +28,7 @@ class QSendtoDialog : public QDialog, public Ui::QSendtoUi {
|
||||
Q_OBJECT
|
||||
public:
|
||||
QSendtoDialog(QSendto * form);
|
||||
protected slots:
|
||||
protected Q_SLOTS:
|
||||
virtual void changed_adaptor();
|
||||
virtual void slotFormatHighlighted(QListWidgetItem *) {}
|
||||
virtual void slotFormatSelected(QListWidgetItem *) {}
|
||||
|
@ -28,10 +28,10 @@ class QSpellcheckerDialog: public QDialog, public Ui::QSpellcheckerUi {
|
||||
Q_OBJECT
|
||||
public:
|
||||
QSpellcheckerDialog(QSpellchecker * form);
|
||||
public slots:
|
||||
public Q_SLOTS:
|
||||
virtual void suggestionChanged(QListWidgetItem *);
|
||||
|
||||
protected slots:
|
||||
protected Q_SLOTS:
|
||||
virtual void acceptClicked();
|
||||
virtual void addClicked();
|
||||
virtual void replaceClicked();
|
||||
|
@ -26,7 +26,7 @@ class QTabularCreateDialog : public QDialog, public Ui::QTabularCreateUi {
|
||||
Q_OBJECT
|
||||
public:
|
||||
QTabularCreateDialog(QTabularCreate * form);
|
||||
protected slots:
|
||||
protected Q_SLOTS:
|
||||
virtual void columnsChanged(int);
|
||||
virtual void rowsChanged(int);
|
||||
private:
|
||||
|
@ -29,7 +29,7 @@ class QTabularDialog : public QDialog, public Ui::QTabularUi {
|
||||
public:
|
||||
QTabularDialog(QTabular * form);
|
||||
|
||||
protected slots:
|
||||
protected Q_SLOTS:
|
||||
virtual void change_adaptor();
|
||||
|
||||
virtual void close_clicked();
|
||||
|
@ -26,7 +26,7 @@ class QTexinfoDialog : public QDialog, public Ui::QTexinfoUi {
|
||||
Q_OBJECT
|
||||
public:
|
||||
QTexinfoDialog(QTexinfo * form);
|
||||
protected slots:
|
||||
protected Q_SLOTS:
|
||||
virtual void change_adaptor();
|
||||
virtual void rescanClicked();
|
||||
virtual void viewClicked();
|
||||
|
@ -30,7 +30,7 @@ public:
|
||||
QThesaurusDialog(QThesaurus * form);
|
||||
|
||||
void updateLists();
|
||||
protected slots:
|
||||
protected Q_SLOTS:
|
||||
virtual void change_adaptor();
|
||||
virtual void entryChanged();
|
||||
virtual void replaceClicked();
|
||||
|
@ -52,7 +52,7 @@ public:
|
||||
/// \return true if the dialog is visible.
|
||||
bool isVisible() const;
|
||||
|
||||
protected slots:
|
||||
protected Q_SLOTS:
|
||||
///
|
||||
void select(QModelIndex const & index);
|
||||
///
|
||||
|
@ -29,7 +29,7 @@ public:
|
||||
~QURLDialog();
|
||||
|
||||
virtual void show();
|
||||
public slots:
|
||||
public Q_SLOTS:
|
||||
void changed_adaptor();
|
||||
protected:
|
||||
void closeEvent(QCloseEvent *);
|
||||
|
@ -29,10 +29,10 @@ class QVSpaceDialog : public QDialog, public Ui::QVSpaceUi {
|
||||
public:
|
||||
QVSpaceDialog(QVSpace * form);
|
||||
|
||||
public slots:
|
||||
public Q_SLOTS:
|
||||
void change_adaptor();
|
||||
|
||||
protected slots:
|
||||
protected Q_SLOTS:
|
||||
void closeEvent(QCloseEvent *);
|
||||
void enableCustom(int);
|
||||
|
||||
|
@ -26,7 +26,7 @@ class QWrapDialog : public QDialog, public Ui::QWrapUi {
|
||||
Q_OBJECT
|
||||
public:
|
||||
QWrapDialog(QWrap * form);
|
||||
protected slots:
|
||||
protected Q_SLOTS:
|
||||
virtual void change_adaptor();
|
||||
protected:
|
||||
virtual void closeEvent(QCloseEvent * e);
|
||||
|
@ -29,12 +29,12 @@ public:
|
||||
~EmptyTable() {}
|
||||
|
||||
virtual QSize sizeHint() const;
|
||||
public slots:
|
||||
public Q_SLOTS:
|
||||
/// set the number of columns in the table and emit colsChanged() signal
|
||||
void setNumberColumns(int nr_cols);
|
||||
/// set the number of rows in the table and emit rowsChanged() signal
|
||||
void setNumberRows(int nr_rows);
|
||||
signals:
|
||||
Q_SIGNALS:
|
||||
/// the number of columns changed
|
||||
void colsChanged(int);
|
||||
/// the number of rows changed
|
||||
|
@ -39,14 +39,14 @@ public:
|
||||
std::string const get(bool & wide, bool & sideways) const;
|
||||
std::string const get() const;
|
||||
|
||||
public slots:
|
||||
public Q_SLOTS:
|
||||
void tbhpClicked();
|
||||
void heredefinitelyClicked();
|
||||
void spanClicked();
|
||||
void sidewaysClicked();
|
||||
void changedSlot();
|
||||
|
||||
signals:
|
||||
Q_SIGNALS:
|
||||
void changed();
|
||||
|
||||
private:
|
||||
|
@ -35,11 +35,11 @@ public:
|
||||
|
||||
/// add a button
|
||||
void add(QPixmap const & pixmap, std::string name, std::string tooltip);
|
||||
signals:
|
||||
Q_SIGNALS:
|
||||
void button_clicked(const std::string &);
|
||||
protected:
|
||||
virtual void resizeEvent(QResizeEvent * e);
|
||||
protected slots:
|
||||
protected Q_SLOTS:
|
||||
virtual void clicked();
|
||||
private:
|
||||
int maxcol_;
|
||||
|
@ -38,9 +38,9 @@ public:
|
||||
/// use the %-items?
|
||||
virtual void noPercents();
|
||||
|
||||
protected slots:
|
||||
protected Q_SLOTS:
|
||||
virtual void has_activated(int index);
|
||||
signals:
|
||||
Q_SIGNALS:
|
||||
/// the current selection has changed
|
||||
void selectionChanged(LyXLength::UNIT unit);
|
||||
|
||||
|
@ -36,7 +36,7 @@ public:
|
||||
/// set current panel by logical name
|
||||
void setCurrentPanel(std::string const &);
|
||||
|
||||
public slots:
|
||||
public Q_SLOTS:
|
||||
/// set current panel from an item
|
||||
void switchPanel(QTreeWidgetItem * i, QTreeWidgetItem* previous=0);
|
||||
|
||||
|
@ -35,14 +35,14 @@ public:
|
||||
bool getTop();
|
||||
bool getBottom();
|
||||
|
||||
signals:
|
||||
Q_SIGNALS:
|
||||
void rightSet(bool);
|
||||
void leftSet(bool);
|
||||
void topSet(bool);
|
||||
void bottomSet(bool);
|
||||
void clicked();
|
||||
|
||||
public slots:
|
||||
public Q_SLOTS:
|
||||
void setLeftEnabled(bool);
|
||||
void setRightEnabled(bool);
|
||||
void setTopEnabled(bool);
|
||||
|
@ -34,7 +34,7 @@ class socket_callback : public QObject {
|
||||
public:
|
||||
/// connect a connection notification from the LyXServerSocket
|
||||
socket_callback(int fd, boost::function<void()> func);
|
||||
public slots:
|
||||
public Q_SLOTS:
|
||||
void data_received();
|
||||
private:
|
||||
/// our notifier
|
||||
|
Loading…
Reference in New Issue
Block a user