mirror of
https://gitee.com/vnotex/vnote.git
synced 2025-07-06 14:29:54 +08:00
18 lines
419 B
C++
18 lines
419 B
C++
#include "textbuffer.h"
|
|
|
|
#include <widgets/textviewwindow.h>
|
|
|
|
using namespace vnotex;
|
|
|
|
TextBuffer::TextBuffer(const BufferParameters &p_parameters,
|
|
QObject *p_parent)
|
|
: Buffer(p_parameters, p_parent)
|
|
{
|
|
}
|
|
|
|
ViewWindow *TextBuffer::createViewWindowInternal(const QSharedPointer<FileOpenParameters> &p_paras, QWidget *p_parent)
|
|
{
|
|
Q_UNUSED(p_paras);
|
|
return new TextViewWindow(p_parent);
|
|
}
|