From bb7be2361770a435b3e2e8ae2ac4250bf9810bb4 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Thu, 15 Dec 2011 15:34:08 -0600 Subject: Rename a number of old tq methods that are no longer tq specific --- src/svnfrontend/fronthelpers/checkoutinfo.ui | 10 +++++----- src/svnfrontend/fronthelpers/cursorstack.h | 2 +- src/svnfrontend/fronthelpers/propertylist.cpp | 2 +- src/svnfrontend/fronthelpers/rangeinput_impl.cpp | 10 +++++----- 4 files changed, 12 insertions(+), 12 deletions(-) (limited to 'src/svnfrontend/fronthelpers') diff --git a/src/svnfrontend/fronthelpers/checkoutinfo.ui b/src/svnfrontend/fronthelpers/checkoutinfo.ui index 048711e..ee7f673 100644 --- a/src/svnfrontend/fronthelpers/checkoutinfo.ui +++ b/src/svnfrontend/fronthelpers/checkoutinfo.ui @@ -21,7 +21,7 @@ - tqlayout2 + layout2 @@ -64,7 +64,7 @@ Enter URL: - + AlignVCenter|AlignRight @@ -96,7 +96,7 @@ - tqlayout2 + layout2 @@ -134,7 +134,7 @@ - tqlayout4 + layout4 @@ -144,7 +144,7 @@ m_DepthSelector - + 20 20 diff --git a/src/svnfrontend/fronthelpers/cursorstack.h b/src/svnfrontend/fronthelpers/cursorstack.h index 4daf061..cadad9b 100644 --- a/src/svnfrontend/fronthelpers/cursorstack.h +++ b/src/svnfrontend/fronthelpers/cursorstack.h @@ -39,7 +39,7 @@ public: * Create instance and changes the application cursor to \a c * \param c cursortype to set. */ - CursorStack(TQt::tqCursorShape c = TQt::WaitCursor) + CursorStack(TQt::CursorShape c = TQt::WaitCursor) { KApplication::setOverrideCursor(TQCursor(c)); } diff --git a/src/svnfrontend/fronthelpers/propertylist.cpp b/src/svnfrontend/fronthelpers/propertylist.cpp index 1b9a2d2..7dd0d9d 100644 --- a/src/svnfrontend/fronthelpers/propertylist.cpp +++ b/src/svnfrontend/fronthelpers/propertylist.cpp @@ -71,7 +71,7 @@ void Propertylist::displayList(const svn::PathPropertiesMapListPtr&propList,bool } } viewport()->setUpdatesEnabled(true); - viewport()->tqrepaint(); + viewport()->repaint(); } void Propertylist::clear() diff --git a/src/svnfrontend/fronthelpers/rangeinput_impl.cpp b/src/svnfrontend/fronthelpers/rangeinput_impl.cpp index e21eaca..1cd37f6 100644 --- a/src/svnfrontend/fronthelpers/rangeinput_impl.cpp +++ b/src/svnfrontend/fronthelpers/rangeinput_impl.cpp @@ -21,7 +21,7 @@ #include "helpers/sub2qt.h" #include -#include +#include #include #include #include @@ -36,8 +36,8 @@ Rangeinput_impl::Rangeinput_impl(TQWidget *parent, const char *name) m_endRevInput->setRange(0,INT_MAX,1,false); m_startRevInput->setValue(1); m_endRevInput->setValue(1); - m_startDateInput->setDateTime(TQDateTime::tqcurrentDateTime ()); - m_stopDateInput->setDateTime(TQDateTime::tqcurrentDateTime ()); + m_startDateInput->setDateTime(TQDateTime::currentDateTime ()); + m_stopDateInput->setDateTime(TQDateTime::currentDateTime ()); m_stopDateInput->setEnabled(false); m_startDateInput->setEnabled(false); m_stopHeadButton->setChecked(true); @@ -186,8 +186,8 @@ void Rangeinput_impl::setStartOnly(bool theValue) m_startRevBox->setTitle(i18n( "Start with revision" )); } updateGeometry(); - setMinimumSize(tqminimumSizeHint()); - resize( TQSize(397, 272).expandedTo(tqminimumSizeHint()) ); + setMinimumSize(minimumSizeHint()); + resize( TQSize(397, 272).expandedTo(minimumSizeHint()) ); } #include "rangeinput_impl.moc" -- cgit v1.2.3