summaryrefslogtreecommitdiffstats
path: root/lib/koproperty/test/test.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-18 18:12:30 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-18 18:12:30 -0600
commit11191ef0b9908604d1d7aaca382b011ef22c454c (patch)
treed38f0ccd8bfcc9756f5cfc42fb2ad1dad351e6aa /lib/koproperty/test/test.cpp
parentc9cb4f487428aad5d8cda5e3a4b9ad87390d7e54 (diff)
downloadkoffice-11191ef0b9908604d1d7aaca382b011ef22c454c.tar.gz
koffice-11191ef0b9908604d1d7aaca382b011ef22c454c.zip
Rename old tq methods that no longer need a unique name
Diffstat (limited to 'lib/koproperty/test/test.cpp')
-rw-r--r--lib/koproperty/test/test.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/koproperty/test/test.cpp b/lib/koproperty/test/test.cpp
index df0ec956..c026aad0 100644
--- a/lib/koproperty/test/test.cpp
+++ b/lib/koproperty/test/test.cpp
@@ -65,10 +65,10 @@ Test::Test()
m_set->addProperty(new Property("Bool", TQVariant(true, 4), "Bool"), group);
m_set->addProperty(p = new Property("3 States", TQVariant(), "3 States", "", Boolean), group);
p->setOption("3rdState", "None");
- m_set->addProperty(p = new Property("Date", TQDate::tqcurrentDate(),"Date"), group);
+ m_set->addProperty(p = new Property("Date", TQDate::currentDate(),"Date"), group);
p->setIcon("date");
m_set->addProperty(new Property("Time", TQTime::currentTime(),"Time"), group);
- m_set->addProperty(new Property("DateTime", TQDateTime::tqcurrentDateTime(),"Date/Time"), group);
+ m_set->addProperty(new Property("DateTime", TQDateTime::currentDateTime(),"Date/Time"), group);
TQStringList list;//keys
list << "myitem" << "otheritem" << "3rditem";
@@ -107,7 +107,7 @@ Test::Test()
p->setIcon("fonts");
m_set->addProperty(new Property("Cursor", TQCursor(TQt::WaitCursor),"Cursor"), group);
m_set->addProperty(new Property("LineStyle", 3, "Line Style", "", LineStyle), group);
- m_set->addProperty(new Property("SizePolicy", tqsizePolicy(), "Size Policy"), group);
+ m_set->addProperty(new Property("SizePolicy", sizePolicy(), "Size Policy"), group);
// kdDebug() << m_set->groupNames() << endl;