BibleTime
Macros
btstandardworkstab.cpp File Reference
#include "btstandardworkstab.h"
#include <QComboBox>
#include <QFormLayout>
#include <QLabel>
#include <QSizePolicy>
#include <QStringList>
#include <QVBoxLayout>
#include "../../backend/config/btconfig.h"
#include "../../backend/drivers/cswordlexiconmoduleinfo.h"
#include "../../backend/drivers/cswordmoduleinfo.h"
#include "../../backend/managers/cswordbackend.h"
#include "../../util/tool.h"
#include "cswordsettings.h"

Go to the source code of this file.

Macros

#define STANDARD_WORKS_SET_DEFAULT(name)
 
#define STANDARD_WORKS_TAB_ADD_ROW(fname, ...)
 

Macro Definition Documentation

◆ STANDARD_WORKS_SET_DEFAULT

#define STANDARD_WORKS_SET_DEFAULT (   name)
Value:
#name, \
static_cast<CSwordModuleInfo const *>( \
m_ ## name ## Combo->currentData().value<void *>()))
BtConfig & btConfig()
This is a shortchand for BtConfig::getInstance().
Definition: btconfig.h:305
void setDefaultSwordModuleByType(const QString &moduleType, const CSwordModuleInfo *const module)
Sets the default sword module for a module type.
Definition: btconfig.cpp:512

Definition at line 122 of file btstandardworkstab.cpp.

◆ STANDARD_WORKS_TAB_ADD_ROW

#define STANDARD_WORKS_TAB_ADD_ROW (   fname,
  ... 
)