131
131
m_widgetHeights = ( m_targetLabel->sizeHint().height() + /*layout spacing */6 ) * 9 ;
134
connect( m_targets, SIGNAL( editTextChanged( QString ) ),
135
this, SLOT( slotTargetEdited( QString ) ) );
136
connect( m_targets, SIGNAL( currentIndexChanged( int ) ),
137
this, SLOT( slotTargetSelected( int ) ) );
138
connect( m_addTarget, SIGNAL( clicked() ),
139
this, SLOT( slotAddTarget() ) );
140
connect( m_deleteTarget, SIGNAL( clicked() ),
141
this, SLOT( slotDeleteTarget() ) );
142
connect( m_workingDirectory, SIGNAL( textEdited( QString ) ),
143
this, SLOT( slotWorkingDirectoryEdited( QString ) ) );
144
connect( m_argumentLists, SIGNAL( editTextChanged( QString ) ),
145
this, SLOT( slotArgListEdited( QString ) ) );
146
connect( m_argumentLists, SIGNAL( currentIndexChanged( int ) ),
147
this, SLOT( slotArgListSelected( int ) ) );
148
connect( m_addArgList, SIGNAL( clicked() ),
149
this, SLOT( slotAddArgList() ) );
150
connect( m_deleteArgList, SIGNAL( clicked() ),
151
this, SLOT( slotDeleteArgList() ) );
152
connect( m_redirectTerminal, SIGNAL( toggled( bool ) ),
153
this, SIGNAL(showIO( bool ) ) );
134
connect( m_targets, SIGNAL(editTextChanged(QString)),
135
this, SLOT(slotTargetEdited(QString)) );
136
connect( m_targets, SIGNAL(currentIndexChanged(int)),
137
this, SLOT(slotTargetSelected(int)) );
138
connect( m_addTarget, SIGNAL(clicked()),
139
this, SLOT(slotAddTarget()) );
140
connect( m_deleteTarget, SIGNAL(clicked()),
141
this, SLOT(slotDeleteTarget()) );
142
connect( m_workingDirectory, SIGNAL(textEdited(QString)),
143
this, SLOT(slotWorkingDirectoryEdited(QString)) );
144
connect( m_argumentLists, SIGNAL(editTextChanged(QString)),
145
this, SLOT(slotArgListEdited(QString)) );
146
connect( m_argumentLists, SIGNAL(currentIndexChanged(int)),
147
this, SLOT(slotArgListSelected(int)) );
148
connect( m_addArgList, SIGNAL(clicked()),
149
this, SLOT(slotAddArgList()) );
150
connect( m_deleteArgList, SIGNAL(clicked()),
151
this, SLOT(slotDeleteArgList()) );
152
connect( m_redirectTerminal, SIGNAL(toggled(bool)),
153
this, SIGNAL(showIO(bool)) );
156
156
ConfigView::~ConfigView()
162
162
m_targetSelectAction = actionCollection->add<KSelectAction>( "targets" );
163
163
m_targetSelectAction->setText( i18n( "Targets" ) );
164
connect( m_targetSelectAction, SIGNAL( triggered( int ) ),
165
this, SLOT( slotTargetSelected( int ) ) );
164
connect( m_targetSelectAction, SIGNAL(triggered(int)),
165
this, SLOT(slotTargetSelected(int)) );
167
167
m_argListSelectAction = actionCollection->add<KSelectAction>( "argLists" );
168
168
m_argListSelectAction->setText( i18n( "Arg Lists" ) );
169
connect( m_argListSelectAction, SIGNAL( triggered( int ) ),
170
this, SLOT( slotArgListSelected( int ) ) );
169
connect( m_argListSelectAction, SIGNAL(triggered(int)),
170
this, SLOT(slotArgListSelected(int)) );
173
173
void ConfigView::readConfig( KConfigBase* config, QString const& groupPrefix )