[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: branches/KDE/4.1/kdepim/akregator/src
From: Teemu Rytilahti <tpr () d5k ! net>
Date: 2008-08-21 23:24:54
Message-ID: 1219361094.958738.31896.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 850663 by rytilahti:
backport tabwidget to use qtoolbutton instead of qpushbutton
M +3 -3 tabwidget.cpp
--- branches/KDE/4.1/kdepim/akregator/src/tabwidget.cpp #850662:850663
@@ -30,7 +30,7 @@
#include <QClipboard>
#include <QHash>
#include <QString>
-#include <QPushButton>
+#include <QToolButton>
#include <QMenu>
#include <QStyleOption>
@@ -74,7 +74,7 @@
QHash<int, Frame*> framesById;
int currentMaxLength;
QWidget* currentItem;
- QPushButton* tabsClose;
+ QToolButton* tabsClose;
uint tabBarWidthForMaxChars(int maxLength);
void setTitle(const QString &title , QWidget* sender);
@@ -100,7 +100,7 @@
this, SLOT(slotCloseRequest(QWidget*)));
setHoverCloseButton(Settings::closeButtonOnTabs());
- d->tabsClose = new QPushButton(this);
+ d->tabsClose = new QToolButton(this);
d->tabsClose->setShortcut(QKeySequence("Ctrl+W"));
connect( d->tabsClose, SIGNAL( clicked() ), this,
SLOT( slotRemoveCurrentFrame() ) );
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic