diff options
| author | Michele Calgaro <michele.calgaro@yahoo.it> | 2026-03-09 16:48:39 +0900 |
|---|---|---|
| committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2026-03-09 16:48:39 +0900 |
| commit | 2384f880e3fdda2f0f273e6eb8a8bf4f90fb63dc (patch) | |
| tree | c4800f2bb4d2c152e6fabf68acb9890a47d2f386 | |
| parent | 595b77cdc4db6f7c16441a3710362e744fb4e354 (diff) | |
| download | ktechlab-2384f880e3fdda2f0f273e6eb8a8bf4f90fb63dc.tar.gz ktechlab-2384f880e3fdda2f0f273e6eb8a8bf4f90fb63dc.zip | |
Remove use of TDE_VERSION
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
| -rw-r--r-- | src/gui/projectdlgs.cpp | 5 | ||||
| -rw-r--r-- | src/ktechlab.cpp | 10 |
2 files changed, 1 insertions, 14 deletions
diff --git a/src/gui/projectdlgs.cpp b/src/gui/projectdlgs.cpp index 3b8dbaf..6fec019 100644 --- a/src/gui/projectdlgs.cpp +++ b/src/gui/projectdlgs.cpp @@ -19,7 +19,6 @@ #include <assert.h> #include <kcombobox.h> -#include <tdeversion.h> #include <tdefiledialog.h> #include <klineedit.h> #include <tdelocale.h> @@ -168,11 +167,7 @@ LinkerOptionsDlg::LinkerOptionsDlg( LinkerOptions * linkingOptions, TQWidget *pa m_pWidget->m_pExternalLibraries->layout()->setMargin(11); (dynamic_cast<TQGridLayout*>(m_pWidget->layout()))->addMultiCellWidget( m_pWidget->m_pExternalLibraries, 7, 7, 0, 1 ); -#if defined(TDE_MAKE_VERSION) -# if TDE_VERSION >= TDE_MAKE_VERSION(3,4,0) m_pWidget->m_pExternalLibraries->setButtons( KEditListBox::Add | KEditListBox::Remove ); -# endif -#endif m_pWidget->m_pExternalLibraries->insertStringList( m_pLinkerOptions->linkedExternal() ); //END Update library widgets diff --git a/src/ktechlab.cpp b/src/ktechlab.cpp index 9d4940e..243fb1c 100644 --- a/src/ktechlab.cpp +++ b/src/ktechlab.cpp @@ -154,11 +154,7 @@ TQStringList KTechlab::recentFiles() void KTechlab::setupToolDocks() { -#if defined(TDE_MAKE_VERSION) -# if TDE_VERSION >= TDE_MAKE_VERSION(3,3,0) setToolViewStyle( KMultiTabBar::KDEV3ICON ); -# endif -#endif TQPixmap pm; TDEIconLoader * loader = TDEGlobal::iconLoader(); @@ -476,11 +472,7 @@ void KTechlab::setupActions() TDEToggleAction * ta = new TDEToggleAction( i18n("Run Simulation"), "media-playback-start", TQt::Key_F10, 0, 0, ac, "simulation_run" ); ta->setChecked(true); connect( ta, TQ_SIGNAL(toggled(bool )), Simulator::self(), TQ_SLOT(slotSetSimulating(bool )) ); -#if defined(TDE_MAKE_VERSION) -# if TDE_VERSION >= TDE_MAKE_VERSION(3,3,0) - ta->setCheckedState( KGuiItem( i18n("Pause Simulation"), "media-playback-pause", 0 ) ); -# endif -#endif + ta->setCheckedState( KGuiItem( i18n("Pause Simulation"), "media-playback-pause", 0 ) ); // We can call slotCloseProject now that the actions have been created ProjectManager::self(this)->updateActions(); |
