[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: kdesdk/kbugbuster
From: Helge Deller <deller () kde ! org>
Date: 2003-10-07 6:50:27
[Download RAW message or body]
CVS commit by deller:
compiler_warnings -= 2;
deprecated_function_calls -=2; // KLineEditDlg->KInputDialog; setObject()
M +1 -1 backend/bugsystem.cpp 1.52
M +1 -1 backend/htmlparser.cpp 1.3
M +8 -6 gui/messageeditor.cpp 1.8
M +2 -2 gui/msginputdialog.cpp 1.17
--- kdesdk/kbugbuster/backend/bugsystem.cpp #1.51:1.52
@@ -32,5 +32,5 @@ BugSystem *BugSystem::self()
{
if ( !s_self )
- s_self = bssd.setObject( new BugSystem );
+ s_self = bssd.setObject( s_self, new BugSystem );
return s_self;
--- kdesdk/kbugbuster/backend/htmlparser.cpp #1.2:1.3
@@ -239,5 +239,5 @@ KBB::Error HtmlParser_2_17_1::parseBugLi
}
-KBB::Error HtmlParser_2_17_1::parseLine( const QString &line, Bug::List &bugs )
+KBB::Error HtmlParser_2_17_1::parseLine( const QString & /*line*/, Bug::List &/*bugs*/ )
{
return KBB::Error( "Not implemented" );
--- kdesdk/kbugbuster/gui/messageeditor.cpp #1.7:1.8
@@ -1,5 +1,5 @@
#include <qcombobox.h>
#include <ktextedit.h>
-#include <klineeditdlg.h>
+#include <kinputdialog.h>
#include <qlayout.h>
#include <qlabel.h>
@@ -62,11 +62,13 @@ void MessageEditor::updateConfig()
void MessageEditor::addButton()
{
- KLineEditDlg dlg(i18n("Enter button name:"), QString::null, this);
- dlg.setCaption(i18n("Add Message Button"));
+ QString txt;
+ txt = KInputDialog::getText(i18n("Add Message Button"),
+ i18n("Enter button name:"), QString::null,
+ NULL, this );
- if (dlg.exec()) {
+ if ( !txt.isNull() ) {
saveMessage();
- mSelectionCombo->insertItem(dlg.text());
- mMessageButtons.insert(dlg.text(),"");
+ mSelectionCombo->insertItem(txt);
+ mMessageButtons.insert(txt,"");
mSelectionCombo->setCurrentItem(mSelectionCombo->count()-1);
updateMessage();
--- kdesdk/kbugbuster/gui/msginputdialog.cpp #1.16:1.17
@@ -201,5 +201,5 @@ void MsgInputDialog::insertQuotedMessage
const QString quotationMarker = "> ";
- const int wrapColumn = mMessageEdit->wrapColumnOrWidth();
+ const unsigned int wrapColumn = mMessageEdit->wrapColumnOrWidth();
// ### Needs something more sophisticated than simplifyWhiteSpace to
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic