diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-07-24 10:46:19 -0500 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-07-24 10:46:19 -0500 |
commit | 17b1e7850279ce936e0d090c9381d6167a7d548b (patch) | |
tree | 0308db06214336a071b7a3e1abf346684b055b70 /src/mplayerthumbsconfig/mplayerthumbscfg.cpp | |
parent | c53429a6968563f72f8b334486d6dd1f0de75ecb (diff) | |
download | mplayerthumbs-17b1e7850279ce936e0d090c9381d6167a7d548b.tar.gz mplayerthumbs-17b1e7850279ce936e0d090c9381d6167a7d548b.zip |
Convert to TDE R14 API
Diffstat (limited to 'src/mplayerthumbsconfig/mplayerthumbscfg.cpp')
-rw-r--r-- | src/mplayerthumbsconfig/mplayerthumbscfg.cpp | 18 |
1 files changed, 9 insertions, 9 deletions
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 <qvbox.h> +#include <ntqvbox.h> #include <klineedit.h> #include <kpushbutton.h> -#include <qlabel.h> +#include <ntqlabel.h> #include <klocale.h> #include <kstandarddirs.h> #include <kdebug.h> -#include <qtimer.h> +#include <ntqtimer.h> #include <keditlistbox.h> -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 ); |