diff options
Diffstat (limited to 'src/mplayerthumbsconfig')
-rw-r--r-- | src/mplayerthumbsconfig/Makefile.am | 2 | ||||
-rw-r--r-- | src/mplayerthumbsconfig/main.cpp | 24 | ||||
-rw-r--r-- | src/mplayerthumbsconfig/mplayerthumbscfg.cpp | 8 | ||||
-rw-r--r-- | src/mplayerthumbsconfig/mplayerthumbscfg.h | 4 |
4 files changed, 19 insertions, 19 deletions
diff --git a/src/mplayerthumbsconfig/Makefile.am b/src/mplayerthumbsconfig/Makefile.am index 6534793..81f406c 100644 --- a/src/mplayerthumbsconfig/Makefile.am +++ b/src/mplayerthumbsconfig/Makefile.am @@ -8,4 +8,4 @@ bin_PROGRAMS = mplayerthumbsconfig mplayerthumbsconfig_LDFLAGS = $(KDE_RPATH) $(all_libraries) mplayerthumbsconfig_SOURCES = main.cpp mplayerthumbscfg.cpp noinst_HEADERS = mplayerthumbscfg.h -mplayerthumbsconfig_LDADD = $(top_builddir)/src/videopreview.la $(LIB_KDEUI) +mplayerthumbsconfig_LDADD = $(top_builddir)/src/videopreview.la $(LIB_TDEUI) diff --git a/src/mplayerthumbsconfig/main.cpp b/src/mplayerthumbsconfig/main.cpp index 2d1bc6f..051cf83 100644 --- a/src/mplayerthumbsconfig/main.cpp +++ b/src/mplayerthumbsconfig/main.cpp @@ -17,10 +17,10 @@ * Free Software Foundation, Inc., * * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * ***************************************************************************/ -#include <kapplication.h> -#include <kaboutdata.h> -#include <kcmdlineargs.h> -#include <klocale.h> +#include <tdeapplication.h> +#include <tdeaboutdata.h> +#include <tdecmdlineargs.h> +#include <tdelocale.h> #include "mplayerthumbscfg.h" #include "mplayerthumbs.h" @@ -30,20 +30,20 @@ static const char description[] = static const char version[] = "0.1"; -static KCmdLineOptions options[] = +static TDECmdLineOptions options[] = { // { "+[URL]", I18N_NOOP( "Document to open" ), 0 }, - KCmdLineLastOption + TDECmdLineLastOption }; int main(int argc, char **argv) { - KAboutData about("MPlayerThumbsConfig", I18N_NOOP("MPlayerThumbsConfig"), version, description, - KAboutData::License_GPL, "(C) 2006 Marco Gulino", 0, 0, "[email protected]"); + TDEAboutData about("MPlayerThumbsConfig", I18N_NOOP("MPlayerThumbsConfig"), version, description, + TDEAboutData::License_GPL, "(C) 2006 Marco Gulino", 0, 0, "[email protected]"); about.addAuthor( "Marco Gulino", 0, "[email protected]" ); - KCmdLineArgs::init(argc, argv, &about); - KCmdLineArgs::addCmdLineOptions( options ); - KApplication app; + TDECmdLineArgs::init(argc, argv, &about); + TDECmdLineArgs::addCmdLineOptions( options ); + TDEApplication app; MPlayerThumbsConfig *mainWin = 0; // if (app.isRestored()) @@ -53,7 +53,7 @@ int main(int argc, char **argv) // else // { // no session.. just start up normally - KCmdLineArgs *args = KCmdLineArgs::parsedArgs(); + TDECmdLineArgs *args = TDECmdLineArgs::parsedArgs(); /// @todo do something with the command line args here diff --git a/src/mplayerthumbsconfig/mplayerthumbscfg.cpp b/src/mplayerthumbsconfig/mplayerthumbscfg.cpp index 56bea69..afd2b82 100644 --- a/src/mplayerthumbsconfig/mplayerthumbscfg.cpp +++ b/src/mplayerthumbsconfig/mplayerthumbscfg.cpp @@ -23,14 +23,14 @@ #include <klineedit.h> #include <kpushbutton.h> #include <ntqlabel.h> -#include <klocale.h> +#include <tdelocale.h> #include <kstandarddirs.h> #include <kdebug.h> #include <ntqtimer.h> #include <keditlistbox.h> 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) + : TDEConfigDialog(parent, name, config, dialogType, dialogButtons, defaultButton, modal) { TQVBox *vbox=new TQVBox(0); vbox->setSpacing( 5); @@ -58,8 +58,8 @@ MPlayerThumbsConfig::~MPlayerThumbsConfig() */ void MPlayerThumbsConfig::autoFindPath() { - TQString playerPath=KStandardDirs::findExe("mplayer-bin"); - if(playerPath.isNull() ) playerPath=KStandardDirs::findExe("mplayer"); + TQString playerPath=TDEStandardDirs::findExe("mplayer-bin"); + if(playerPath.isNull() ) playerPath=TDEStandardDirs::findExe("mplayer"); kdDebug() << "Trying to set player path to " << playerPath << endl; kcfg_mplayerbin->setText( playerPath ); } diff --git a/src/mplayerthumbsconfig/mplayerthumbscfg.h b/src/mplayerthumbsconfig/mplayerthumbscfg.h index 92099ac..e762687 100644 --- a/src/mplayerthumbsconfig/mplayerthumbscfg.h +++ b/src/mplayerthumbsconfig/mplayerthumbscfg.h @@ -19,11 +19,11 @@ ***************************************************************************/ #ifndef _MPLAYERTHUMBSCONFIG_ #define _MPLAYERTHUMBSCONFIG_ -#include <kconfigdialog.h> +#include <tdeconfigdialog.h> #include "mplayerthumbs.h" class KLineEdit; -class MPlayerThumbsConfig : public KConfigDialog +class MPlayerThumbsConfig : public TDEConfigDialog { Q_OBJECT public: |