From 17b1e7850279ce936e0d090c9381d6167a7d548b Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Wed, 24 Jul 2013 10:46:19 -0500 Subject: Convert to TDE R14 API --- src/mplayerthumbsconfig/mplayerthumbscfg.cpp | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'src/mplayerthumbsconfig/mplayerthumbscfg.cpp') diff --git a/src/mplayerthumbsconfig/mplayerthumbscfg.cpp b/src/mplayerthumbsconfig/mplayerthumbscfg.cpp index f1fc24a..56bea69 100644 --- a/src/mplayerthumbsconfig/mplayerthumbscfg.cpp +++ b/src/mplayerthumbsconfig/mplayerthumbscfg.cpp @@ -19,31 +19,31 @@ ***************************************************************************/ #include "mplayerthumbscfg.h" -#include +#include #include #include -#include +#include #include #include #include -#include +#include #include -MPlayerThumbsConfig::MPlayerThumbsConfig(QWidget *parent, const char *name, MPlayerThumbsCfg *config, DialogType dialogType, int dialogButtons, ButtonCode defaultButton, bool modal) +MPlayerThumbsConfig::MPlayerThumbsConfig(TQWidget *parent, const char *name, MPlayerThumbsCfg *config, DialogType dialogType, int dialogButtons, ButtonCode defaultButton, bool modal) : KConfigDialog(parent, name, config, dialogType, dialogButtons, defaultButton, modal) { - QVBox *vbox=new QVBox(0); + TQVBox *vbox=new TQVBox(0); vbox->setSpacing( 5); - new QLabel(i18n("Enter here the path for mplayer executable file."), vbox); + new TQLabel(i18n("Enter here the path for mplayer executable file."), vbox); kcfg_mplayerbin=new KLineEdit( vbox, "kcfg_mplayerbin"); - new QLabel(i18n("Custom arguments for mplayer."), vbox); + new TQLabel(i18n("Custom arguments for mplayer."), vbox); new KLineEdit( vbox, "kcfg_customargs"); new KEditListBox( i18n("Blacklisted File Extensions"), vbox, "kcfg_noextensions", true, KEditListBox::Add | KEditListBox::Remove); addPage( vbox, i18n("General"), "mplayer" ); kdDebug() << "config->mplayerbin().isNull()::" << config->mplayerbin().length() << endl; if(!config->mplayerbin().length() ) - QTimer::singleShot( 100, this, SLOT(autoFindPath())); + TQTimer::singleShot( 100, this, SLOT(autoFindPath())); } MPlayerThumbsConfig::~MPlayerThumbsConfig() @@ -58,7 +58,7 @@ MPlayerThumbsConfig::~MPlayerThumbsConfig() */ void MPlayerThumbsConfig::autoFindPath() { - QString playerPath=KStandardDirs::findExe("mplayer-bin"); + TQString playerPath=KStandardDirs::findExe("mplayer-bin"); if(playerPath.isNull() ) playerPath=KStandardDirs::findExe("mplayer"); kdDebug() << "Trying to set player path to " << playerPath << endl; kcfg_mplayerbin->setText( playerPath ); -- cgit v1.2.1