summaryrefslogtreecommitdiffstats
path: root/lib/koproperty/test/test.cpp
diff options
context:
space:
mode:
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;