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