diff options
author | Timothy Pearson <[email protected]> | 2011-12-18 18:29:23 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2011-12-18 18:29:23 -0600 |
commit | 628043be55ddd2f534411d028e4f68c8fe4eaabb (patch) | |
tree | 29459652112ab6d5dfbf27ac0bbf5b86b7c83bca /kate/app/katemainwindow.cpp | |
parent | 2c01fd64ddde84a6d78b632f7f3b7c3560dc288c (diff) | |
download | tdebase-628043be55ddd2f534411d028e4f68c8fe4eaabb.tar.gz tdebase-628043be55ddd2f534411d028e4f68c8fe4eaabb.zip |
Rename old tq methods that no longer need a unique name
Diffstat (limited to 'kate/app/katemainwindow.cpp')
-rw-r--r-- | kate/app/katemainwindow.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/kate/app/katemainwindow.cpp b/kate/app/katemainwindow.cpp index 369eb0b78..4fc9080cb 100644 --- a/kate/app/katemainwindow.cpp +++ b/kate/app/katemainwindow.cpp @@ -110,8 +110,8 @@ KateMainWindow::KateMainWindow (KConfig *sconfig, const TQString &sgroup) if (sconfig) { sconfig->setGroup (sgroup); - size.setWidth (sconfig->readNumEntry( TQString::tqfromLatin1("Width %1").arg(desk.width()), 0 )); - size.setHeight (sconfig->readNumEntry( TQString::tqfromLatin1("Height %1").arg(desk.height()), 0 )); + size.setWidth (sconfig->readNumEntry( TQString::fromLatin1("Width %1").arg(desk.width()), 0 )); + size.setHeight (sconfig->readNumEntry( TQString::fromLatin1("Height %1").arg(desk.height()), 0 )); } // if thats fails, try to reuse size @@ -131,8 +131,8 @@ KateMainWindow::KateMainWindow (KConfig *sconfig, const TQString &sgroup) { // first try global app config KateApp::self()->config()->setGroup ("MainWindow"); - size.setWidth (KateApp::self()->config()->readNumEntry( TQString::tqfromLatin1("Width %1").arg(desk.width()), 0 )); - size.setHeight (KateApp::self()->config()->readNumEntry( TQString::tqfromLatin1("Height %1").arg(desk.height()), 0 )); + size.setWidth (KateApp::self()->config()->readNumEntry( TQString::fromLatin1("Width %1").arg(desk.width()), 0 )); + size.setHeight (KateApp::self()->config()->readNumEntry( TQString::fromLatin1("Height %1").arg(desk.height()), 0 )); if (size.isEmpty()) size = TQSize (kMin (700, desk.width()), kMin(480, desk.height())); |