#include <QPushButton>
#include <QToolTip>
#include <QCloseEvent>
-#include <QtGui>
+#include <QHeaderView>
using namespace std;
using namespace lyx::support;
FileNameList const & buffers = theBufferList().fileNames();
for (FileNameList::const_iterator it = buffers.begin();
it != buffers.end(); ++it) {
- bufferCO->addItem(toqstr(makeDisplayPath(it->absFilename())));
+ bufferCO->addItem(toqstr(makeDisplayPath(it->absFileName())));
}
int const thebuffer = theBufferList().bufferNum(buffer().fileName());
bool GuiRef::initialiseParams(std::string const & data)
{
- InsetCommand::string2params("ref", data, params_);
+ InsetCommand::string2params(data, params_);
return true;
}
void GuiRef::dispatchParams()
{
- std::string const lfun = InsetCommand::params2string("ref", params_);
+ std::string const lfun = InsetCommand::params2string(params_);
dispatch(FuncRequest(getLfun(), lfun));
}