[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: KDE/kdenetwork/kopete/kopete/chatwindow
From: Shaun Reich <shaun.reich () kdemail ! net>
Date: 2009-02-28 21:03:10
Message-ID: 1235854990.007111.21385.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 933407 by sreich:
Changed deprecated uses of KTabWidget members:
* setHoverCloseButton(bool) -> setTabsClosable(bool)
* setTabReorderingEnabled(bool) -> SetMovable(bool)
Tabs now use the qt-provided methods of enabling dragging, and enabling the close \
button on them.
I don't know why the close button on the tabs themselves can't be enabled, it appears \
to be a config setting, but I couldn't find anything like it in the settings dialog, \
but this was like this before anyways.
M +2 -2 kopetechatwindow.cpp
--- trunk/KDE/kdenetwork/kopete/kopete/chatwindow/kopetechatwindow.cpp #933406:933407
@@ -633,8 +633,8 @@
m_tabBar = new KTabWidget( mainArea );
m_tabBar->setSizePolicy( QSizePolicy( QSizePolicy::Expanding, \
QSizePolicy::Expanding ) );
- m_tabBar->setHoverCloseButton(cg.readEntry( QLatin1String("HoverClose"), false ));
- m_tabBar->setTabReorderingEnabled(true);
+ m_tabBar->setTabsClosable(cg.readEntry( QLatin1String("HoverClose"), false ));
+ m_tabBar->setMovable(true);
m_tabBar->setAutomaticResizeTabs(true);
connect( m_tabBar, SIGNAL( closeRequest( QWidget* )), this, SLOT( slotCloseChat( \
QWidget* ) ) );
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic