diff options
| author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-01-07 04:10:07 +0000 | 
|---|---|---|
| committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-01-07 04:10:07 +0000 | 
| commit | fd3a982e26813f5bcc82c7e89ce6fa2ad44432bf (patch) | |
| tree | 9eda848e56fcb862fdfdf479adeccd95b6fe387a /kcontrol/kicker/menutab_impl.cpp | |
| parent | 02f67d0e1355b79b1806746efb0f2f640e57f13d (diff) | |
| download | tdebase-fd3a982e26813f5bcc82c7e89ce6fa2ad44432bf.tar.gz tdebase-fd3a982e26813f5bcc82c7e89ce6fa2ad44432bf.zip | |
Revert automated changes
Sorry guys, they are just not ready for prime time
Work will continue as always
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1212480 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kcontrol/kicker/menutab_impl.cpp')
| -rw-r--r-- | kcontrol/kicker/menutab_impl.cpp | 12 | 
1 files changed, 6 insertions, 6 deletions
| diff --git a/kcontrol/kicker/menutab_impl.cpp b/kcontrol/kicker/menutab_impl.cpp index cd1d27fa9..970aa10a1 100644 --- a/kcontrol/kicker/menutab_impl.cpp +++ b/kcontrol/kicker/menutab_impl.cpp @@ -93,9 +93,9 @@ MenuTab::MenuTab( TQWidget *parent, const char* name )      btnCustomKMenuIcon->setPixmap(kmenu_icon);      KConfig *config; -    config = new KConfig(TQString::tqfromLatin1("kdeglobals"), false, false); -    config->setGroup(TQString::tqfromLatin1("RecentDocuments")); -    maxrecentdocs->setValue(config->readNumEntry(TQString::tqfromLatin1("MaxEntries"), 10)); +    config = new KConfig(TQString::fromLatin1("kdeglobals"), false, false); +    config->setGroup(TQString::fromLatin1("RecentDocuments")); +    maxrecentdocs->setValue(config->readNumEntry(TQString::fromLatin1("MaxEntries"), 10));      m_browserGroupLayout->setColStretch( 1, 1 );      m_pRecentOrderGroupLayout->setColStretch( 1, 1 ); @@ -148,7 +148,7 @@ void MenuTab::load( bool useDefaults )                                          df.readName(),                                          *it,                                          SmallIcon(df.readIcon()), -                                        tqFind(ext.begin(), ext.end(), *it) != ext.end()); +                                        qFind(ext.begin(), ext.end(), *it) != ext.end());              connect(menuItem, TQT_SIGNAL(toggled(bool)), TQT_SIGNAL(changed()));          }      } @@ -247,8 +247,8 @@ void MenuTab::save()      // Save recent documents      KConfig *config; -    config = new KConfig(TQString::tqfromLatin1("kdeglobals"), false, false); -    config->setGroup(TQString::tqfromLatin1("RecentDocuments")); +    config = new KConfig(TQString::fromLatin1("kdeglobals"), false, false); +    config->setGroup(TQString::fromLatin1("RecentDocuments"));      config->writeEntry("MaxEntries", maxrecentdocs->value());      config->sync(); | 
