diff options
Diffstat (limited to 'src/ksvnwidgets/logmsg_impl.cpp')
-rw-r--r-- | src/ksvnwidgets/logmsg_impl.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/ksvnwidgets/logmsg_impl.cpp b/src/ksvnwidgets/logmsg_impl.cpp index 97d67b1..037a66f 100644 --- a/src/ksvnwidgets/logmsg_impl.cpp +++ b/src/ksvnwidgets/logmsg_impl.cpp @@ -40,7 +40,7 @@ #include <tqcheckbox.h> #include <tqlabel.h> #include <tqlistview.h> -#include <layout.h> +#include <tqlayout.h> #include <tqwidget.h> #include <tqpushbutton.h> #include <tqfile.h> @@ -224,7 +224,7 @@ void Logmsg_impl::initHistory() KConfigGroup cs(Kdesvnsettings::self()->config(),"log_messages"); TQString s = TQString(); unsigned int current = 0; - TQString key = TQString("log_%0").arg(current); + TQString key = TQString("log_%0").tqarg(current); s = cs.readEntry(key,TQString()); while (s!=TQString()) { if (current<smax_message_history) { @@ -233,7 +233,7 @@ void Logmsg_impl::initHistory() cs.deleteEntry(key); } ++current; - key = TQString("log_%0").arg(current); + key = TQString("log_%0").tqarg(current); s = cs.readEntry(key,TQString()); } } @@ -270,7 +270,7 @@ void Logmsg_impl::saveHistory(bool canceld) } KConfigGroup cs(Kdesvnsettings::self()->config(),"log_messages"); for (unsigned int i = 0; i < sLogHistory.size();++i) { - cs.writeEntry(TQString("log_%0").arg(i),sLogHistory[i]); + cs.writeEntry(TQString("log_%0").tqarg(i),sLogHistory[i]); } cs.sync(); } else { @@ -449,11 +449,11 @@ TQString Logmsg_impl::getLogmessage(const logActionEntries&_on, void Logmsg_impl::addItemWidget(TQWidget*aWidget) { m_DepthSelector->addItemWidget(aWidget); -/* aWidget->reparent(this,geometry().topLeft()); +/* aWidget->reparent(this,tqgeometry().topLeft()); m_ItemsLayout->addWidget(aWidget); - kdDebug()<<"SizeHint: "<<aWidget->minimumSizeHint()<< endl; - aWidget->setSizePolicy(TQSizePolicy::Fixed,TQSizePolicy::Fixed); - setMinimumHeight(minimumSizeHint().height());*/ + kdDebug()<<"SizeHint: "<<aWidget->tqminimumSizeHint()<< endl; + aWidget->tqsetSizePolicy(TQSizePolicy::Fixed,TQSizePolicy::Fixed); + setMinimumHeight(tqminimumSizeHint().height());*/ } Logmsg_impl::logActionEntries Logmsg_impl::selectedEntries() |