#ifndef DIALOG_H
#define DIALOG_H
-#include "lfuns.h"
+#include "FuncCode.h"
+
+#include "support/strfwd.h"
#include <QString>
-#include <string>
class QWidget;
* It should be used in dispatchParams(), too for consistency reasons.
* \returns the lfun that is sent for applying the data.
*/
- virtual kb_action getLfun() const { return LFUN_INSET_APPLY; }
+ virtual FuncCode getLfun() const { return LFUN_INSET_APPLY; }
/** Check whether we may apply our data.
*
//@{
bool isBufferAvailable() const;
bool isBufferReadonly() const;
- std::string const bufferFilepath() const;
+ QString bufferFilepath() const;
//@}
/// The type of the current buffer.