Files
utun2/tools/chatgui/src/renamedialog.h
T
evgeny a97e8bcc1f docs: update file inventory and module header contracts
Refresh both AGENTS guides and clarify module purpose, usage, ownership, threading, return values and wire formats in headers. Remove the unused timeout_heap freed_count field and unimplemented getter.
2026-10-04 13:10:01 +02:00

26 lines
650 B
C++

/* Локальное переименование участника: сохраняет local_nick в таблице peers канала для этого UI. */
#pragma once
#include <QDialog>
#include <QLineEdit>
#include <QString>
class DbManager;
class RenameDialog : public QDialog {
Q_OBJECT
public:
explicit RenameDialog(DbManager* db, const QString& channelId,
quint64 nodeId, const QString& displayName,
QWidget* parent = nullptr);
private slots:
void onSave();
private:
DbManager* m_db;
QString m_channelId;
quint64 m_nodeId;
QLineEdit* m_edit;
};