diff --git a/amarok/src/Options1.ui b/amarok/src/Options1.ui index 5fa3f3bf..b8d48942 100644 --- a/amarok/src/Options1.ui +++ b/amarok/src/Options1.ui @@ -1,10 +1,10 @@ Options1 - + General - + 0 0 @@ -30,7 +30,7 @@ 0 - + generalBox @@ -44,7 +44,7 @@ unnamed - + kcfg_ShowSplashscreen @@ -58,7 +58,7 @@ Check to enable the splashscreen during Amarok startup. - + kcfg_ShowTrayIcon @@ -72,9 +72,9 @@ Check to enable the Amarok system tray icon. - + - layout5 + tqlayout5 @@ -90,14 +90,14 @@ Fixed - + 16 21 - + kcfg_AnimateTrayIcon @@ -116,7 +116,7 @@ - + kcfg_ShowPlayerWindow @@ -130,15 +130,15 @@ Check to enable an extra player window. - + - layout4 + tqlayout4 unnamed - + textLabel1 @@ -155,7 +155,7 @@ Size of the cover image in the context viewer in pixels. - + kcfg_CoverPreviewSize @@ -188,7 +188,7 @@ Expanding - + 30 20 @@ -197,19 +197,19 @@ - + - layout7 + tqlayout7 unnamed - + textLabel1_2 - + 150 0 @@ -234,7 +234,7 @@ 0 - + 150 0 @@ -254,7 +254,7 @@ Expanding - + 50 21 @@ -263,22 +263,22 @@ - + - layout8 + tqlayout8 unnamed - + checkBox_customBrowser true - + 150 0 @@ -303,7 +303,7 @@ 0 - + 150 0 @@ -323,7 +323,7 @@ Expanding - + 50 21 @@ -334,7 +334,7 @@ - + componentsBox @@ -348,7 +348,7 @@ unnamed - + kcfg_UseScores @@ -362,7 +362,7 @@ Scores for tracks are calculated automatically, based on your listening habits. - + kcfg_UseRatings @@ -395,7 +395,7 @@ You need the <a href='http://amarok.kde.org/wiki/Moodbar'>moodbar package</a> installed to enable the moodbar feature. - + moodFrame @@ -421,7 +421,7 @@ 0 - + kcfg_ShowMoodbar @@ -441,9 +441,9 @@ Displays a visual representation of the current track in the slider bar of the player window and a column in the playlist window. - + - layout8_2_2 + tqlayout8_2_2 @@ -459,14 +459,14 @@ Fixed - + 16 21 - + kcfg_MakeMoodier @@ -483,7 +483,7 @@ When enabled, the hue distribution is quantised and respread evenly, giving a prettier but less meaningful output. - + Happy Like a Rainbow @@ -516,7 +516,7 @@ Expanding - + 130 20 @@ -525,9 +525,9 @@ - + - layout7_2_2 + tqlayout7_2_2 @@ -543,14 +543,14 @@ Fixed - + 16 21 - + kcfg_MoodsWithMusic @@ -573,7 +573,7 @@ - + groupBox2 @@ -587,7 +587,7 @@ unnamed - + kcfg_SavePlaylist @@ -601,7 +601,7 @@ If checked, Amarok saves the current playlist on quit and restores it when restarted. - + kcfg_RelativePlaylist @@ -615,7 +615,7 @@ If checked, Amarok uses a relative path for the tracks of manually saved playlists - + kcfg_AutoShowContextBrowser @@ -641,7 +641,7 @@ Expanding - + 20 30 @@ -685,13 +685,13 @@ Options1.ui.h - + slotUpdateMoodFrame() - + init() - + kcombobox.h klineedit.h diff --git a/amarok/src/Options1.ui.h b/amarok/src/Options1.ui.h index ec21b172..e4f8e723 100644 --- a/amarok/src/Options1.ui.h +++ b/amarok/src/Options1.ui.h @@ -3,7 +3,7 @@ ** ui.h extension file, included from the uic-generated form implementation. ** ** If you want to add, delete, or rename functions or slots, use -** Qt Designer to update this file, preserving your code. +** TQt Designer to update this file, preserving your code. ** ** You should not define a constructor or destructor in this file. ** Instead, write your code in functions called init() and destroy(). @@ -37,11 +37,11 @@ void Options1::init() else ++it; } -#ifdef Q_WS_MAC - if ( KStandardDirs::findExe( "open" ) != TQString::null ) +#ifdef TQ_WS_MAC + if ( KStandardDirs::findExe( "open" ) != TQString() ) browsers.prepend( i18n( "Default Browser" ) ); #else - if ( KStandardDirs::findExe( "kfmclient" ) != TQString::null ) + if ( KStandardDirs::findExe( "kfmclient" ) != TQString() ) browsers.prepend( i18n( "Default KDE Browser" ) ); #endif @@ -51,7 +51,7 @@ void Options1::init() if( index >= 0 ) kComboBox_browser->setCurrentItem( index ); else if( AmarokConfig::externalBrowser() == -#ifdef Q_WS_MAC +#ifdef TQ_WS_MAC "open" #else "kfmclient openURL" diff --git a/amarok/src/Options2.ui b/amarok/src/Options2.ui index 71f2a31e..bb21ca0f 100644 --- a/amarok/src/Options2.ui +++ b/amarok/src/Options2.ui @@ -1,10 +1,10 @@ Options2 - + Options2 - + 0 0 @@ -27,7 +27,7 @@ 0 - + groupBox6 @@ -38,7 +38,7 @@ unnamed - + kcfg_UseCustomIconTheme @@ -54,7 +54,7 @@ - + groupBox4 @@ -65,7 +65,7 @@ unnamed - + kcfg_UseCustomFonts @@ -82,7 +82,7 @@ Check to enable custom fonts. - + fontGroupBox @@ -113,7 +113,7 @@ unnamed - + textLabel3 @@ -157,7 +157,7 @@ The font to use in the playlist window. - + textLabel1 @@ -172,7 +172,7 @@ Player Window: - + AlignVCenter @@ -182,7 +182,7 @@ The font to use in the player window. - + textLabel3_2 @@ -252,7 +252,7 @@ - + groupBox3 @@ -263,7 +263,7 @@ unnamed - + radioGroup @@ -280,9 +280,9 @@ 0 - + - layout2 + tqlayout2 @@ -291,7 +291,7 @@ 0 - + kcfg_SchemeCustom @@ -308,7 +308,7 @@ If selected, Amarok uses the user-defined colors in the playlist. - + customSchemeBox @@ -334,7 +334,7 @@ unnamed - + fgLabel @@ -349,7 +349,7 @@ 0 - + 0 0 @@ -400,7 +400,7 @@ Selects the color to use as foreground (text) color in the playlist. - + bgColor @@ -443,13 +443,13 @@ 0 - + 0 0 - + 192 32767 @@ -476,7 +476,7 @@ - + kcfg_SchemeKDE @@ -493,7 +493,7 @@ If selected, Amarok uses the KDE standard colors in the playlist. - + kcfg_SchemeAmarok @@ -526,15 +526,15 @@ Horizontal - + - layout5 + tqlayout5 unnamed - + textLabel1_3 @@ -563,7 +563,7 @@ - + contextGroupBox @@ -574,15 +574,15 @@ unnamed - + - layout6 + tqlayout6 unnamed - + textLabel1_2 @@ -614,15 +614,15 @@ - + - layout5 + tqlayout5 unnamed - + installPushButton @@ -636,7 +636,7 @@ Select and install a new Context Browser style. - + retrievePushButton @@ -660,14 +660,14 @@ Expanding - + 40 20 - + uninstallPushButton @@ -695,7 +695,7 @@ Expanding - + 20 30 @@ -745,17 +745,17 @@ Options2.ui.h - + installPushButton_clicked() retrievePushButton_clicked() uninstallPushButton_clicked() styleComboBox_activated( const QString & s ) updateStyleComboBox() - + init() - + kfontrequester.h kfontrequester.h diff --git a/amarok/src/Options2.ui.h b/amarok/src/Options2.ui.h index 5601daff..fe6d6e36 100644 --- a/amarok/src/Options2.ui.h +++ b/amarok/src/Options2.ui.h @@ -2,7 +2,7 @@ ** ui.h extension file, included from the uic-generated form implementation. ** ** If you want to add, delete, or rename functions or slots, use -** Qt Designer to update this file, preserving your code. +** TQt Designer to update this file, preserving your code. ** ** You should not define a constructor or destructor in this file. ** Instead, write your code in functions called init() and destroy(). @@ -41,8 +41,8 @@ class AmarokThemeNewStuff : public KNewStuff { public: - AmarokThemeNewStuff(const TQString &type, TQWidget *parentWidget=0) - : KNewStuff( type, parentWidget ) + AmarokThemeNewStuff(const TQString &type, TQWidget *tqparentWidget=0) + : KNewStuff( type, tqparentWidget ) {} bool install( const TQString& fileName ) @@ -80,7 +80,7 @@ void Options2::init() // This method is basically lifted from ScriptManager::slotInstallScript() void Options2::installPushButton_clicked() { - KFileDialog dia( TQString::null, "*.tar *.tar.bz2 *.tar.gz|" + i18n( "Style Packages (*.tar, *.tar.bz2, *.tar.gz)" ), 0, 0, true ); + KFileDialog dia( TQString(), "*.tar *.tar.bz2 *.tar.gz|" + i18n( "Style Packages (*.tar, *.tar.bz2, *.tar.gz)" ), 0, 0, true ); kapp->setTopWidget( &dia ); dia.setCaption( kapp->makeStdCaption( i18n( "Select Style Package" ) ) ); dia.setMode( KFile::File | KFile::ExistingOnly ); @@ -108,7 +108,7 @@ void Options2::retrievePushButton_clicked() // Delete KNewStuff's configuration entries. These entries reflect which styles // are already installed. As we cannot yet keep them in sync after uninstalling // styles, we deactivate the check marks entirely. - Amarok::config()->deleteGroup( "KNewStuffStatus" ); + Amarok::config()->deleteGroup( "KNewStufftqStatus" ); // we need this because KNewStuffGeneric's install function isn't clever enough AmarokThemeNewStuff *kns = new AmarokThemeNewStuff( "amarok/themes", this ); @@ -137,7 +137,7 @@ void Options2::uninstallPushButton_clicked() return; if( KMessageBox::warningContinueCancel( 0, - i18n( "

