void GuiTexInfo::viewClicked()
{
// takes advantage of enum order
- static QString const ext[] = { "cls", "sty", "bst", "bib" };
+ static QString const ext[] = { "cls", "sty", "bst", "bib", "bbx", "cbx" };
int const fitem = fileListLW->currentRow();
QStringList const & data = texdata_[activeStyle_];
QString file = data[fitem];
void GuiTexInfo::updateStyles(TexFileType type)
{
static QString const filenames[] = {
- "clsFiles.lst", "styFiles.lst", "bstFiles.lst", "bibFiles.lst"
+ "clsFiles.lst", "styFiles.lst", "bstFiles.lst", "bibFiles.lst",
+ "bbxFiles.lst", "cbxFiles.lst"
};
QString const filename = filenames[type];
///
GuiTexInfo(GuiView & lv);
/// the file extensions. order matters in GuiTexInfo::fileType()
- enum TexFileType { ClsType = 0, StyType, BstType, BibType, DummyLastType };
+ enum TexFileType {
+ ClsType = 0,
+ StyType,
+ BstType,
+ BibType,
+ BbxType,
+ CbxType,
+ DummyLastType
+ };
public Q_SLOTS:
///