summaryrefslogtreecommitdiffstats
path: root/src/translators/csvexporter.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/translators/csvexporter.cpp')
-rw-r--r--src/translators/csvexporter.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/translators/csvexporter.cpp b/src/translators/csvexporter.cpp
index d4831b3..dd823db 100644
--- a/src/translators/csvexporter.cpp
+++ b/src/translators/csvexporter.cpp
@@ -49,7 +49,7 @@ TQString& CSVExporter::escapeText(TQString& text_) {
if(text_.find('"') != -1) {
quotes = true;
// quotation marks will be escaped by using a double pair
- text_.replace('"', TQString::tqfromLatin1("\"\""));
+ text_.replace('"', TQString::fromLatin1("\"\""));
}
// if the text contains quotes or the delimiter, it needs to be surrounded by quotes
if(quotes || text_.find(m_delimiter) != -1) {
@@ -116,7 +116,7 @@ TQWidget* CSVExporter::widget(TQWidget* parent_, const char* name_/*=0*/) {
TQButtonGroup* delimiterGroup = new TQButtonGroup(0, Qt::Vertical, i18n("Delimiter"), box);
TQGridLayout* m_delimiterGroupLayout = new TQGridLayout(delimiterGroup->tqlayout());
- m_delimiterGroupLayout->tqsetAlignment(TQt::AlignTop);
+ m_delimiterGroupLayout->setAlignment(TQt::AlignTop);
TQWhatsThis::add(delimiterGroup, i18n("In addition to a comma, other characters may be used as "
"a delimiter, separating each value in the file."));
@@ -165,7 +165,7 @@ TQWidget* CSVExporter::widget(TQWidget* parent_, const char* name_/*=0*/) {
}
void CSVExporter::readOptions(KConfig* config_) {
- KConfigGroup group(config_, TQString::tqfromLatin1("ExportOptions - %1").tqarg(formatString()));
+ KConfigGroup group(config_, TQString::fromLatin1("ExportOptions - %1").tqarg(formatString()));
m_includeTitles = group.readBoolEntry("Include Titles", m_includeTitles);
m_delimiter = group.readEntry("Delimiter", m_delimiter);
}
@@ -182,7 +182,7 @@ void CSVExporter::saveOptions(KConfig* config_) {
m_delimiter = m_editOther->text();
}
- KConfigGroup group(config_, TQString::tqfromLatin1("ExportOptions - %1").tqarg(formatString()));
+ KConfigGroup group(config_, TQString::fromLatin1("ExportOptions - %1").tqarg(formatString()));
group.writeEntry("Include Titles", m_includeTitles);
group.writeEntry("Delimiter", m_delimiter);
}