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

List:       kde-commits
Subject:    KDE/kdepim/kmail/messagelistview
From:       Shaun Reich <shaun.reich () kdemail ! net>
Date:       2009-02-28 21:17:46
Message-ID: 1235855866.264901.24705.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 933413 by sreich:

Changed deprecated use of setTabReorderingEnabled(bool) -> setMovable(bool).

Also removed useless commented-out, deprecated code (3 lines) that was related to \
most of this.

So now KMail uses the groovy feeling Qt tab dragging, which is a lot more intuitive, \
and it makes you almost -want- to drag tabs ;) .

 M  +1 -3      pane.cpp  


--- trunk/KDE/kdepim/kmail/messagelistview/pane.cpp #933412:933413
@@ -66,9 +66,7 @@
   mCloseTabButton->setToolTip( i18nc("@info:tooltip", "Close the current tab"));
   setCornerWidget( mCloseTabButton, Qt::TopRightCorner );
 
-  setTabReorderingEnabled( true ); // this works with middle button (not really \
                intuitive, found it by reading sources)
-  //setCloseButtonEnabled( true ); <-- not that nice (often one closes tabs by \
                accident)
-  //setHoverCloseButton( true ); <-- deprecated
+  setMovable( true );
 
   connect( mNewTabButton, SIGNAL( clicked() ),
            SLOT( slotNewTab() ) );


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

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