[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    kdebase/kcontrol/konqhtml
From:       Stephan Binner <binner () kde ! org>
Date:       2004-05-12 14:57:05
Message-ID: 20040512145705.6B36726E8 () office ! kde ! org
[Download RAW message or body]

CVS commit by binner: 

Added option to GUI for Bug 48386: tab close previous viewed (wishlist)


  M +3 -0      advancedTabDialog.cpp   1.6
  M +11 -0     advancedTabOptions.ui   1.6


--- kdebase/kcontrol/konqhtml/advancedTabDialog.cpp  #1.5:1.6
@@ -62,4 +62,5 @@ advancedTabDialog::advancedTabDialog(QWi
     connect(m_advancedWidget->m_pOpenAfterCurrentPage, SIGNAL(clicked()), this, \
                SLOT(changed()));
     connect(m_advancedWidget->m_pTabConfirm, SIGNAL(clicked()), this, \
SLOT(changed())); +    connect(m_advancedWidget->m_pTabCloseActivatePrevious, \
                SIGNAL(clicked()), this, SLOT(changed()));
     connect(m_advancedWidget->m_pPermanentCloseButton, SIGNAL(clicked()), this, \
                SLOT(changed()));
     connect(m_advancedWidget->m_pKonquerorTabforExternalURL, SIGNAL(clicked()), \
this, SLOT(changed())); @@ -81,4 +82,5 @@ void advancedTabDialog::load()
     m_advancedWidget->m_pKonquerorTabforExternalURL->setChecked( \
                m_pConfig->readBoolEntry( "KonquerorTabforExternalURL", false ) );
     m_advancedWidget->m_pPopupsWithinTabs->setChecked( m_pConfig->readBoolEntry( \
"PopupsWithinTabs", false ) ); +    \
m_advancedWidget->m_pTabCloseActivatePrevious->setChecked( m_pConfig->readBoolEntry( \
"TabCloseActivatePrevious", false ) );  
     m_pConfig->setGroup("Notification Messages");
@@ -96,4 +98,5 @@ void advancedTabDialog::save()
     m_pConfig->writeEntry( "KonquerorTabforExternalURL", \
                m_advancedWidget->m_pKonquerorTabforExternalURL->isChecked() );
     m_pConfig->writeEntry( "PopupsWithinTabs", \
m_advancedWidget->m_pPopupsWithinTabs->isChecked() ); +    m_pConfig->writeEntry( \
"TabCloseActivatePrevious", \
m_advancedWidget->m_pTabCloseActivatePrevious->isChecked() );  m_pConfig->sync();
 

--- kdebase/kcontrol/konqhtml/advancedTabOptions.ui  #1.5:1.6
@@ -107,4 +107,15 @@
                 <widget class="QCheckBox">
                     <property name="name">
+                       <cstring>m_pTabCloseActivatePrevious</cstring>
+                    </property>
+                   <property name="text">
+                       <string>Activate previous used tab when closing the current \
tab</string> +                   </property>
+                   <property name="whatsThis" stdset="0">
+                       <string>When checking this the previous used or opened tab \
will be activated when you close the current active tab instead of the one right to \
the current tab.</string> +                   </property>
+                </widget>
+                <widget class="QCheckBox">
+                    <property name="name">
                         <cstring>m_pKonquerorTabforExternalURL</cstring>
                     </property>


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic