--- a/phoneuis/ussdeditor/src/ussdeditorquery.cpp Fri Sep 17 17:09:12 2010 +0300
+++ b/phoneuis/ussdeditor/src/ussdeditorquery.cpp Mon Oct 04 16:06:10 2010 +0300
@@ -38,7 +38,7 @@
// Constructor.
// -----------------------------------------------------------------------------
//
-UssdEditorQuery::UssdEditorQuery(CUssdComms &ussd, QGraphicsItem *parent)
+UssdEditorQuery::UssdEditorQuery(UssdComms &ussd, QGraphicsItem *parent)
:HbInputDialog(parent), mComms(ussd)
{
TFLOGSTRING("USSDEDITOR: UssdEditorQuery::UssdEditorQuery IN")
@@ -50,28 +50,20 @@
lineEdit()->setMaxRows(KUssdMaxNumberOfEditorLines);
lineEdit()->setText(QString());
- // 0-9, *, +, #
- lineEdit()->setInputMethodHints(Qt::ImhDialableCharactersOnly);
+ lineEdit()->setInputMethodHints(Qt::ImhEmailCharactersOnly);
mComms.appStarting();
// Disable Ok key by default
actions().at(0)->setEnabled(false);
- bool ret(false);
- ret = connect(actions().at(0), SIGNAL(triggered(bool)),
+ connect(actions().at(0), SIGNAL(triggered(bool)),
this, SLOT(sendUssdString()));
- TFLOGSTRING2("USSDEDITOR: UssdEditorQuery::UssdEditorQuery \
- connect send %d", ret);
- ret = connect(lineEdit(), SIGNAL(textChanged(QString)),
+ connect(lineEdit(), SIGNAL(textChanged(QString)),
this, SLOT(updateButtonVisible(QString)));
- TFLOGSTRING2("USSDEDITOR: UssdEditorQuery::UssdEditorQuery \
- connect ok button %d", ret);
// Connect cancel
- ret = connect(actions().at(1), SIGNAL(triggered(bool)),
+ connect(actions().at(1), SIGNAL(triggered(bool)),
this, SLOT(cancelUssdString()));
- TFLOGSTRING2("USSDEDITOR: UssdEditorQuery::UssdEditorQuery \
- connect send %d", ret);
}
TFLOGSTRING("USSDEDITOR: UssdEditorQuery::UssdEditorQuery OUT")
}