summaryrefslogtreecommitdiffstats
path: root/kdialog/widgets.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kdialog/widgets.cpp')
-rw-r--r--kdialog/widgets.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/kdialog/widgets.cpp b/kdialog/widgets.cpp
index a2064a5ba..322cf0a0d 100644
--- a/kdialog/widgets.cpp
+++ b/kdialog/widgets.cpp
@@ -130,7 +130,7 @@ int Widgets::textInputBox(TQWidget *parent, int width, int height, const TQStrin
KTextEdit *edit = new KTextEdit( vbox );
edit->setReadOnly(FALSE);
- edit->setTextFormat( Qt::PlainText );
+ edit->setTextFormat( TQt::PlainText );
edit->setFocus();
if( args.count() > 1 )
@@ -218,7 +218,7 @@ bool Widgets::checkList(TQWidget *parent, const TQString& title, const TQString&
table.setCurrentItem(0); // This is to circumvent a Qt bug
for (unsigned int i=0; i+2<args.count(); i += 3) {
- table.setSelected( i/3, args[i+2] == TQString::fromLatin1("on") );
+ table.setSelected( i/3, args[i+2] == TQString::tqfromLatin1("on") );
}
handleXGeometry(&box);
@@ -233,7 +233,7 @@ bool Widgets::checkList(TQWidget *parent, const TQString& title, const TQString&
} else {
for (unsigned int i=0; i<table.count(); i++)
if (table.isSelected(i))
- rs += TQString::fromLatin1("\"") + tags[i] + TQString::fromLatin1("\" ");
+ rs += TQString::tqfromLatin1("\"") + tags[i] + TQString::tqfromLatin1("\" ");
result.append(rs);
}
}
@@ -260,7 +260,7 @@ bool Widgets::radioBox(TQWidget *parent, const TQString& title, const TQString&
table.insertStringList(entries);
for (unsigned int i=0; i+2<args.count(); i += 3) {
- table.setSelected( i/3, args[i+2] == TQString::fromLatin1("on") );
+ table.setSelected( i/3, args[i+2] == TQString::tqfromLatin1("on") );
}
handleXGeometry(&box);