diff options
Diffstat (limited to 'kscreensaver/kpartsaver')
-rw-r--r-- | kscreensaver/kpartsaver/configwidget.ui | 40 | ||||
-rw-r--r-- | kscreensaver/kpartsaver/kpartsaver.cpp | 8 | ||||
-rw-r--r-- | kscreensaver/kpartsaver/kpartsaver.h | 2 |
3 files changed, 26 insertions, 24 deletions
diff --git a/kscreensaver/kpartsaver/configwidget.ui b/kscreensaver/kpartsaver/configwidget.ui index ddcf2247..816784b6 100644 --- a/kscreensaver/kpartsaver/configwidget.ui +++ b/kscreensaver/kpartsaver/configwidget.ui @@ -1,7 +1,7 @@ <!DOCTYPE UI><UI version="3.0" stdsetdef="1"> <class>ConfigWidget</class> <author>Stefan Schimanski <1Stein@gmx.de></author> -<widget class="QDialog"> +<widget class="TQDialog"> <property name="name"> <cstring>ConfigWidget</cstring> </property> @@ -26,7 +26,7 @@ <property name="spacing"> <number>6</number> </property> - <widget class="QGroupBox"> + <widget class="TQGroupBox"> <property name="name"> <cstring>GroupBox1</cstring> </property> @@ -43,12 +43,12 @@ <property name="spacing"> <number>6</number> </property> - <widget class="QListBox" row="0" column="0" rowspan="2" colspan="1"> + <widget class="TQListBox" row="0" column="0" rowspan="2" colspan="1"> <property name="name"> <cstring>m_files</cstring> </property> </widget> - <widget class="QLayoutWidget" row="0" column="1"> + <widget class="TQLayoutWidget" row="0" column="1"> <property name="name"> <cstring>Layout2</cstring> </property> @@ -62,7 +62,7 @@ <property name="spacing"> <number>6</number> </property> - <widget class="QPushButton" row="2" column="1"> + <widget class="TQPushButton" row="2" column="1"> <property name="name"> <cstring>m_down</cstring> </property> @@ -73,7 +73,7 @@ <string>&Down</string> </property> </widget> - <widget class="QPushButton" row="2" column="0"> + <widget class="TQPushButton" row="2" column="0"> <property name="name"> <cstring>m_up</cstring> </property> @@ -84,7 +84,7 @@ <string>&Up</string> </property> </widget> - <widget class="QPushButton" row="0" column="0" rowspan="1" colspan="2"> + <widget class="TQPushButton" row="0" column="0" rowspan="1" colspan="2"> <property name="name"> <cstring>m_add</cstring> </property> @@ -92,7 +92,7 @@ <string>&Add...</string> </property> </widget> - <widget class="QPushButton" row="1" column="0" rowspan="1" colspan="2"> + <widget class="TQPushButton" row="1" column="0" rowspan="1" colspan="2"> <property name="name"> <cstring>m_remove</cstring> </property> @@ -118,7 +118,7 @@ </spacer> </grid> </widget> - <widget class="QButtonGroup"> + <widget class="TQButtonGroup"> <property name="name"> <cstring>ButtonGroup1</cstring> </property> @@ -135,7 +135,7 @@ <property name="spacing"> <number>6</number> </property> - <widget class="QRadioButton" row="0" column="0" rowspan="1" colspan="2"> + <widget class="TQRadioButton" row="0" column="0" rowspan="1" colspan="2"> <property name="name"> <cstring>m_single</cstring> </property> @@ -153,14 +153,14 @@ <property name="sizeType"> <enum>Fixed</enum> </property> - <property name="sizeHint"> + <property name="tqsizeHint"> <size> <width>20</width> <height>21</height> </size> </property> </spacer> - <widget class="QRadioButton" row="1" column="0" rowspan="1" colspan="2"> + <widget class="TQRadioButton" row="1" column="0" rowspan="1" colspan="2"> <property name="name"> <cstring>m_multiple</cstring> </property> @@ -168,7 +168,7 @@ <string>Switch to another medium after a delay</string> </property> </widget> - <widget class="QLayoutWidget" row="2" column="1"> + <widget class="TQLayoutWidget" row="2" column="1"> <property name="name"> <cstring>Layout4</cstring> </property> @@ -182,7 +182,7 @@ <property name="spacing"> <number>6</number> </property> - <widget class="QLabel" row="0" column="0"> + <widget class="TQLabel" row="0" column="0"> <property name="name"> <cstring>m_delayLabel</cstring> </property> @@ -193,7 +193,7 @@ <string>Delay:</string> </property> </widget> - <widget class="QSpinBox" row="0" column="1"> + <widget class="TQSpinBox" row="0" column="1"> <property name="name"> <cstring>m_delay</cstring> </property> @@ -201,7 +201,7 @@ <bool>false</bool> </property> </widget> - <widget class="QCheckBox" row="1" column="0" rowspan="1" colspan="3"> + <widget class="TQCheckBox" row="1" column="0" rowspan="1" colspan="3"> <property name="name"> <cstring>m_random</cstring> </property> @@ -212,7 +212,7 @@ <string>Choose next medium randomly</string> </property> </widget> - <widget class="QLabel" row="0" column="2"> + <widget class="TQLabel" row="0" column="2"> <property name="name"> <cstring>m_secondsLabel</cstring> </property> @@ -238,7 +238,7 @@ </spacer> </grid> </widget> - <widget class="QLayoutWidget"> + <widget class="TQLayoutWidget"> <property name="name"> <cstring>Layout1</cstring> </property> @@ -263,7 +263,7 @@ <enum>Expanding</enum> </property> </spacer> - <widget class="QPushButton"> + <widget class="TQPushButton"> <property name="name"> <cstring>m_ok</cstring> </property> @@ -277,7 +277,7 @@ <bool>true</bool> </property> </widget> - <widget class="QPushButton"> + <widget class="TQPushButton"> <property name="name"> <cstring>m_cancel</cstring> </property> diff --git a/kscreensaver/kpartsaver/kpartsaver.cpp b/kscreensaver/kpartsaver/kpartsaver.cpp index e1699e73..84050b3e 100644 --- a/kscreensaver/kpartsaver/kpartsaver.cpp +++ b/kscreensaver/kpartsaver/kpartsaver.cpp @@ -123,7 +123,7 @@ KPartSaver::KPartSaver( WId id ) // create background widget m_back = new TQLabel( i18n("The screen saver is not configured yet."), this ); - m_back->setAlignment( AlignCenter ); + m_back->tqsetAlignment( AlignCenter ); embed( m_back ); m_back->show(); @@ -187,7 +187,7 @@ bool KPartSaver::openURL( KURL url ) } // create kpart - m_part = (KParts::ReadOnlyPart *)factory->create( this, "kpart", "KParts::ReadOnlyPart" ); + m_part = (KParts::ReadOnlyPart *)factory->create( TQT_TQOBJECT(this), "kpart", "KParts::ReadOnlyPart" ); if( !m_part ) { kdDebug() << "Part for " << url.url() << " can't be constructed" << endl; return false; @@ -257,7 +257,7 @@ void KPartSaver::next( bool random ) // create background widget m_back = new TQLabel( i18n("All of your files are unsupported"), this ); - m_back->setAlignment( AlignCenter ); + m_back->tqsetAlignment( AlignCenter ); embed( m_back ); m_back->show(); @@ -337,7 +337,7 @@ void SaverConfig::apply() void SaverConfig::add() { - KURL::List files = KFileDialog::getOpenURLs( TQString::null, TQString::null, + KURL::List files = KFileDialog::getOpenURLs( TQString(), TQString(), this, i18n("Select Media Files") ); for( unsigned int n=0; n<files.count(); n++ ) m_files->insertItem( files[n].prettyURL(), -1 ); diff --git a/kscreensaver/kpartsaver/kpartsaver.h b/kscreensaver/kpartsaver/kpartsaver.h index 40e9c342..e23dedff 100644 --- a/kscreensaver/kpartsaver/kpartsaver.h +++ b/kscreensaver/kpartsaver/kpartsaver.h @@ -50,6 +50,7 @@ class SaverConfig : public ConfigWidget { Q_OBJECT + TQ_OBJECT public: SaverConfig( TQWidget* parent = 0, const char* name = 0 ); @@ -67,6 +68,7 @@ Q_OBJECT class KPartSaver : public KScreenSaver { Q_OBJECT + TQ_OBJECT public: KPartSaver( WId id=0 ); |