mirror of
https://github.com/qTox/qTox.git
synced 2024-03-22 14:00:36 +08:00
docs(chatlog): Added leading stars
This commit is contained in:
parent
15fb72a2c3
commit
1332abed11
|
@ -25,12 +25,12 @@
|
||||||
#include <QDebug>
|
#include <QDebug>
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@enum ChatLineContentProxy::ChatLineContentProxyType
|
* @enum ChatLineContentProxy::ChatLineContentProxyType
|
||||||
@brief Type tag to avoid dynamic_cast of contained QWidget*
|
* @brief Type tag to avoid dynamic_cast of contained QWidget*
|
||||||
|
*
|
||||||
@value GenericType
|
* @value GenericType
|
||||||
@value FileTransferWidgetType = 0
|
* @value FileTransferWidgetType = 0
|
||||||
*/
|
*/
|
||||||
|
|
||||||
ChatLineContentProxy::ChatLineContentProxy(QWidget* widget, ChatLineContentProxyType type, int minWidth, float widthInPercent)
|
ChatLineContentProxy::ChatLineContentProxy(QWidget* widget, ChatLineContentProxyType type, int minWidth, float widthInPercent)
|
||||||
: widthPercent(widthInPercent)
|
: widthPercent(widthInPercent)
|
||||||
|
|
|
@ -34,9 +34,9 @@
|
||||||
#include <QShortcut>
|
#include <QShortcut>
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@var ChatLog::repNameAfter
|
* @var ChatLog::repNameAfter
|
||||||
@brief repetition interval sender name (sec)
|
* @brief repetition interval sender name (sec)
|
||||||
*/
|
*/
|
||||||
|
|
||||||
template<class T>
|
template<class T>
|
||||||
T clamp(T x, T min, T max)
|
T clamp(T x, T min, T max)
|
||||||
|
|
|
@ -388,7 +388,7 @@ void FileTransferWidget::fileTransferRemotePausedUnpaused(ToxFile file, bool pau
|
||||||
|
|
||||||
void FileTransferWidget::fileTransferBrokenUnbroken(ToxFile file, bool broken)
|
void FileTransferWidget::fileTransferBrokenUnbroken(ToxFile file, bool broken)
|
||||||
{
|
{
|
||||||
/// TODO: Handle broken transfer differently once we have resuming code
|
/// @todo Handle broken transfer differently once we have resuming code
|
||||||
if (broken)
|
if (broken)
|
||||||
onFileTransferCancelled(file);
|
onFileTransferCancelled(file);
|
||||||
}
|
}
|
||||||
|
|
|
@ -44,8 +44,8 @@ void DocumentCache::push(QTextDocument *doc)
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@brief Returns the singleton instance.
|
* @brief Returns the singleton instance.
|
||||||
*/
|
*/
|
||||||
DocumentCache &DocumentCache::getInstance()
|
DocumentCache &DocumentCache::getInstance()
|
||||||
{
|
{
|
||||||
static DocumentCache instance;
|
static DocumentCache instance;
|
||||||
|
|
|
@ -36,8 +36,8 @@ QPixmap PixmapCache::get(const QString &filename, QSize size)
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@brief Returns the singleton instance.
|
* @brief Returns the singleton instance.
|
||||||
*/
|
*/
|
||||||
PixmapCache &PixmapCache::getInstance()
|
PixmapCache &PixmapCache::getInstance()
|
||||||
{
|
{
|
||||||
static PixmapCache instance;
|
static PixmapCache instance;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user