Kexi API Documentation (2.0 alpha)

kexi_global.h File Reference

#include <kexi_export.h>
#include <config.h>

Go to the source code of this file.

Defines

#define kexidbg   kdDebug(44010)
#define kexicoredbg   kdDebug(44020)
#define kexipluginsdbg   kdDebug(44021)
#define kexiwarn   kdWarning(44010)
#define kexicorewarn   kdWarning(44020)
#define kexipluginswarn   kdWarning(44021)
#define foreach(_class, _variable, _list)   for (_class _variable = (_list).constBegin(); _variable!=(_list).constEnd(); ++_variable)
#define foreach_nonconst(_class, _variable, _list)   for (_class _variable = (_list).begin(); _variable!=(_list).end(); ++_variable)
#define foreach_list(_class, _variable, _list)   for (_class _variable(_list); _variable.current(); ++_variable)
#define foreach_dict(_class, _variable, _list)   foreach_list(_class, _variable, _list)
#define futureI18n(a)   QString(a)
#define futureI18n2(a, b)   QString(b)
#define FUTURE_I18N_NOOP(x)   (x)


Define Documentation

#define foreach _class,
_variable,
_list   )     for (_class _variable = (_list).constBegin(); _variable!=(_list).constEnd(); ++_variable)
 

a shortcut for iterating over lists or maps, eg. QMap, QValueList

Definition at line 43 of file kexi_global.h.

Referenced by KFormDesigner::WidgetPropertySet::createPropertiesForWidget(), KexiDB::LookupFieldSchema::debugString(), KexiDB::Field::debugString(), KFormDesigner::WidgetPropertySet::eventFilter(), KexiUtils::MultiValidator::fixup(), KexiQueryParameters::getParameters(), KActionsListViewBase::init(), KexiFormView::insertAutoFields(), KexiFormDataProvider::invalidateDataSources(), KexiDB::debug(), KexiDB::debugRowData(), KexiDB::setFieldProperties(), KexiDBDriverComboBox::KexiDBDriverComboBox(), KexiDBConnectionSet::load(), KFormDesigner::WidgetLibrary::loadFactoryWidgets(), KexiDBShortcutFile::loadProjectData(), KexiMigration::KexiMigrate::performImport(), KFormDesigner::WidgetPropertySet::saveEnabledProperty(), KexiDBShortcutFile::saveProjectData(), KFormDesigner::WidgetPropertySet::slotPropertyChanged(), KFormDesigner::WidgetPropertySet::slotPropertyReset(), KFormDesigner::WidgetPropertySet::slotWidgetDestroyed(), KexiDB::Connection::storeExtendedTableSchemaData(), and KexiUtils::MultiValidator::validate().

#define foreach_dict _class,
_variable,
_list   )     foreach_list(_class, _variable, _list)
 

Definition at line 54 of file kexi_global.h.

Referenced by KexiDB::AlterTableHandler::ChangeFieldPropertyAction::simplifyActions().

#define foreach_list _class,
_variable,
_list   )     for (_class _variable(_list); _variable.current(); ++_variable)
 

a shortcut for iterating over QPtrList and QPtrDict

Definition at line 51 of file kexi_global.h.

Referenced by KFormDesigner::Form::autoAssignTabStops(), KexiFormScrollView::columnEditable(), KexiDB::AlterTableHandler::debug(), KexiDB::AlterTableHandler::execute(), KexiDB::NArgExpr::getQueryParameters(), KexiFormView::insertAutoFields(), KexiFormDataProvider::invalidateDataSources(), KexiDB::NArgExpr::toString(), KexiDB::VariableExpr::validate(), and KexiDB::NArgExpr::validate().

#define foreach_nonconst _class,
_variable,
_list   )     for (_class _variable = (_list).begin(); _variable!=(_list).end(); ++_variable)
 

nonconst version of foreach iterator

Definition at line 47 of file kexi_global.h.

#define FUTURE_I18N_NOOP  )     (x)
 

Definition at line 67 of file kexi_global.h.

#define futureI18n  )     QString(a)
 

Definition at line 61 of file kexi_global.h.

Referenced by KexiMainWindowImpl::initActions().

#define futureI18n2 a,
 )     QString(b)
 

Definition at line 62 of file kexi_global.h.

#define kexicoredbg   kdDebug(44020)
 

Definition at line 34 of file kexi_global.h.

#define kexicorewarn   kdWarning(44020)
 

Definition at line 37 of file kexi_global.h.

#define kexidbg   kdDebug(44010)
 

Only defined for standalone releases, should be commented out for releases bundled with KOffice. * Affects translation file names: "kexi.po" becomes "standalone_kexi.po" (used in main.cpp) and "kformdesigner.po" becomes "standalone_kformdesigner.po" (used in FormManager)

Definition at line 33 of file kexi_global.h.

