~ubuntu-branches/ubuntu/lucid/kdebase/lucid

« back to all changes in this revision

Viewing changes to apps/konsole/src/EditProfileDialog.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Jonathan Thomas
  • Date: 2009-12-02 13:28:20 UTC
  • mto: This revision was merged to the branch mainline in revision 258.
  • Revision ID: james.westby@ubuntu.com-20091202132820-tpxn348l9frx5zd5
Tags: upstream-4.3.80
ImportĀ upstreamĀ versionĀ 4.3.80

Show diffs side-by-side

added added

removed removed

Lines of Context:
220
220
    {
221
221
        ProfileGroup::Ptr group = info->asGroup(); 
222
222
        if (!group || group->profiles().count() < 2)
 
223
        {
 
224
            _ui->profileNameEdit->setClearButtonShown(true);
223
225
            _ui->profileNameEdit->setText( info->name() );
 
226
        }
224
227
        else 
225
228
        {
226
229
            _ui->profileNameEdit->setText( groupProfileNames(group,-1) );
972
975
                                 SLOT(toggleResizeWindow(bool)) },
973
976
                               { _ui->enableBlinkingCursorButton , Profile::BlinkingCursorEnabled ,
974
977
                                 SLOT(toggleBlinkingCursor(bool)) },
 
978
                               { _ui->tripleClickMode , Profile::TripleClickMode ,
 
979
                                 SLOT(toggleTripleClickMode(bool)) },
975
980
                               { _ui->enableBidiRenderingButton , Profile::BidiRenderingEnabled ,
976
981
                                 SLOT(togglebidiRendering(bool)) },
977
982
                               { 0 , 0 , 0 }
1048
1053
{
1049
1054
    _tempProfile->setProperty(Profile::BlinkingCursorEnabled,enable);
1050
1055
}
 
1056
void EditProfileDialog::toggleTripleClickMode(bool enable)
 
1057
{
 
1058
    _tempProfile->setProperty(Profile::TripleClickMode,enable);
 
1059
}
1051
1060
void EditProfileDialog::toggleBlinkingText(bool enable)
1052
1061
{
1053
1062
    _tempProfile->setProperty(Profile::BlinkingTextEnabled,enable);