summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/CMakeL10n.txt2
-rw-r--r--src/Makefile.am27
-rw-r--r--src/main.cpp2
-rw-r--r--src/tdeio_umountwrapper.cpp2
4 files changed, 3 insertions, 30 deletions
diff --git a/src/CMakeL10n.txt b/src/CMakeL10n.txt
index c9193d2..e2a78c4 100644
--- a/src/CMakeL10n.txt
+++ b/src/CMakeL10n.txt
@@ -1,3 +1,3 @@
##### create translation templates ##############
-tde_l10n_create_template( "tdeio-umountwrapper" )
+tde_l10n_create_template( "messages/tdeio-umountwrapper" )
diff --git a/src/Makefile.am b/src/Makefile.am
deleted file mode 100644
index ed8b44e..0000000
--- a/src/Makefile.am
+++ /dev/null
@@ -1,27 +0,0 @@
-# set the include path for X, qt and KDE
-INCLUDES = $(all_includes)
-
-# these are the headers for your project
-noinst_HEADERS = tdeio_umountwrapper.h
-
-# let automoc handle all of the meta source files (moc)
-METASOURCES = AUTO
-
-messages: rc.cpp
- $(EXTRACTRC) `find . -name \*.ui -o -name \*.rc` > rc.cpp
- $(XGETTEXT) *.cpp -o $(podir)/tdeio_umountwrapper.pot
-
-KDE_ICON = AUTO
-
-#########################################################################
-# APPLICATION SECTION
-#########################################################################
-# this is the program that gets installed. it's name is used for all
-# of the other Makefile.am variables
-bin_PROGRAMS = tdeio_umountwrapper
-
-# the application source, library search path, and link libraries
-tdeio_umountwrapper_SOURCES = main.cpp tdeio_umountwrapper.cpp
-tdeio_umountwrapper_LDFLAGS = $(all_libraries) $(KDE_RPATH) $(LIB_QT) -lDCOP $(LIB_TDECORE) $(LIB_TDEUI) -ltdefx $(LIB_TDEIO) -ltdetexteditor
-tdeio_umountwrapper_LDADD = $(LIB_TDEUI)
-
diff --git a/src/main.cpp b/src/main.cpp
index dec5793..9777687 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -48,7 +48,7 @@ int main(int argc, char **argv)
tdeio_umountwrapper *app;
TDECmdLineArgs *args = TDECmdLineArgs::parsedArgs();
- kdDebug() << "arg0: " << args->arg(0) << endl;
+ kdDebug(7136) << "arg0: " << args->arg(0) << endl;
if (args->count() == 0)
TDECmdLineArgs::usage(i18n("No URL specified!"));
diff --git a/src/tdeio_umountwrapper.cpp b/src/tdeio_umountwrapper.cpp
index 26ab35d..36be7ff 100644
--- a/src/tdeio_umountwrapper.cpp
+++ b/src/tdeio_umountwrapper.cpp
@@ -51,7 +51,7 @@ tdeio_umountwrapper::tdeio_umountwrapper(const TQString& url)
*p << "tdeio_media_mounthelper";
*p << "-s";
*p << url;
- kdDebug() << "TDEProcess: " << url << endl;
+ kdDebug(7136) << "TDEProcess: " << url << endl;
connect(p, TQT_SIGNAL(processExited(TDEProcess *)),
this, TQT_SLOT(processFinished(TDEProcess *)));
p->start();