diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/mplayerthumbs.cpp | 2 | ||||
-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 | ||||
-rw-r--r-- | src/videopreview.cpp | 4 | ||||
-rw-r--r-- | src/videopreview.desktop | 2 | ||||
-rw-r--r-- | src/videopreview.h | 2 |
8 files changed, 24 insertions, 24 deletions
diff --git a/src/mplayerthumbs.cpp b/src/mplayerthumbs.cpp index 7ceeb86..a183e83 100644 --- a/src/mplayerthumbs.cpp +++ b/src/mplayerthumbs.cpp @@ -1,4 +1,4 @@ -// This file is generated by kconfig_compiler from mplayerthumbs.kcfg. +// This file is generated by tdeconfig_compiler from mplayerthumbs.kcfg. // All changes you do to this file will be lost. #include "mplayerthumbs.h" 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: diff --git a/src/videopreview.cpp b/src/videopreview.cpp index 26e9055..6a9c2ad 100644 --- a/src/videopreview.cpp +++ b/src/videopreview.cpp @@ -85,8 +85,8 @@ bool VideoPreview::create(const TQString &path, int width, int height, TQImage & if(playerBin.length()) kdDebug() << "videopreview: found playerbin from config: " << playerBin << endl; else { - playerBin=KStandardDirs::findExe("mplayer-bin"); - if(!playerBin.length()) playerBin=KStandardDirs::findExe("mplayer"); + playerBin=TDEStandardDirs::findExe("mplayer-bin"); + if(!playerBin.length()) playerBin=TDEStandardDirs::findExe("mplayer"); if(!playerBin.length()) { kdDebug() << "videopreview: mplayer not found, exiting. Run mplayerthumbsconfig to setup mplayer path manually.\n"; diff --git a/src/videopreview.desktop b/src/videopreview.desktop index b423473..10ec964 100644 --- a/src/videopreview.desktop +++ b/src/videopreview.desktop @@ -58,4 +58,4 @@ ServiceTypes=ThumbCreator CacheThumbnail=true IgnoreMaximumSize=true MimeTypes=video/*,application/vnd.ms-asf,application/vnd.rn-realmedia -X-KDE-Library=videopreview
\ No newline at end of file +X-TDE-Library=videopreview
\ No newline at end of file diff --git a/src/videopreview.h b/src/videopreview.h index 6adcf2d..78f5b74 100644 --- a/src/videopreview.h +++ b/src/videopreview.h @@ -25,7 +25,7 @@ #include <ntqcstring.h> #include <ntqpixmap.h> -#include <kio/thumbcreator.h> +#include <tdeio/thumbcreator.h> class TQProcess; class TQCString; |