27 lines
708 B
C++
27 lines
708 B
C++
// Copyright 2007-2023 The Mumble Developers. All rights reserved.
|
|
// Use of this source code is governed by a BSD-style license
|
|
// that can be found in the LICENSE file at the root of the
|
|
// Mumble source tree or at <https://www.mumble.info/LICENSE>.
|
|
|
|
#ifndef MUMBLE_MUMBLE_TEXTMESSAGE_H_
|
|
#define MUMBLE_MUMBLE_TEXTMESSAGE_H_
|
|
|
|
#include "ui_TextMessage.h"
|
|
|
|
class TextMessage : public QDialog, public Ui::TextMessage {
|
|
private:
|
|
Q_OBJECT
|
|
Q_DISABLE_COPY(TextMessage)
|
|
protected:
|
|
QString qsRep;
|
|
public slots:
|
|
void on_qcbTreeMessage_stateChanged(int);
|
|
|
|
public:
|
|
TextMessage(QWidget *parent = nullptr, QString title = tr("Enter text"), bool bChannel = false);
|
|
QString message();
|
|
bool bTreeMessage;
|
|
};
|
|
|
|
#endif
|