diff options
Diffstat (limited to 'kspread/plugins')
-rw-r--r-- | kspread/plugins/calculator/kcalc.cpp | 4 | ||||
-rw-r--r-- | kspread/plugins/insertcalendar/kspread_plugininsertcalendar.cc | 2 | ||||
-rw-r--r-- | kspread/plugins/scripting/kspreadcore/kspreadcoremodule.cpp | 6 |
3 files changed, 6 insertions, 6 deletions
diff --git a/kspread/plugins/calculator/kcalc.cpp b/kspread/plugins/calculator/kcalc.cpp index 730cd404..e1a1d4c3 100644 --- a/kspread/plugins/calculator/kcalc.cpp +++ b/kspread/plugins/calculator/kcalc.cpp @@ -578,7 +578,7 @@ void TQtCalculator::updateGeometry() s.setWidth(mSmallPage->fontMetrics().width("MMM")); s.setHeight(mSmallPage->fontMetrics().lineSpacing()); - l = (TQObjectList*)mSmallPage->tqchildren(); // silence please + l = (TQObjectList*)mSmallPage->children(); // silence please for(uint i=0; i < l->count(); i++) { @@ -593,7 +593,7 @@ void TQtCalculator::updateGeometry() } } - l = (TQObjectList*)mLargePage->tqchildren(); // silence please + l = (TQObjectList*)mLargePage->children(); // silence please int h1 = pbF->minimumSize().height(); int h2 = (int)((((float)h1 + 4.0) / 5.0)); diff --git a/kspread/plugins/insertcalendar/kspread_plugininsertcalendar.cc b/kspread/plugins/insertcalendar/kspread_plugininsertcalendar.cc index 1bb16a95..c0d5c1ca 100644 --- a/kspread/plugins/insertcalendar/kspread_plugininsertcalendar.cc +++ b/kspread/plugins/insertcalendar/kspread_plugininsertcalendar.cc @@ -194,7 +194,7 @@ void PluginInsertCalendar::slotInsertCalendar(const TQDate &start, const TQDate int row = selection.y(); int col = selection.x(); int colstart = col; //this is where we get back after each week - sheet->setText(row,colstart,i18n("Calendar from %1 to %2").tqarg(start.toString()).tqarg(end.toString())); + sheet->setText(row,colstart,i18n("Calendar from %1 to %2").arg(start.toString()).arg(end.toString())); TQDate current(start); // TQDate previous(current); diff --git a/kspread/plugins/scripting/kspreadcore/kspreadcoremodule.cpp b/kspread/plugins/scripting/kspreadcore/kspreadcoremodule.cpp index 108516dc..9f67dfbb 100644 --- a/kspread/plugins/scripting/kspreadcore/kspreadcoremodule.cpp +++ b/kspread/plugins/scripting/kspreadcore/kspreadcoremodule.cpp @@ -45,9 +45,9 @@ using namespace Kross::KSpreadCore; KSpreadCoreModule::KSpreadCoreModule(Kross::Api::Manager* manager) : Kross::Api::Module("kspreadcore") , m_manager(manager) { - TQMap<TQString, Object::Ptr> tqchildren = manager->getChildren(); - kdDebug() << " there are " << tqchildren.size() << endl; - for(TQMap<TQString, Object::Ptr>::const_iterator it = tqchildren.begin(); it != tqchildren.end(); it++) + TQMap<TQString, Object::Ptr> children = manager->getChildren(); + kdDebug() << " there are " << children.size() << endl; + for(TQMap<TQString, Object::Ptr>::const_iterator it = children.begin(); it != children.end(); it++) { kdDebug() << it.key() << " " << it.data() << endl; } |