diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-18 18:15:16 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-18 18:15:16 -0600 |
commit | d6609da6b8c963fc19b622ab37f38e65df4e0a29 (patch) | |
tree | 66b2ac7b12897c16ac5226da82c451c04994f9cd /src/urldlg.cpp | |
parent | 548395e018d377eaa8fede0fba271da8b6c49fc9 (diff) | |
download | tdesvn-d6609da6b8c963fc19b622ab37f38e65df4e0a29.tar.gz tdesvn-d6609da6b8c963fc19b622ab37f38e65df4e0a29.zip |
Rename old tq methods that no longer need a unique name
Diffstat (limited to 'src/urldlg.cpp')
-rw-r--r-- | src/urldlg.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/urldlg.cpp b/src/urldlg.cpp index c1ae158..a58cf5d 100644 --- a/src/urldlg.cpp +++ b/src/urldlg.cpp @@ -55,10 +55,10 @@ void UrlDlg::init_dlg() KHistoryCombo * combo = new KHistoryCombo(0,"history_combo"); combo->setDuplicatesEnabled(false); KConfig *kc = KGlobal::config(); - KConfigGroupSaver ks( kc, TQString::tqfromLatin1("Open-repository settings") ); - int max = kc->readNumEntry( TQString::tqfromLatin1("Maximum history"), 15 ); + KConfigGroupSaver ks( kc, TQString::fromLatin1("Open-repository settings") ); + int max = kc->readNumEntry( TQString::fromLatin1("Maximum history"), 15 ); combo->setMaxCount( max ); - TQStringList list = kc->readListEntry( TQString::tqfromLatin1("History") ); + TQStringList list = kc->readListEntry( TQString::fromLatin1("History") ); combo->setHistoryItems(list); combo->setMinimumWidth(100); combo->adjustSize(); @@ -76,7 +76,7 @@ void UrlDlg::init_dlg() enableButton( KDialogBase::User1, false ); connect( this, TQT_SIGNAL(user1Clicked()), TQT_SLOT(slotClear())); urlRequester_->adjustSize(); - resize(TQSize(400,tqsizeHint().height())); + resize(TQSize(400,sizeHint().height())); } /*! @@ -88,8 +88,8 @@ void UrlDlg::accept() if (combo) { combo->addToHistory(urlRequester_->url()); KConfig *kc = KGlobal::config(); - KConfigGroupSaver ks(kc, TQString::tqfromLatin1("Open-repository settings")); - kc->writeEntry(TQString::tqfromLatin1("History"), combo->historyItems()); + KConfigGroupSaver ks(kc, TQString::fromLatin1("Open-repository settings")); + kc->writeEntry(TQString::fromLatin1("History"), combo->historyItems()); kc->sync(); } KDialogBase::accept(); |