mirror of
https://github.com/qTox/qTox.git
synced 2024-03-22 14:00:36 +08:00
docs: Replaced simple on doxygen tag
This commit is contained in:
parent
9a62f44c33
commit
31d8e7eef0
|
@ -345,7 +345,7 @@ bool Audio::initInput(const QString& deviceName)
|
|||
qDebug() << "Opening audio input" << deviceName;
|
||||
assert(!alInDev);
|
||||
|
||||
/// TODO: Try to actually detect if our audio source is stereo
|
||||
/// @todo Try to actually detect if our audio source is stereo
|
||||
int stereoFlag = AUDIO_CHANNELS == 1 ? AL_FORMAT_MONO16 : AL_FORMAT_STEREO16;
|
||||
const uint32_t sampleRate = AUDIO_SAMPLE_RATE;
|
||||
const uint16_t frameDuration = AUDIO_FRAME_DURATION;
|
||||
|
|
|
@ -267,7 +267,7 @@ void Core::start()
|
|||
if (!id.isEmpty())
|
||||
emit idSet(id);
|
||||
|
||||
/// TODO: NOTE: This is a backwards compatibility check,
|
||||
/// @todo NOTE: This is a backwards compatibility check,
|
||||
/// once most people have been upgraded away from the old HistoryKeeper, remove this
|
||||
if (Nexus::getProfile()->isEncrypted())
|
||||
checkEncryptedHistory();
|
||||
|
|
|
@ -23,7 +23,7 @@
|
|||
|
||||
#define TOXAV_RINGING_TIME 45
|
||||
|
||||
// TODO: Put that in the settings
|
||||
/// @todo Put that in the settings
|
||||
#define TOXAV_MAX_VIDEO_WIDTH 1280
|
||||
#define TOXAV_MAX_VIDEO_HEIGHT 720
|
||||
|
||||
|
|
|
@ -471,7 +471,7 @@ void CoreFile::onFileRecvChunkCallback(Tox *tox, uint32_t friendId, uint32_t fil
|
|||
|
||||
void CoreFile::onConnectionStatusChanged(Core* core, uint32_t friendId, bool online)
|
||||
{
|
||||
/// TODO: Actually resume broken file transfers
|
||||
/// @todo Actually resume broken file transfers
|
||||
/// We need to:
|
||||
/// - Start a new file transfer with the same 32byte file ID with toxcore
|
||||
/// - Seek to the correct position again
|
||||
|
|
|
@ -130,7 +130,8 @@ int main(int argc, char *argv[])
|
|||
a.setApplicationVersion("\nGit commit: " + QString(GIT_VERSION));
|
||||
|
||||
#if defined(Q_OS_OSX)
|
||||
//osx::moveToAppFolder(); TODO: Add setting to enable this feature.
|
||||
/// @todo Add setting to enable this feature.
|
||||
//osx::moveToAppFolder();
|
||||
osx::migrateProfiles();
|
||||
#endif
|
||||
|
||||
|
|
|
@ -663,9 +663,11 @@ QString Settings::getAppDataDirPath() const
|
|||
return QDir::cleanPath(QStandardPaths::writableLocation(QStandardPaths::HomeLocation) + QDir::separator()
|
||||
+ "Library" + QDir::separator() + "Application Support" + QDir::separator() + "Tox")+QDir::separator();
|
||||
#else
|
||||
// TODO: change QStandardPaths::DataLocation to AppDataLocation when upgrate Qt to 5.4+
|
||||
// For now we need support Qt 5.3, so we use deprecated DataLocation
|
||||
// BTW, it's not a big deal since for linux AppDataLocation and DataLocation are equal
|
||||
/**
|
||||
* @todo change QStandardPaths::DataLocation to AppDataLocation when upgrate Qt to 5.4+
|
||||
* For now we need support Qt 5.3, so we use deprecated DataLocation
|
||||
* BTW, it's not a big deal since for linux AppDataLocation and DataLocation are equal
|
||||
*/
|
||||
return QDir::cleanPath(QStandardPaths::writableLocation(QStandardPaths::DataLocation))+QDir::separator();
|
||||
#endif
|
||||
}
|
||||
|
|
|
@ -21,9 +21,11 @@
|
|||
#if defined(__APPLE__) && defined(__MACH__)
|
||||
#include "src/platform/capslock.h"
|
||||
|
||||
/**
|
||||
* @todo implement for osx
|
||||
*/
|
||||
bool Platform::capsLockEnabled()
|
||||
{
|
||||
// TODO: implement for osx
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
|
@ -50,8 +50,10 @@ AboutForm::AboutForm()
|
|||
Translator::registerHandler(std::bind(&AboutForm::retranslateUi, this), this);
|
||||
}
|
||||
|
||||
//to-do: when we finally have stable releases: build-in a way to tell
|
||||
//nightly builds from stable releases.
|
||||
/**
|
||||
* @todo when we finally have stable releases: build-in a way to tell
|
||||
* nightly builds from stable releases.
|
||||
*/
|
||||
void AboutForm::replaceVersions()
|
||||
{
|
||||
QString TOXCORE_VERSION = QString::number(TOX_VERSION_MAJOR) + "." +
|
||||
|
|
|
@ -98,7 +98,7 @@ AVForm::~AVForm()
|
|||
void AVForm::hideEvent(QHideEvent* event)
|
||||
{
|
||||
if (subscribedToAudioIn) {
|
||||
// TODO: this should not be done in show/hide events
|
||||
/// @todo this should not be done in show/hide events
|
||||
Audio::getInstance().unsubscribeInput();
|
||||
subscribedToAudioIn = false;
|
||||
}
|
||||
|
@ -121,7 +121,7 @@ void AVForm::showEvent(QShowEvent* event)
|
|||
getVideoDevices();
|
||||
|
||||
if (!subscribedToAudioIn) {
|
||||
// TODO: this should not be done in show/hide events
|
||||
/// @todo this should not be done in show/hide events
|
||||
Audio::getInstance().subscribeInput();
|
||||
subscribedToAudioIn = true;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user