reformat in uvosstyle
This commit is contained in:
@ -67,7 +67,8 @@ void KateAiPlugin::readConfig()
|
|||||||
reconnect();
|
reconnect();
|
||||||
}
|
}
|
||||||
|
|
||||||
KateAiPluginView::KateAiPluginView(KateAiPlugin *plugin, KTextEditor::MainWindow *mainwindow, QPointer<QWebSocket> webSocket, bool instruct)
|
KateAiPluginView::KateAiPluginView(KateAiPlugin *plugin, KTextEditor::MainWindow *mainwindow,
|
||||||
|
QPointer<QWebSocket> webSocket, bool instruct)
|
||||||
: QObject(plugin)
|
: QObject(plugin)
|
||||||
, m_mainWindow(mainwindow)
|
, m_mainWindow(mainwindow)
|
||||||
, m_webSocket(webSocket)
|
, m_webSocket(webSocket)
|
||||||
|
5
kateai.h
5
kateai.h
@ -56,7 +56,6 @@ private:
|
|||||||
QHash<int, Request> m_requests;
|
QHash<int, Request> m_requests;
|
||||||
bool m_useInstruct = false;
|
bool m_useInstruct = false;
|
||||||
|
|
||||||
|
|
||||||
private:
|
private:
|
||||||
void generate();
|
void generate();
|
||||||
void socketMessage(const QString& message);
|
void socketMessage(const QString& message);
|
||||||
@ -66,9 +65,9 @@ private:
|
|||||||
QPointer<KTextEditor::Document> activeDocument() const;
|
QPointer<KTextEditor::Document> activeDocument() const;
|
||||||
KTextEditor::Cursor getCurrentCursor() const;
|
KTextEditor::Cursor getCurrentCursor() const;
|
||||||
|
|
||||||
|
|
||||||
public:
|
public:
|
||||||
KateAiPluginView(KateAiPlugin *plugin, KTextEditor::MainWindow *mainwindow, QPointer<QWebSocket> webSocket, bool instruct = false);
|
KateAiPluginView(KateAiPlugin *plugin, KTextEditor::MainWindow *mainwindow, QPointer<QWebSocket> webSocket,
|
||||||
|
bool instruct = false);
|
||||||
~KateAiPluginView() override;
|
~KateAiPluginView() override;
|
||||||
void setInstruct(bool instruct);
|
void setInstruct(bool instruct);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user