Files
utun2/tools/chatgui/src/channelsettingsdialog.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

25 lines
612 B
C++

/* Локальные настройки выбранного канала: autoplay голосовых, звук сообщений и режим PTT. */
#pragma once
#include <QDialog>
#include <QCheckBox>
#include <QString>
class DbManager;
class ChannelSettingsDialog : public QDialog {
Q_OBJECT
public:
explicit ChannelSettingsDialog(const QString& channelId, DbManager* db, QWidget* parent = nullptr);
private slots:
void onSave();
private:
QString m_channelId;
DbManager* m_db;
QCheckBox* m_autoPlayVoice;
QCheckBox* m_soundOnMessage;
QCheckBox* m_pttMode;
};