Remove use of TDE_VERSION

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
pull/22/head
Michele Calgaro 1 week ago
parent 595b77cdc4
commit 2384f880e3
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -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

@ -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();

Loading…
Cancel
Save