diff options
Diffstat (limited to 'cervisia/repositorydlg.cpp')
-rw-r--r-- | cervisia/repositorydlg.cpp | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/cervisia/repositorydlg.cpp b/cervisia/repositorydlg.cpp index 90d64a4f..64adc69e 100644 --- a/cervisia/repositorydlg.cpp +++ b/cervisia/repositorydlg.cpp @@ -21,7 +21,7 @@ #include "repositorydlg.h" -#include <layout.h> +#include <tqlayout.h> #include <tqpushbutton.h> #include <kbuttonbox.h> #include <kconfig.h> @@ -141,14 +141,14 @@ void RepositoryListItem::setIsLoggedIn(bool isLoggedIn) void RepositoryListItem::changeLoginStatusColumn() { - TQString loginStatus; + TQString logintqStatus; if( LoginNeeded(repository()) ) - loginStatus = m_isLoggedIn ? i18n("Logged in") : i18n("Not logged in"); + logintqStatus = m_isLoggedIn ? i18n("Logged in") : i18n("Not logged in"); else - loginStatus = i18n("No login required"); + logintqStatus = i18n("No login required"); - setText(3, loginStatus); + setText(3, logintqStatus); } @@ -186,7 +186,7 @@ RepositoryDialog::RepositoryDialog(KConfig& cfg, CvsService_stub* cvsService, m_loginButton = actionbox->addButton(i18n("Login...")); m_logoutButton = actionbox->addButton(i18n("Logout")); actionbox->addStretch(); - actionbox->layout(); + actionbox->tqlayout(); hbox->addWidget(actionbox, 0); m_loginButton->setEnabled(false); @@ -231,7 +231,7 @@ RepositoryDialog::RepositoryDialog(KConfig& cfg, CvsService_stub* cvsService, for (int i = 0; i < m_repoList->columns(); ++i) m_repoList->setColumnWidthMode(i, TQListView::Manual); - m_repoList->restoreLayout(&m_partConfig, TQString::fromLatin1("RepositoryListView")); + m_repoList->restoreLayout(&m_partConfig, TQString::tqfromLatin1("RepositoryListView")); } @@ -239,7 +239,7 @@ RepositoryDialog::~RepositoryDialog() { saveDialogSize(m_partConfig, "RepositoryDialog"); - m_repoList->saveLayout(&m_partConfig, TQString::fromLatin1("RepositoryListView")); + m_repoList->saveLayout(&m_partConfig, TQString::tqfromLatin1("RepositoryListView")); delete m_serviceConfig; } @@ -274,7 +274,7 @@ void RepositoryDialog::readConfigFile() RepositoryListItem* ritem = static_cast<RepositoryListItem*>(item); // read entries from cvs DCOP service configuration - m_serviceConfig->setGroup(TQString::fromLatin1("Repository-") + + m_serviceConfig->setGroup(TQString::tqfromLatin1("Repository-") + ritem->repository()); TQString rsh = m_serviceConfig->readEntry("rsh", TQString()); @@ -490,7 +490,7 @@ void RepositoryDialog::slotSelectionChanged() void RepositoryDialog::writeRepositoryData(RepositoryListItem* item) { // write entries to cvs DCOP service configuration - m_serviceConfig->setGroup(TQString::fromLatin1("Repository-") + + m_serviceConfig->setGroup(TQString::tqfromLatin1("Repository-") + item->repository()); m_serviceConfig->writeEntry("rsh", item->rsh()); |