summaryrefslogtreecommitdiffstats
path: root/quanta/components/csseditor
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2011-12-19 12:01:04 -0600
committerSlávek Banko <[email protected]>2012-06-19 19:42:53 +0200
commit39356ff58b6a5a76b0ee7fa85c538598ededdeff (patch)
treea1b23858695a8eb832455abc977da3a9160a661b /quanta/components/csseditor
parenta177b05ccc4f6a94c52944e4015831d766058b0e (diff)
downloadtdewebdev-39356ff58b6a5a76b0ee7fa85c538598ededdeff.tar.gz
tdewebdev-39356ff58b6a5a76b0ee7fa85c538598ededdeff.zip
Remove additional unneeded tq method conversions
(cherry picked from commit 84c989c19db5daab602a67f47ca0f5fd7a2b53d2)
Diffstat (limited to 'quanta/components/csseditor')
-rw-r--r--quanta/components/csseditor/fontfamilychooser.cpp2
-rw-r--r--quanta/components/csseditor/fontfamilychoosers.ui2
-rw-r--r--quanta/components/csseditor/stylesheetparser.cpp4
3 files changed, 4 insertions, 4 deletions
diff --git a/quanta/components/csseditor/fontfamilychooser.cpp b/quanta/components/csseditor/fontfamilychooser.cpp
index ce2ccde1..bd9e59ef 100644
--- a/quanta/components/csseditor/fontfamilychooser.cpp
+++ b/quanta/components/csseditor/fontfamilychooser.cpp
@@ -43,7 +43,7 @@ fontFamilyChooser::fontFamilyChooser(TQWidget* parent, const char *name) : fontF
lePreview->setText(i18n("The Quick Brown Fox Jumps Over The Lazy Dog"));
TQFontDatabase fdb;
- TQStringList families = fdb.tqfamilies();
+ TQStringList families = fdb.families();
for ( TQStringList::Iterator it = families.begin(); it != families.end(); ++it ) {
if( (*it).contains('[') !=0 )
it = families.remove(it);
diff --git a/quanta/components/csseditor/fontfamilychoosers.ui b/quanta/components/csseditor/fontfamilychoosers.ui
index ded1d6e1..2622216d 100644
--- a/quanta/components/csseditor/fontfamilychoosers.ui
+++ b/quanta/components/csseditor/fontfamilychoosers.ui
@@ -193,7 +193,7 @@
<property name="title">
<string></string>
</property>
- <property name="tqalignment">
+ <property name="alignment">
<set>AlignCenter</set>
</property>
<property name="flat">
diff --git a/quanta/components/csseditor/stylesheetparser.cpp b/quanta/components/csseditor/stylesheetparser.cpp
index 0a573925..0b80caa2 100644
--- a/quanta/components/csseditor/stylesheetparser.cpp
+++ b/quanta/components/csseditor/stylesheetparser.cpp
@@ -164,11 +164,11 @@ void stylesheetParser::parseSelector(){
if (m_stylesheetStructure.contains(selectorName))
{
uint i = 2;
- TQString s = selectorName + TQString("-v%1").tqarg(i);
+ TQString s = selectorName + TQString("-v%1").arg(i);
while (m_stylesheetStructure.contains(s))
{
i++;
- s = selectorName + TQString("-v%1").tqarg(i);
+ s = selectorName + TQString("-v%1").arg(i);
}
selectorName = s;
}