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.
25 lines
612 B
C++
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;
|
|
};
|