summaryrefslogtreecommitdiffstats
path: root/kolf/kcomboboxdialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kolf/kcomboboxdialog.cpp')
-rw-r--r--kolf/kcomboboxdialog.cpp22
1 files changed, 11 insertions, 11 deletions
diff --git a/kolf/kcomboboxdialog.cpp b/kolf/kcomboboxdialog.cpp
index 1e18e0b2..133edb01 100644
--- a/kolf/kcomboboxdialog.cpp
+++ b/kolf/kcomboboxdialog.cpp
@@ -34,8 +34,8 @@
#include "kcomboboxdialog.h"
-KComboBoxDialog::KComboBoxDialog( const TQString &_text, const TQStringList &_items, const TQString& _value, bool showDontAskAgain, TQWidget *parent )
- : KDialogBase( Plain, TQString::null, Ok, Ok, parent, 0L, true, true )
+KComboBoxDialog::KComboBoxDialog( const TQString &_text, const TQStringList &_items, const TQString& _value, bool showDontAskAgain, TQWidget *tqparent )
+ : KDialogBase( Plain, TQString(), Ok, Ok, tqparent, 0L, true, true )
{
TQVBoxLayout *topLayout = new TQVBoxLayout( plainPage(), marginHint(), spacingHint() );
TQLabel *label = new TQLabel(_text, plainPage() );
@@ -76,12 +76,12 @@ bool KComboBoxDialog::dontAskAgainChecked()
return false;
}
-TQString KComboBoxDialog::getItem( const TQString &_text, const TQStringList &_items, const TQString& _value, const TQString &dontAskAgainName, TQWidget *parent )
+TQString KComboBoxDialog::getItem( const TQString &_text, const TQStringList &_items, const TQString& _value, const TQString &dontAskAgainName, TQWidget *tqparent )
{
- return getItem( _text, TQString::null, _items, _value, dontAskAgainName, parent );
+ return getItem( _text, TQString(), _items, _value, dontAskAgainName, tqparent );
}
-TQString KComboBoxDialog::getItem( const TQString &_text, const TQString &_caption, const TQStringList &_items, const TQString& _value, const TQString &dontAskAgainName, TQWidget *parent )
+TQString KComboBoxDialog::getItem( const TQString &_text, const TQString &_caption, const TQStringList &_items, const TQString& _value, const TQString &dontAskAgainName, TQWidget *tqparent )
{
TQString prevAnswer;
if ( !dontAskAgainName.isEmpty() )
@@ -90,11 +90,11 @@ TQString KComboBoxDialog::getItem( const TQString &_text, const TQString &_capti
config->setGroup( "Notification Messages" );
prevAnswer = config->readEntry( dontAskAgainName );
if ( !prevAnswer.isEmpty() )
- if ( _items.contains( prevAnswer ) > 0 )
+ if ( _items.tqcontains( prevAnswer ) > 0 )
return prevAnswer;
}
- KComboBoxDialog dlg( _text, _items, _value, !dontAskAgainName.isNull(), parent );
+ KComboBoxDialog dlg( _text, _items, _value, !dontAskAgainName.isNull(), tqparent );
if ( !_caption.isNull() )
dlg.setCaption( _caption );
@@ -115,17 +115,17 @@ TQString KComboBoxDialog::getItem( const TQString &_text, const TQString &_capti
return text;
}
-TQString KComboBoxDialog::getText(const TQString &_caption, const TQString &_text, const TQString &_value, bool *ok, TQWidget *parent, const TQString &configName, KConfig *config)
+TQString KComboBoxDialog::getText(const TQString &_caption, const TQString &_text, const TQString &_value, bool *ok, TQWidget *tqparent, const TQString &configName, KConfig *config)
{
- KComboBoxDialog dlg(_text, TQStringList(), _value, false, parent);
+ KComboBoxDialog dlg(_text, TQStringList(), _value, false, tqparent);
if ( !_caption.isNull() )
dlg.setCaption( _caption );
KHistoryCombo * const box = dlg.comboBox();
box->setEditable(true);
- const TQString historyItem = TQString("%1History").arg(configName);
- const TQString completionItem = TQString("%1Completion").arg(configName);
+ const TQString historyItem = TQString("%1History").tqarg(configName);
+ const TQString completionItem = TQString("%1Completion").tqarg(configName);
if(!configName.isNull())
{