This is mostly unused private class members.
There are also a few unused functions that got #if'ed out. I never know in this case whether the code should be nuked.
12 files changed:
public:
///
TextCompletionList(Cursor const & cur, WordList const * list)
public:
///
TextCompletionList(Cursor const & cur, WordList const * list)
- : buffer_(cur.buffer()), pos_(0), list_(list)
+ : buffer_(cur.buffer()), list_(list)
{}
///
virtual ~TextCompletionList() {}
{}
///
virtual ~TextCompletionList() {}
///
Buffer const * buffer_;
///
///
Buffer const * buffer_;
///
WordList const * list_;
};
WordList const * list_;
};
virtual void resetCellSize();
private:
virtual void resetCellSize();
private:
- /// number of current columns
- unsigned int cols;
- /// number of current rows
- unsigned int rows;
-
GuiCharacter::GuiCharacter(GuiView & lv)
: GuiDialog(lv, "character", qt_("Text Style")), font_(ignore_font, ignore_language),
GuiCharacter::GuiCharacter(GuiView & lv)
: GuiDialog(lv, "character", qt_("Text Style")), font_(ignore_font, ignore_language),
- toggleall_(false), reset_lang_(false)
Font font_;
///
bool toggleall_;
Font font_;
///
bool toggleall_;
- /// If true the language should be reset.
- /// If false the language of font_ is used.
- bool reset_lang_;
};
} // namespace frontend
};
} // namespace frontend
/// A list of colors to be dispatched
std::vector<std::string> colors_;
/// A list of colors to be dispatched
std::vector<std::string> colors_;
bool update_screen_font_;
};
bool update_screen_font_;
};
tb->setToolTip(label);
tb->setStatusTip(label);
tb->setText(label);
tb->setToolTip(label);
tb->setStatusTip(label);
tb->setText(label);
- InsertTableWidget * iv = new InsertTableWidget(owner_, tb);
+ InsertTableWidget * iv = new InsertTableWidget(tb);
connect(tb, SIGNAL(clicked(bool)), iv, SLOT(show(bool)));
connect(iv, SIGNAL(visible(bool)), tb, SLOT(setChecked(bool)));
connect(this, SIGNAL(updated()), iv, SLOT(updateParent()));
connect(tb, SIGNAL(clicked(bool)), iv, SLOT(show(bool)));
connect(iv, SIGNAL(visible(bool)), tb, SLOT(setChecked(bool)));
connect(this, SIGNAL(updated()), iv, SLOT(updateParent()));
namespace lyx {
namespace frontend {
namespace lyx {
namespace frontend {
-InsertTableWidget::InsertTableWidget(GuiView & lyxView, QWidget * parent)
- : QWidget(parent, Qt::Popup), colwidth_(20), rowheight_(12), lyxView_(lyxView)
+InsertTableWidget::InsertTableWidget(QWidget * parent)
+ : QWidget(parent, Qt::Popup), colwidth_(20), rowheight_(12)
{
init();
setMouseTracking(true);
{
init();
setMouseTracking(true);
- InsertTableWidget(GuiView &, QWidget *);
+ InsertTableWidget(QWidget *);
Q_SIGNALS:
//! widget is visible
Q_SIGNALS:
//! widget is visible
int bottom_;
//! column of pointer
int right_;
int bottom_;
//! column of pointer
int right_;
- //! the lyxview we need to dispatch the funcrequest
- GuiView & lyxView_;
//! widget under mouse
bool underMouse_;
};
//! widget under mouse
bool underMouse_;
};
///
ColorCode frame_color_;
///
///
ColorCode frame_color_;
///
- mutable pit_type old_pit;
- ///
/// identifies things that can get \limits or \nolimits
virtual bool takesLimits() const { return false; }
/// identifies things that can get \limits or \nolimits
virtual bool takesLimits() const { return false; }
- /// char char code if possible
- virtual void handleFont(docstring const &) {}
/// replace things by other things
virtual void replace(ReplaceData &) {}
/// do we contain a given subsequence?
/// replace things by other things
virtual void replace(ReplaceData &) {}
/// do we contain a given subsequence?
idocstream & operator>>(idocstream & is, Correction & corr)
{
corr.read(is);
idocstream & operator>>(idocstream & is, Correction & corr)
{
corr.read(is);
corr.write(os);
return os;
}
corr.write(os);
return os;
}
namespace {
bool isInside(DocIterator const & it, MathData const & ar,
namespace {
bool isInside(DocIterator const & it, MathData const & ar,
void MathData::metrics(MetricsInfo & mi, Dimension & dim) const
void MathData::metrics(MetricsInfo & mi, Dimension & dim) const