[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: kdelibs/kdeui
From: Daniel Molkentin <molkentin () kde ! org>
Date: 2005-03-26 11:12:15
Message-ID: 20050326111215.1ED2B627 () office ! kde ! org
[Download RAW message or body]
CVS commit by danimo:
Work with Qt Designer. There is not reason to use KApplication here.
Workaround for those with 3.4.0 (and generally a safer bet with KDE Widgets):
Use KDevDesigner
M +3 -3 klistviewsearchline.cpp 1.23
--- kdelibs/kdeui/klistviewsearchline.cpp #1.22:1.23
@@ -20,5 +20,4 @@
#include <klistview.h>
-#include <kapplication.h>
#include <kiconloader.h>
#include <ktoolbar.h>
@@ -27,4 +26,5 @@
#include <klocale.h>
+#include <qapplication.h>
#include <qtimer.h>
#include <qpopupmenu.h>
@@ -414,5 +414,5 @@ void KListViewSearchLineWidget::createWi
if(!d->clearButton) {
d->clearButton = new QToolButton(this);
- QIconSet icon = SmallIconSet(KApplication::reverseLayout() ? "clear_left" : \
"locationbar_erase"); + QIconSet icon = \
SmallIconSet(QApplication::reverseLayout() ? "clear_left" : "locationbar_erase"); \
d->clearButton->setIconSet(icon); }
@@ -453,5 +453,5 @@ void KListViewSearchLineWidget::position
toolBar->setItemAutoSized(id);
if(!d->clearButton) {
- QString icon = KApplication::reverseLayout() ? "clear_left" : \
"locationbar_erase"; + QString icon = \
QApplication::reverseLayout() ? "clear_left" : "locationbar_erase";
d->clearButton = new KToolBarButton(icon, 2005, toolBar);
}
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic