[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: kdelibs/kdeprint/management
From: Laurent Montel <montel () kde ! org>
Date: 2003-11-02 23:07:15
[Download RAW message or body]
CVS commit by mlaurent:
Other reverseLayout fix
M +3 -2 kmconfigfilter.cpp 1.8
--- kdelibs/kdeprint/management/kmconfigfilter.cpp #1.7:1.8
@@ -27,4 +27,5 @@
#include <qlayout.h>
#include <qlabel.h>
+#include <qapplication.h>
#include <klocale.h>
@@ -48,7 +49,7 @@ KMConfigFilter::KMConfigFilter(QWidget *
m_list2->setSelectionMode(KListBox::Extended);
m_add = new QToolButton( box );
- m_add->setIconSet(SmallIconSet( "forward" ));
+ m_add->setIconSet(QApplication::reverseLayout() ? SmallIconSet( "back" ) : \
SmallIconSet( "forward" )); m_remove = new QToolButton( box );
- m_remove->setIconSet(SmallIconSet( "back" ));
+ m_remove->setIconSet(QApplication::reverseLayout() ? SmallIconSet( "forward" \
) : SmallIconSet( "back" )); m_locationre = new QLineEdit(box);
QLabel *lab = new QLabel(box);
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic