diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-01-30 13:41:03 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-01-30 13:41:03 -0600 |
commit | ad976f3329af690e4f1a4299a12444dc869f7d25 (patch) | |
tree | 0bc7569f323c823782889cd18f532f0522f04248 /src | |
parent | 5ca1541a32bf9364fba37abc4cd70eb4368ca96d (diff) | |
download | tdeio-umountwrapper-ad976f3329af690e4f1a4299a12444dc869f7d25.tar.gz tdeio-umountwrapper-ad976f3329af690e4f1a4299a12444dc869f7d25.zip |
Fix a few remaining references to kio_
Diffstat (limited to 'src')
-rw-r--r-- | src/Makefile.am | 10 | ||||
-rw-r--r-- | src/main.cpp | 8 | ||||
-rw-r--r-- | src/tdeio_umountwrapper.cpp | 12 | ||||
-rw-r--r-- | src/tdeio_umountwrapper.h | 4 |
4 files changed, 17 insertions, 17 deletions
diff --git a/src/Makefile.am b/src/Makefile.am index 87ccbed..509c91d 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -2,7 +2,7 @@ INCLUDES = $(all_includes) # these are the headers for your project -noinst_HEADERS = kio_umountwrapper.h +noinst_HEADERS = tdeio_umountwrapper.h # let automoc handle all of the meta source files (moc) METASOURCES = AUTO @@ -18,10 +18,10 @@ KDE_ICON = AUTO ######################################################################### # this is the program that gets installed. it's name is used for all # of the other Makefile.am variables -bin_PROGRAMS = kio_umountwrapper +bin_PROGRAMS = tdeio_umountwrapper # the application source, library search path, and link libraries -kio_umountwrapper_SOURCES = main.cpp kio_umountwrapper.cpp -kio_umountwrapper_LDFLAGS = $(all_libraries) $(KDE_RPATH) $(LIB_QT) -lDCOP $(LIB_TDECORE) $(LIB_TDEUI) -ltdefx $(LIB_KIO) -ltdetexteditor -kio_umountwrapper_LDADD = $(LIB_TDEUI) +tdeio_umountwrapper_SOURCES = main.cpp tdeio_umountwrapper.cpp +tdeio_umountwrapper_LDFLAGS = $(all_libraries) $(KDE_RPATH) $(LIB_QT) -lDCOP $(LIB_TDECORE) $(LIB_TDEUI) -ltdefx $(LIB_KIO) -ltdetexteditor +tdeio_umountwrapper_LDADD = $(LIB_TDEUI) diff --git a/src/main.cpp b/src/main.cpp index c35ebda..2127de9 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -19,7 +19,7 @@ ***************************************************************************/ -#include "kio_umountwrapper.h" +#include "tdeio_umountwrapper.h" #include <kaboutdata.h> #include <kcmdlineargs.h> #include <klocale.h> @@ -39,20 +39,20 @@ static KCmdLineOptions options[] = int main(int argc, char **argv) { - TDEAboutData about("kio_umountwrapper", I18N_NOOP("kio_umountwrapper"), version, description, + TDEAboutData about("tdeio_umountwrapper", I18N_NOOP("tdeio_umountwrapper"), version, description, TDEAboutData::License_GPL, "(C) 2007 Frode M. Døving", 0, 0, "frode@lnix.net"); about.addAuthor( "Frode M. Døving", 0, "frode@lnix.net" ); TDECmdLineArgs::init(argc, argv, &about); TDECmdLineArgs::addCmdLineOptions( options ); - kio_umountwrapper *app; + tdeio_umountwrapper *app; TDECmdLineArgs *args = TDECmdLineArgs::parsedArgs(); kdDebug() << "arg0: " << args->arg(0) << endl; if (args->count() == 0) TDECmdLineArgs::usage(i18n("No URL specified!")); - else app = new kio_umountwrapper(TQString(args->arg(0))); + else app = new tdeio_umountwrapper(TQString(args->arg(0))); args->clear(); diff --git a/src/tdeio_umountwrapper.cpp b/src/tdeio_umountwrapper.cpp index 775215c..183b63d 100644 --- a/src/tdeio_umountwrapper.cpp +++ b/src/tdeio_umountwrapper.cpp @@ -19,7 +19,7 @@ ***************************************************************************/ -#include "kio_umountwrapper.h" +#include "tdeio_umountwrapper.h" #include <cstdlib> #include <tqtimer.h> @@ -31,7 +31,7 @@ #include <kcmdlineargs.h> #include <kdebug.h> -kio_umountwrapper::kio_umountwrapper(const TQString& url) +tdeio_umountwrapper::tdeio_umountwrapper(const TQString& url) : TDEApplication() { m_progress = new KProgressDialog(); @@ -48,7 +48,7 @@ kio_umountwrapper::kio_umountwrapper(const TQString& url) t->start(10, FALSE); TDEProcess *p = new TDEProcess(TQT_TQOBJECT(this)); - *p << "kio_media_mounthelper"; + *p << "tdeio_media_mounthelper"; *p << "-s"; *p << url; kdDebug() << "TDEProcess: " << url << endl; @@ -57,12 +57,12 @@ kio_umountwrapper::kio_umountwrapper(const TQString& url) p->start(); } -void kio_umountwrapper::progressAdvance() +void tdeio_umountwrapper::progressAdvance() { m_progress->progressBar()->advance(1); } -void kio_umountwrapper::processFinished(TDEProcess* p) +void tdeio_umountwrapper::processFinished(TDEProcess* p) { if (p->normalExit() && p->exitStatus() == 0) { @@ -74,4 +74,4 @@ void kio_umountwrapper::processFinished(TDEProcess* p) } } -#include "kio_umountwrapper.moc" +#include "tdeio_umountwrapper.moc" diff --git a/src/tdeio_umountwrapper.h b/src/tdeio_umountwrapper.h index eb670b8..8689022 100644 --- a/src/tdeio_umountwrapper.h +++ b/src/tdeio_umountwrapper.h @@ -30,12 +30,12 @@ #include <kprogress.h> #include <kprocess.h> -class kio_umountwrapper : public TDEApplication +class tdeio_umountwrapper : public TDEApplication { Q_OBJECT public: - kio_umountwrapper(const TQString&); + tdeio_umountwrapper(const TQString&); private: KProgressDialog *m_progress; |