diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-15 15:32:11 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-15 15:32:11 -0600 |
commit | 94844816550ad672ccfcdc25659c625546239998 (patch) | |
tree | e35fc60fd736c645d59f6408af032774ad8023d3 /kspread/kspread_map.cc | |
parent | 2a811c38c74c03648ecf857e566c44483cbad706 (diff) | |
download | koffice-94844816550ad672ccfcdc25659c625546239998.tar.gz koffice-94844816550ad672ccfcdc25659c625546239998.zip |
Rename a number of old tq methods that are no longer tq specific
Diffstat (limited to 'kspread/kspread_map.cc')
-rw-r--r-- | kspread/kspread_map.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kspread/kspread_map.cc b/kspread/kspread_map.cc index 7d55a8ff..a24c8cf2 100644 --- a/kspread/kspread_map.cc +++ b/kspread/kspread_map.cc @@ -80,7 +80,7 @@ void Map::setProtected( TQCString const & passwd ) Sheet* Map::createSheet() { TQString s( i18n("Sheet%1") ); - s = s.tqarg( tableId++ ); + s = s.arg( tableId++ ); Sheet *t = new Sheet ( this, s , s.utf8()); t->setSheetName( s, true ); // huh? (Werner) return t; @@ -159,7 +159,7 @@ void Map::loadOasisSettings( KoOasisSettings &settings ) void Map::saveOasisSettings( KoXmlWriter &settingsWriter ) { - settingsWriter.addConfigItem( "ViewId", TQString::tqfromLatin1( "View1" ) ); + settingsWriter.addConfigItem( "ViewId", TQString::fromLatin1( "View1" ) ); // Save visual info for the first view, such as active sheet and active cell // It looks like a hack, but reopening a document creates only one view anyway (David) View * view = m_doc->views().isEmpty() ? 0 : dynamic_cast<View*>(m_doc->views().getFirst()); |