diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-30 06:10:56 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-30 06:10:56 +0000 |
commit | 769e63d24adf5c844137484f06a972fcce732d6a (patch) | |
tree | 5185797dcb3ff4b1b3cb71d367123bf89eb2410f /src/main.cpp | |
parent | 0a8af92185eac74d48da1225e6053a0d66c078f5 (diff) | |
download | kmplayer-769e63d24adf5c844137484f06a972fcce732d6a.tar.gz kmplayer-769e63d24adf5c844137484f06a972fcce732d6a.zip |
TQt4 port kmplayer
This enables compilation under both Qt3 and Qt4
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/kmplayer@1238840 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src/main.cpp')
-rw-r--r-- | src/main.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/main.cpp b/src/main.cpp index c10df5b..ab5b033 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -23,8 +23,8 @@ email : #include <kdemacros.h> #include <dcopclient.h> -#include <qguardedptr.h> -#include <qfileinfo.h> +#include <tqguardedptr.h> +#include <tqfileinfo.h> #include "kmplayer.h" @@ -54,7 +54,7 @@ extern "C" { KMPlayer::StringPool::init(); KApplication app; - QGuardedPtr <KMPlayerApp> kmplayer; + TQGuardedPtr <KMPlayerApp> kmplayer; if (app.isRestored ()) { RESTORE (KMPlayerApp); @@ -70,8 +70,8 @@ extern "C" { if (args->count () > 1) for (int i = 0; i < args->count (); i++) { KURL url = args->url (i); - if (url.url ().find ("://") < 0) - url = KURL (QFileInfo (url.url ()).absFilePath ()); + if (url.url ().tqfind ("://") < 0) + url = KURL (TQFileInfo (url.url ()).absFilePath ()); if (url.isValid ()) kmplayer->addURL (url); } |