diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-21 14:07:30 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-21 14:07:30 -0600 |
commit | 68b0d93f005081933603e1d07d6ebece55cf4502 (patch) | |
tree | 75b69804a6d7855f437992b56df438c1805a3e42 /src/translators | |
parent | 26f93a7d9105483b49ae930545ddb2873156fa8e (diff) | |
download | tellico-68b0d93f005081933603e1d07d6ebece55cf4502.tar.gz tellico-68b0d93f005081933603e1d07d6ebece55cf4502.zip |
Rename obsolete tq methods to standard names
Diffstat (limited to 'src/translators')
-rw-r--r-- | src/translators/csvexporter.cpp | 2 | ||||
-rw-r--r-- | src/translators/csvimporter.cpp | 2 | ||||
-rw-r--r-- | src/translators/tellico_xml.cpp | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/src/translators/csvexporter.cpp b/src/translators/csvexporter.cpp index 64c0c1f..7d94271 100644 --- a/src/translators/csvexporter.cpp +++ b/src/translators/csvexporter.cpp @@ -115,7 +115,7 @@ TQWidget* CSVExporter::widget(TQWidget* parent_, const char* name_/*=0*/) { "field titles.")); TQButtonGroup* delimiterGroup = new TQButtonGroup(0, Qt::Vertical, i18n("Delimiter"), box); - TQGridLayout* m_delimiterGroupLayout = new TQGridLayout(delimiterGroup->tqlayout()); + TQGridLayout* m_delimiterGroupLayout = new TQGridLayout(delimiterGroup->layout()); 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.")); diff --git a/src/translators/csvimporter.cpp b/src/translators/csvimporter.cpp index 234d76b..68e4789 100644 --- a/src/translators/csvimporter.cpp +++ b/src/translators/csvimporter.cpp @@ -238,7 +238,7 @@ TQWidget* CSVImporter::widget(TQWidget* parent_, const char* name_) { TQHBox* hbox2 = new TQHBox(group); m_delimiterGroup = new TQButtonGroup(0, Qt::Vertical, i18n("Delimiter"), hbox2); - TQGridLayout* m_delimiterGroupLayout = new TQGridLayout(m_delimiterGroup->tqlayout(), 3, 3); + TQGridLayout* m_delimiterGroupLayout = new TQGridLayout(m_delimiterGroup->layout(), 3, 3); m_delimiterGroupLayout->setAlignment(TQt::AlignTop); TQWhatsThis::add(m_delimiterGroup, i18n("In addition to a comma, other characters may be used as " "a delimiter, separating each value in the file.")); diff --git a/src/translators/tellico_xml.cpp b/src/translators/tellico_xml.cpp index e82f134..bcfb412 100644 --- a/src/translators/tellico_xml.cpp +++ b/src/translators/tellico_xml.cpp @@ -77,7 +77,7 @@ TQString Tellico::XML::elementName(const TQString& name_) { } // next check first characters IS_DIGIT is defined in libxml/vali.d - for(uint i = 0; i < name.length() && (!IS_LETTER(name[i].tqunicode()) || name[i] == '_'); ++i) { + for(uint i = 0; i < name.length() && (!IS_LETTER(name[i].unicode()) || name[i] == '_'); ++i) { name = name.mid(1); } if(name.isEmpty() || XML::validXMLElementName(name)) { |