summaryrefslogtreecommitdiffstats
path: root/lib/koproperty/test/test.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-15 15:32:11 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-15 15:32:11 -0600
commit94844816550ad672ccfcdc25659c625546239998 (patch)
treee35fc60fd736c645d59f6408af032774ad8023d3 /lib/koproperty/test/test.cpp
parent2a811c38c74c03648ecf857e566c44483cbad706 (diff)
downloadkoffice-94844816550ad672ccfcdc25659c625546239998.tar.gz
koffice-94844816550ad672ccfcdc25659c625546239998.zip
Rename a number of old tq methods that are no longer tq specific
Diffstat (limited to 'lib/koproperty/test/test.cpp')
-rw-r--r--lib/koproperty/test/test.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/koproperty/test/test.cpp b/lib/koproperty/test/test.cpp
index df0ec956..1c4678c9 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";
@@ -89,7 +89,7 @@ Test::Test()
group = "ComplexGroup";
m_set->setGroupDescription(group, "Complex Group");
}
- m_set->addProperty(new Property("Rect", this->tqgeometry(),"Rect"), group);
+ m_set->addProperty(new Property("Rect", this->geometry(),"Rect"), group);
m_set->addProperty(new Property("Point", TQPoint(3,4), "Point"), group);
m_set->addProperty(new Property("Size", TQPoint(3,4), "Size"), group);
@@ -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;