Referenced by KexiTableView::adjustColumnWidthToContents(), KexiDataAwareObjectInterface::cancelRowEdit(), KexiTableItem::debug(), KexiTableView::editorShowFocus(), KexiFieldDrag::KexiFieldDrag(), KexiTableView::keyPressEvent(), KexiDataAwareObjectInterface::setCursorPosition(), KexiDataAwareObjectInterface::setData(), KexiQueryDesignerGuiEditor::showFieldsOrRelationsForQueryInternal(), KexiInputTableEdit::showToolTipIfNeeded(), KexiComboBoxBase::slotItemSelected(), KexiDialogBase::storeNewData(), KexiComboBoxPopup::updateSize(), and KFormDesigner::Form::updateTabStopsOrder().

#define kexipluginsdbg   kdDebug(44021)
 

Definition at line 35 of file kexi_global.h.

Referenced by KexiMacroView::afterSwitchFrom(), KexiFormView::afterSwitchFrom(), KexiQueryDesignerGuiEditor::beforeSwitchTo(), KexiMacroView::beforeSwitchTo(), KexiTableDesignerView::buildAlterTableActions(), KexiTableDesignerView::buildField(), KexiTableDesignerView::buildSchema(), KexiQueryDesignerGuiEditor::buildSchema(), KexiTableDesignerCommands::ChangeFieldPropertyCommand::ChangeFieldPropertyCommand(), KexiTableDesignerCommands::ChangePropertyVisibilityCommand::ChangePropertyVisibilityCommand(), KexiFormScrollView::columnEditable(), KexiFormScrollView::createEditor(), KexiReportPart::createView(), KexiFormPart::createView(), KexiReportFactory::createWidget(), KexiDBFactory::createWidget(), KexiDBForm::eventFilter(), KexiFormDataProvider::fillDataItems(), KexiFormDataProvider::fillDuplicatedDataItems(), KexiTableDesignerView::getSubTypeListData(), KexiFormView::initDataSource(), KexiImageContextMenu::insertFromFile(), KexiFormDataProvider::invalidateDataSources(), KexiDBForm::KexiDBForm(), KexiFormPart::KexiFormPart(), KexiReportForm::KexiReportForm(), KexiReportPart::KexiReportPart(), KexiMacroView::loadData(), KexiMacroTextView::loadData(), KexiReportView::loadForm(), KexiFormView::loadForm(), KexiFormDataProvider::setMainDataSourceWidget(), KexiQueryDesignerGuiEditor::showFieldsOrRelationsForQueryInternal(), KexiTableDesignerView::slotBeforeCellChanged(), KexiQueryDesignerGuiEditor::slotBeforeCellChanged(), KexiTableDesignerView::slotPropertyChanged(), KexiTableDesignerView::slotRowUpdated(), KexiTableDesignerView::storeData(), KexiScriptDesignView::storeData(), KexiReportView::storeData(), KexiMacroView::storeData(), KexiMacroTextView::storeData(), KexiFormView::storeData(), KexiScriptDesignView::storeNewData(), KexiReportView::storeNewData(), KexiMacroView::storeNewData(), KexiFormView::storeNewData(), KexiFormScrollView::updateAfterCancelRowEdit(), KexiTableDesignerViewPrivate::updatePropertiesVisibility(), KexiDBForm::updateTabStopsOrder(), KexiFormView::updateValuesForSubproperties(), KexiFormScrollView::valueChanged(), KexiDBAutoField::valueChanged(), KexiDBForm::~KexiDBForm(), and KexiReportForm::~KexiReportForm().

#define kexipluginswarn   kdWarning(44021)
 

Definition at line 38 of file kexi_global.h.

Referenced by KexiTableDesignerView::buildSchema(), KexiQueryDesignerGuiEditor::buildSchema(), KexiTableDesignerView::changeFieldProperty(), copyAlterTableActions(), KexiDBForm::eventFilter(), KActionsListViewBase::init(), KexiFormView::insertAutoFields(), KexiTableDesignerView::insertFieldInternal(), KexiBLOBBuffer::insertPixmap(), KexiQueryDesignerGuiEditor::showFieldsOrRelationsForQueryInternal(), KexiQueryDesignerGuiEditor::slotBeforeCellChanged(), KexiTableDesignerView::slotRowUpdated(), and KexiFormView::storeData().

#define kexiwarn   kdWarning(44010)
 

Definition at line 36 of file kexi_global.h.

Referenced by KexiMainWindowImpl::executeCustomActionForObject(), KexiQueryParameters::getParameters(), KexiDataAwarePropertySet::insert(), Kexi::ActionCategories::setAllObjectTypesSupported(), KexiComboBoxPopup::setData(), KexiFieldComboBox::setFieldOrExpression(), and KexiComboBoxBase::valueForString().

KDE Logo
This file is part of the documentation for Kexi 2.0 alpha.
Documentation copyright © 2002-2007 the Kexi Team.
Generated on Tue Apr 1 20:49:02 2008 by doxygen 1.4.2 written by Dimitri van Heesch, © 1997-2003