[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: kdelibs/kdeui/tests
From: Stephan Binner <binner () kde ! org>
Date: 2003-09-07 10:20:31
[Download RAW message or body]
CVS commit by binner:
If the KDE team is even praised on a GNOME mailing list for allocating lot of
developer resources for fixing applications to use new API features quickly
and consistently let's upgrade this too from QInputDialog to KInputDialog. :)
M +3 -3 ktabwidgettest.cpp 1.26
--- kdelibs/kdeui/tests/ktabwidgettest.cpp #1.25:1.26
@@ -2,8 +2,8 @@
#include <qlayout.h>
#include <qdragobject.h>
-#include <qinputdialog.h>
#include <kapplication.h>
#include <kcmdlineargs.h>
+#include <kinputdialog.h>
#include <kdebug.h>
@@ -344,6 +344,6 @@ void Test::mouseDoubleClick(QWidget *w)
{
bool ok;
- QString text = QInputDialog::getText(
- "Rename Tab", "Enter new name:", QLineEdit::Normal,
+ QString text = KInputDialog::getText(
+ "Rename Tab", "Enter new name:",
mWidget->label( mWidget->indexOf( w ) ), &ok, this );
if ( ok && !text.isEmpty() ) {
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic