diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-18 18:30:46 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-18 18:30:46 -0600 |
commit | 999f961ff5278b84c8ffd8a91addb9343e589cf0 (patch) | |
tree | ed392c698357e3037e6d9f5f40a33797b72e6129 /khangman | |
parent | 2d7b541a4e0095d40e37aaefbf9c4a9b9d149302 (diff) | |
download | tdeedu-999f961ff5278b84c8ffd8a91addb9343e589cf0.tar.gz tdeedu-999f961ff5278b84c8ffd8a91addb9343e589cf0.zip |
Rename old tq methods that no longer need a unique name
Diffstat (limited to 'khangman')
-rw-r--r-- | khangman/khangman/khangman.cpp | 2 | ||||
-rw-r--r-- | khangman/khangman/khangmanview.cpp | 6 | ||||
-rw-r--r-- | khangman/khangman/timerdlg.ui | 8 |
3 files changed, 8 insertions, 8 deletions
diff --git a/khangman/khangman/khangman.cpp b/khangman/khangman/khangman.cpp index 116d880b..e8527c77 100644 --- a/khangman/khangman/khangman.cpp +++ b/khangman/khangman/khangman.cpp @@ -228,7 +228,7 @@ void KHangMan::setLanguages() for (uint i=0; i<m_languages.count(); i++) { TQString tmp = m_languages[i]; if (!config->readEntry(tmp)) - config->writeEntry(tmp, TQString(TQDate::tqcurrentDate().toString(Qt::ISODate))); + config->writeEntry(tmp, TQString(TQDate::currentDate().toString(Qt::ISODate))); } // We look in $TDEDIR/share/locale/all_languages from diff --git a/khangman/khangman/khangmanview.cpp b/khangman/khangman/khangmanview.cpp index e3a646cf..0a7960a5 100644 --- a/khangman/khangman/khangmanview.cpp +++ b/khangman/khangman/khangmanview.cpp @@ -48,16 +48,16 @@ KHangManView::KHangManView(KHangMan*parent, const char *name) // The widget for entering letters. m_letterInput = new KLineEdit( this, "charWrite" ); - m_letterInput->tqsetSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType) 1, + m_letterInput->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType) 1, (TQSizePolicy::SizeType) 0, 0, 0, m_letterInput->sizePolicy().hasHeightForWidth() ) ); m_letterInput->setMaxLength( 1 ); - m_letterInput->tqsetAlignment( int( TQLineEdit::AlignHCenter ) ); + m_letterInput->setAlignment( int( TQLineEdit::AlignHCenter ) ); // Press this button to enter a letter (or press enter) m_guessButton = new KPushButton( this, "guessButton" ); - m_guessButton->tqsetSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType) 1, + m_guessButton->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType) 1, (TQSizePolicy::SizeType) 0, 0, 0, m_guessButton->sizePolicy().hasHeightForWidth() ) ); diff --git a/khangman/khangman/timerdlg.ui b/khangman/khangman/timerdlg.ui index dbd09dd7..e296c955 100644 --- a/khangman/khangman/timerdlg.ui +++ b/khangman/khangman/timerdlg.ui @@ -77,7 +77,7 @@ <property name="sizeType"> <enum>Expanding</enum> </property> - <property name="tqsizeHint"> + <property name="sizeHint"> <size> <width>295</width> <height>20</height> @@ -94,7 +94,7 @@ <property name="sizeType"> <enum>Expanding</enum> </property> - <property name="tqsizeHint"> + <property name="sizeHint"> <size> <width>25</width> <height>16</height> @@ -191,7 +191,7 @@ <property name="sizeType"> <enum>Expanding</enum> </property> - <property name="tqsizeHint"> + <property name="sizeHint"> <size> <width>25</width> <height>16</height> @@ -208,7 +208,7 @@ <property name="sizeType"> <enum>Expanding</enum> </property> - <property name="tqsizeHint"> + <property name="sizeHint"> <size> <width>295</width> <height>20</height> |