diff options
| author | Michele Calgaro <michele.calgaro@yahoo.it> | 2026-03-12 15:05:16 +0900 |
|---|---|---|
| committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2026-03-12 15:05:16 +0900 |
| commit | 7723e709cedf05437e464158ce3f6f4b6806effe (patch) | |
| tree | ee35b3379174400d351783fc7bd458f26bfd3d65 /kexi/formeditor/commands.cpp | |
| parent | ee1d68b71d187a56488c844007c6803ec32d010f (diff) | |
| download | koffice-remove/tde-version.tar.gz koffice-remove/tde-version.zip | |
Remove use of TDE_VERSIONremove/tde-version
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'kexi/formeditor/commands.cpp')
| -rw-r--r-- | kexi/formeditor/commands.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/kexi/formeditor/commands.cpp b/kexi/formeditor/commands.cpp index 85f407073..a5677ba23 100644 --- a/kexi/formeditor/commands.cpp +++ b/kexi/formeditor/commands.cpp @@ -744,13 +744,11 @@ InsertWidgetCommand::execute() kdWarning() << "InsertWidgetCommand::execute() ERROR: widget creation failed" << endl; return; } -#if TDE_VERSION >= TDE_MAKE_VERSION(3,4,0) //! @todo allow setting this for data view mode as well if (m_form->designMode()) { //don't generate accelerators for widgets in design mode TDEAcceleratorManager::setNoAccel(w); } -#endif // if the insertRect is invalid (ie only one point), we use widget' size hint if(( (m_insertRect.width() < 21) && (m_insertRect.height() < 21))) @@ -897,7 +895,6 @@ CreateLayoutCommand::execute() m_name = m_form->objectTree()->generateUniqueName(classname); TQWidget *w = lib->createWidget(classname, container->widget(), m_name.latin1(), container); -#if TDE_VERSION >= TDE_MAKE_VERSION(3,4,0) //! @todo allow setting this for data view mode as well if (w) { if (m_form->designMode()) { @@ -905,7 +902,6 @@ CreateLayoutCommand::execute() TDEAcceleratorManager::setNoAccel(w); } } -#endif ObjectTreeItem *tree = w ? m_form->objectTree()->lookup(w->name()) : 0; if(!tree) return; |