Are you sure you want to uninstall the theme %1?

" ).arg( name ), + i18n( "

Are you sure you want to uninstall the theme %1?

" ).tqarg( name ), i18n("Uninstall Theme"), i18n("Uninstall") ) == KMessageBox::Cancel ) return; @@ -152,7 +152,7 @@ void Options2::uninstallPushButton_clicked() if( !KIO::NetAccess::del( themeDir, 0 ) ) { KMessageBox::sorry( 0, i18n( "

Could not uninstall this theme.

" "

You may not have sufficient permissions to delete the folder %1

." - ).arg( themeDir.isLocalFile() ? themeDir.path() : themeDir.url() ) ); + ).tqarg( themeDir.isLocalFile() ? themeDir.path() : themeDir.url() ) ); return; } diff --git a/amarok/src/Options4.ui b/amarok/src/Options4.ui index f55eab85..b4ba9c3c 100644 --- a/amarok/src/Options4.ui +++ b/amarok/src/Options4.ui @@ -1,10 +1,10 @@ Options4 - + Options4 - + 0 0 @@ -24,7 +24,7 @@ unnamed - + opt_crossfade @@ -36,7 +36,7 @@ 0 - + 0 180 @@ -59,7 +59,7 @@ unnamed - + radioButtonNormalPlayback @@ -73,15 +73,15 @@ Enable normal track transition. You may insert a gap of silence between tracks. - + - layout11 + tqlayout11 unnamed - + trackDelayLengthLabel @@ -93,7 +93,7 @@ 0
- + 150 0 @@ -106,7 +106,7 @@ kcfg_TrackDelayLength
- + kcfg_TrackDelayLength @@ -118,7 +118,7 @@ 0
- + 160 0 @@ -142,7 +142,7 @@
- + kcfg_Crossfade @@ -156,23 +156,23 @@ Enable crossfading between tracks. - + - layout9 + tqlayout9 unnamed - + - layout7 + tqlayout7 unnamed - + crossfadeLengthLabel @@ -187,7 +187,7 @@ 0 - + 150 0 @@ -200,7 +200,7 @@ kcfg_CrossfadeLength - + crossfadeDropdownText @@ -215,7 +215,7 @@ 0 - + 150 0 @@ -230,15 +230,15 @@ - + - layout8 + tqlayout8 unnamed - + kcfg_CrossfadeLength @@ -253,7 +253,7 @@ 0 - + 50 0 @@ -278,7 +278,7 @@ The length of the crossfade between tracks, in milliseconds. - + Always @@ -308,7 +308,7 @@ 0 - + 50 0 @@ -338,7 +338,7 @@ Fixed - + 16 20 @@ -347,7 +347,7 @@ - + kcfg_FadeoutOnExit @@ -358,7 +358,7 @@ If checked, Amarok will fade out the music on program exit. - + kcfg_ResumePlayback @@ -379,14 +379,14 @@ Expanding - + 31 30 - + opt_crossfade_2 @@ -398,7 +398,7 @@ 0 - + 0 120 @@ -421,7 +421,7 @@ unnamed - + radioButtonNormalPlayback_2 @@ -445,30 +445,30 @@ Fixed - + 16 20 - + - layout9_2 + tqlayout9_2 unnamed - + - layout7_2 + tqlayout7_2 unnamed - + fadeoutLengthLabel @@ -483,7 +483,7 @@ 0 - + 150 0 @@ -498,15 +498,15 @@ - + - layout8_2 + tqlayout8_2 unnamed - + kcfg_FadeoutLength @@ -521,7 +521,7 @@ 0 - + 50 0 @@ -550,7 +550,7 @@ - + kcfg_Fadeout @@ -618,5 +618,5 @@ setEnabled(bool) - +
diff --git a/amarok/src/Options5.ui b/amarok/src/Options5.ui index 50c54cc8..5681e76e 100644 --- a/amarok/src/Options5.ui +++ b/amarok/src/Options5.ui @@ -1,10 +1,10 @@ Options5 - + Options5 - + 0 0 @@ -19,7 +19,7 @@ 0 - + kcfg_OsdEnabled @@ -36,9 +36,9 @@ Check to enable the On-Screen-Display. The OSD briefly displays track data when a new track is played. - + - layout2 + tqlayout2 @@ -54,14 +54,14 @@ Fixed - + 16 20 - + mainBox @@ -78,7 +78,7 @@ 0 - + fontBox @@ -119,7 +119,7 @@ The font to use for the On-Screen Display. - + kcfg_OsdDrawShadow @@ -129,7 +129,7 @@ - + groupBox9 @@ -140,9 +140,9 @@ unnamed - + - layout3 + tqlayout3 @@ -151,7 +151,7 @@ 2 - + kcfg_OsdUseCustomColors @@ -165,9 +165,9 @@ Check to enable custom colors for the On-Screen-Display. - + - layout1 + tqlayout1 @@ -183,14 +183,14 @@ Fixed - + 16 20 - + colorsBox @@ -213,7 +213,7 @@ 0 - + textLabel2_2 @@ -293,7 +293,7 @@ The color of the OSD background. - + textLabel2 @@ -318,7 +318,7 @@ - + kcfg_OsdUseFakeTranslucency @@ -328,7 +328,7 @@ - + osdText @@ -345,7 +345,7 @@ unnamed - + kcfg_OsdUsePlaylistColumns @@ -377,7 +377,7 @@ - + groupBox22 @@ -388,7 +388,7 @@ unnamed - + textLabel1 @@ -458,7 +458,7 @@ The screen that should display the OSD. - + textLabel2_3 @@ -504,26 +504,26 @@ - qapplication.h - qdesktopwidget.h + tqapplication.h + tqdesktopwidget.h osd.h OSDPreviewWidget *m_pOSDPreview; - + settingsChanged() - - + + slotPositionChanged() useCustomColorsToggled( bool on ) - + init() hideEvent( QHideEvent * ) showEvent( QShowEvent * ) - + ktextedit.h diff --git a/amarok/src/Options5.ui.h b/amarok/src/Options5.ui.h index 22e0a04e..0bda6b20 100644 --- a/amarok/src/Options5.ui.h +++ b/amarok/src/Options5.ui.h @@ -18,7 +18,7 @@ email : fh@ez.no ** ui.h extension file, included from the uic-generated form implementation. ** ** If you wish to add, delete or rename functions or slots use -** Qt Designer which will update this file, preserving your code. Create an +** TQt Designer which will update this file, preserving your code. Create an ** init() function in place of a constructor, and a destroy() function in ** place of a destructor. *****************************************************************************/ @@ -32,7 +32,7 @@ email : fh@ez.no void Options5::init() { m_pOSDPreview = new OSDPreviewWidget( this ); //must be child!!! - m_pOSDPreview->setAlignment( static_cast( AmarokConfig::osdAlignment() ) ); + m_pOSDPreview->tqsetAlignment( static_cast( AmarokConfig::osdAlignment() ) ); m_pOSDPreview->setOffset( AmarokConfig::osdYOffset() ); connect( m_pOSDPreview, TQT_SIGNAL( positionChanged() ), TQT_SLOT( slotPositionChanged() ) ); @@ -56,7 +56,7 @@ void Options5::init() connect( kcfg_OsdEnabled, TQT_SIGNAL( toggled(bool) ), m_pOSDPreview, TQT_SLOT( setShown(bool) ) ); - Amarok::QStringx text = i18n( + Amarok::TQStringx text = i18n( "

Tags Displayed in OSD

" "You can use the following tokens:" "