summaryrefslogtreecommitdiffstats
path: root/tdeui/kmainwindow.h
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-18 18:32:40 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-18 18:32:40 -0600
commit984c25aa6969e55896e9a13c8e7f7b8a58991a4e (patch)
tree3653d4ee49b0adf405ff17e0ecdc99bc6f10c1bf /tdeui/kmainwindow.h
parent56160bf4dfe503631ef6373367b281f081bab2b4 (diff)
downloadtdelibs-984c25aa6969e55896e9a13c8e7f7b8a58991a4e.tar.gz
tdelibs-984c25aa6969e55896e9a13c8e7f7b8a58991a4e.zip
Rename old tq methods that no longer need a unique name
Diffstat (limited to 'tdeui/kmainwindow.h')
-rw-r--r--tdeui/kmainwindow.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/tdeui/kmainwindow.h b/tdeui/kmainwindow.h
index 8fb99fb2e..8aba596f1 100644
--- a/tdeui/kmainwindow.h
+++ b/tdeui/kmainwindow.h
@@ -455,7 +455,7 @@ public:
* "virtual TQSize sizeHint() const;" to specify a default size rather
* than letting TQWidget::adjust use the default size of 0x0.
*/
- void setAutoSaveSettings( const TQString & groupName = TQString::tqfromLatin1("MainWindow"),
+ void setAutoSaveSettings( const TQString & groupName = TQString::fromLatin1("MainWindow"),
bool saveWindowSize = true );
/**
@@ -1036,7 +1036,7 @@ template <typename T>
inline void kRestoreMainWindows() {
for ( int n = 1 ; KMainWindow::canBeRestored( n ) ; ++n ) {
const TQString className = KMainWindow::classNameOfToplevel( n );
- if ( className == TQString::tqfromLatin1( T::staticMetaObject()->className() ) )
+ if ( className == TQString::fromLatin1( T::staticMetaObject()->className() ) )
(new T)->restore( n );
}
}
@@ -1048,9 +1048,9 @@ inline void kRestoreMainWindows() {
classNames[1] = T1::staticMetaObject()->className();
for ( int n = 1 ; KMainWindow::canBeRestored( n ) ; ++n ) {
const TQString className = KMainWindow::classNameOfToplevel( n );
- if ( className == TQString::tqfromLatin1( classNames[0] ) )
+ if ( className == TQString::fromLatin1( classNames[0] ) )
(new T0)->restore( n );
- else if ( className == TQString::tqfromLatin1( classNames[1] ) )
+ else if ( className == TQString::fromLatin1( classNames[1] ) )
(new T1)->restore( n );
}
}
@@ -1063,11 +1063,11 @@ inline void kRestoreMainWindows() {
classNames[2] = T2::staticMetaObject()->className();
for ( int n = 1 ; KMainWindow::canBeRestored( n ) ; ++n ) {
const TQString className = KMainWindow::classNameOfToplevel( n );
- if ( className == TQString::tqfromLatin1( classNames[0] ) )
+ if ( className == TQString::fromLatin1( classNames[0] ) )
(new T0)->restore( n );
- else if ( className == TQString::tqfromLatin1( classNames[1] ) )
+ else if ( className == TQString::fromLatin1( classNames[1] ) )
(new T1)->restore( n );
- else if ( className == TQString::tqfromLatin1( classNames[2] ) )
+ else if ( className == TQString::fromLatin1( classNames[2] ) )
(new T2)->restore( n );
}
}