initial commit

master
mutantturkey 13 years ago
commit 88632c3b98

@ -0,0 +1,895 @@
# Makefile.in generated by automake 1.9.6 from Makefile.am.
# KDE tags expanded automatically by am_edit - $Revision$
# src/Makefile. Generated from Makefile.in by configure.
# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
# 2003, 2004, 2005 Free Software Foundation, Inc.
# This Makefile.in is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
# PARTICULAR PURPOSE.
srcdir = .
top_srcdir = ..
pkgdatadir = $(datadir)/khdapsmonitor
pkglibdir = $(libdir)/khdapsmonitor
pkgincludedir = $(includedir)/khdapsmonitor
top_builddir = ..
am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
INSTALL = /usr/bin/install -c -p
install_sh_DATA = $(install_sh) -c -m 644
install_sh_PROGRAM = $(install_sh) -c
install_sh_SCRIPT = $(install_sh) -c
INSTALL_HEADER = $(INSTALL_DATA)
transform = $(program_transform_name)
NORMAL_INSTALL = :
PRE_INSTALL = :
POST_INSTALL = :
NORMAL_UNINSTALL = :
PRE_UNINSTALL = :
POST_UNINSTALL = :
build_triplet = x86_64-unknown-linux-gnu
host_triplet = x86_64-unknown-linux-gnu
target_triplet = x86_64-unknown-linux-gnu
bin_PROGRAMS = khdapsmonitor$(EXEEXT)
subdir = src
DIST_COMMON = $(noinst_HEADERS) $(srcdir)/Makefile.am \
$(srcdir)/Makefile.in
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
am__aclocal_m4_deps = $(top_srcdir)/acinclude.m4 \
$(top_srcdir)/configure.in
am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
$(ACLOCAL_M4)
mkinstalldirs = $(SHELL) $(top_srcdir)/admin/mkinstalldirs
CONFIG_HEADER = $(top_builddir)/config.h
CONFIG_CLEAN_FILES =
am__installdirs = "$(DESTDIR)$(bindir)" "$(DESTDIR)$(shelldesktopdir)"
binPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
PROGRAMS = $(bin_PROGRAMS)
am_khdapsmonitor_OBJECTS = main.$(OBJEXT) khdapsmonitor.$(OBJEXT) \
khdapsmonitorwidget.$(OBJEXT) sysfs.$(OBJEXT) \
khdapsmonitormain.$(OBJEXT) khdapsmonitorsystray.$(OBJEXT)
#>- khdapsmonitor_OBJECTS = $(am_khdapsmonitor_OBJECTS)
#>+ 6
khdapsmonitor_final_OBJECTS = khdapsmonitor.all_cpp.o
khdapsmonitor_nofinal_OBJECTS = main.$(OBJEXT) khdapsmonitor.$(OBJEXT) \
khdapsmonitorwidget.$(OBJEXT) sysfs.$(OBJEXT) \
khdapsmonitormain.$(OBJEXT) khdapsmonitorsystray.$(OBJEXT) khdapsmonitorwidgetbase.$(OBJEXT)
khdapsmonitor_OBJECTS = $(khdapsmonitor_nofinal_OBJECTS)
#khdapsmonitor_OBJECTS = $(khdapsmonitor_final_OBJECTS)
am__DEPENDENCIES_1 =
khdapsmonitor_DEPENDENCIES = $(am__DEPENDENCIES_1) \
$(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1)
DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)
depcomp = $(SHELL) $(top_srcdir)/admin/depcomp
am__depfiles_maybe = depfiles
#>- CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
#>- $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
#>+ 2
CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
$(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) $(KDE_CXXFLAGS)
#>- LTCXXCOMPILE = $(LIBTOOL) --tag=CXX --mode=compile $(CXX) $(DEFS) \
#>- $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
#>- $(AM_CXXFLAGS) $(CXXFLAGS)
#>+ 3
LTCXXCOMPILE = $(LIBTOOL) --tag=CXX --mode=compile $(CXX) $(DEFS) \
$(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
$(AM_CXXFLAGS) $(CXXFLAGS) $(KDE_CXXFLAGS)
CXXLD = $(CXX)
#>- CXXLINK = $(LIBTOOL) --tag=CXX --mode=link $(CXXLD) $(AM_CXXFLAGS) \
#>- $(CXXFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
#>+ 2
CXXLINK = $(LIBTOOL) --tag=CXX --mode=link $(CXXLD) $(AM_CXXFLAGS) \
$(CXXFLAGS) $(KDE_CXXFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
SOURCES = $(khdapsmonitor_SOURCES)
DIST_SOURCES = $(khdapsmonitor_SOURCES)
am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
am__vpath_adj = case $$p in \
$(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
*) f=$$p;; \
esac;
am__strip_dir = `echo $$p | sed -e 's|^.*/||'`;
shelldesktopDATA_INSTALL = $(INSTALL_DATA)
DATA = $(shelldesktop_DATA)
HEADERS = $(noinst_HEADERS)
ETAGS = etags
CTAGS = ctags
#>- DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
#>+ 1
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) $(KDE_DIST)
ACLOCAL = ${SHELL} /home/calvin/khdapsmonitor-0.1/admin/missing --run aclocal-1.9
AMDEP_FALSE = #
AMDEP_TRUE =
AMTAR = ${SHELL} /home/calvin/khdapsmonitor-0.1/admin/missing --run tar
AR = ar
ARTSCCONFIG = /opt/trinity/bin/artsc-config
AUTOCONF = $(SHELL) $(top_srcdir)/admin/cvs.sh configure || touch configure
AUTODIRS =
AUTOHEADER = ${SHELL} /home/calvin/khdapsmonitor-0.1/admin/missing --run autoheader
AUTOMAKE = ${SHELL} /home/calvin/khdapsmonitor-0.1/admin/missing --run automake-1.9
AWK = gawk
CC = gcc
CCDEPMODE = depmode=gcc3
CFLAGS = -std=iso9899:1990 -W -Wall -Wchar-subscripts -Wshadow -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -O2 -g -O2 -Wformat-security -Wmissing-format-attribute -I/usr/include/tqt
CONF_FILES = $(top_srcdir)/./admin/configure.in.min $(top_srcdir)/configure.in.in
CPP = gcc -E
CPPFLAGS = -DQT_THREAD_SUPPORT -D_REENTRANT
CXX = g++
CXXCPP = g++ -E
CXXDEPMODE = depmode=gcc3
CXXFLAGS = -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith -O2 -g -O2 -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -I/usr/include/tqt
CYGPATH_W = echo
DCOPIDL = /opt/trinity/bin/dcopidl
DCOPIDL2CPP = /opt/trinity/bin/dcopidl2cpp
DCOPIDLNG = /opt/trinity/bin/dcopidlng
DCOP_DEPENDENCIES = $(DCOPIDL) $(DCOPIDLNG)
DEFS = -DHAVE_CONFIG_H
DEPDIR = .deps
DSYMUTIL =
DUMPBIN =
ECHO_C =
ECHO_N = -n
ECHO_T =
EGREP = /bin/grep -E
ENABLE_PERMISSIVE_FLAG = -fpermissive
EXEEXT =
FGREP = /bin/grep -F
FRAMEWORK_COREAUDIO =
GMSGFMT = /usr/bin/msgfmt
GREP = /bin/grep
HAVE_GCC_VISIBILITY = 0
INSTALL_DATA = ${INSTALL} -m 644
INSTALL_PROGRAM = ${INSTALL} $(INSTALL_STRIP_FLAG)
INSTALL_SCRIPT = ${INSTALL}
INSTALL_STRIP_PROGRAM = ${SHELL} $(install_sh) -c -s
KCFG_DEPENDENCIES = $(KCONFIG_COMPILER)
KCONFIG_COMPILER = /opt/trinity/bin/kconfig_compiler
KDECONFIG = /opt/trinity/bin/kde-config
KDE_CHECK_PLUGIN = $(KDE_PLUGIN) -rpath $(libdir)
KDE_EXTRA_RPATH =
KDE_INCLUDES = -I/opt/trinity/include
KDE_LDFLAGS = -L/opt/trinity/lib
KDE_MT_LDFLAGS =
KDE_MT_LIBS = -lpthread
KDE_NO_UNDEFINED = -Wl,--no-undefined -Wl,--allow-shlib-undefined
KDE_PLUGIN = -avoid-version -module -no-undefined $(KDE_NO_UNDEFINED) $(KDE_RPATH) $(KDE_MT_LDFLAGS)
KDE_RPATH = -R $(libdir) -R $(kde_libraries) -R $(qt_libraries)
KDE_USE_CLOSURE_FALSE =
KDE_USE_CLOSURE_TRUE = #
KDE_USE_FINAL_FALSE =
KDE_USE_FINAL_TRUE = #
KDE_USE_FPIE = -fPIE
KDE_USE_NMCHECK_FALSE =
KDE_USE_NMCHECK_TRUE = #
KDE_USE_PIE = -pie
KDE_XSL_STYLESHEET = /opt/trinity/share/apps/ksgmltools2/customization/kde-chunk.xsl
LD = /usr/bin/ld -m elf_x86_64
LDFLAGS =
LDFLAGS_AS_NEEDED =
LDFLAGS_NEW_DTAGS =
LIBCOMPAT =
LIBCRYPT = -lcrypt
LIBDL = -ldl
LIBJPEG = -ljpeg
LIBOBJS =
LIBPNG = -lpng -lz -lm
LIBPTHREAD = -lpthread
LIBRESOLV = -lresolv
LIBS =
LIBSM = -lSM -lICE
LIBSOCKET =
LIBTOOL = $(SHELL) $(top_builddir)/libtool
LIBTQT_LDFLAGS = -ltqt
LIBUCB =
LIBUTIL = -lutil
LIBZ = -lz
LIB_KAB = -lkab
LIB_KABC = -lkabc
LIB_KDECORE = -lkdecore
LIB_KDED =
LIB_KDEPIM = -lkdepim
LIB_KDEPRINT = -lkdeprint
LIB_KDEUI = -lkdeui
LIB_KDNSSD = -lkdnssd
LIB_KFILE = -lkio
LIB_KFM =
LIB_KHTML = -lkhtml
LIB_KIMPROXY = -lkimproxy
LIB_KIO = -lkio
LIB_KJS = -lkjs
LIB_KNEWSTUFF = -lknewstuff
LIB_KPARTS = -lkparts
LIB_KSPELL = -lkspell
LIB_KSYCOCA = -lkio
LIB_KUNITTEST = -lkunittest
LIB_KUTILS = -lkutils
LIB_POLL =
LIB_QPE =
LIB_QT = -lqt-mt $(LIBZ) $(LIBPNG) -lXext $(LIB_X11) $(LIBSM) $(LIBTQT_LDFLAGS) -lpthread
LIB_SMB = -lsmb
LIB_X11 = -lX11 $(LIBSOCKET)
LIB_XEXT = -lXext
LIB_XRENDER =
LIPO =
LN_S = ln -s
LTLIBOBJS =
MAKEINFO = ${SHELL} /home/calvin/khdapsmonitor-0.1/admin/missing --run makeinfo
MAKEKDEWIDGETS = /opt/trinity/bin/makekdewidgets
MCOPIDL = /opt/trinity/bin/mcopidl
MEINPROC = /opt/trinity/bin/meinproc
MOC = /usr/share/qt3/bin/moc
MSGFMT = /usr/bin/msgfmt
NM = /usr/bin/nm -B
NMEDIT =
NOOPT_CFLAGS = -O0
NOOPT_CXXFLAGS = -O0
OBJDUMP = objdump
OBJEXT = o
OTOOL =
OTOOL64 =
PACKAGE = khdapsmonitor
PACKAGE_BUGREPORT =
PACKAGE_NAME =
PACKAGE_STRING =
PACKAGE_TARNAME =
PACKAGE_URL =
PACKAGE_VERSION =
PATH_SEPARATOR = :
PERL = /usr/bin/perl
PKG_CONFIG = /usr/bin/pkg-config
QTE_NORTTI =
QT_INCLUDES = -I/usr/share/qt3/include -include tqt.h
QT_LDFLAGS = -ltqt
RANLIB = ranlib
SED = /bin/sed
SET_MAKE =
SHELL = /bin/bash
STRIP = strip
TOPSUBDIRS = doc po src
TQTDCOPIDL = /opt/trinity/bin/dcopidl
TQTDCOPIDL2CPP = /opt/trinity/bin/dcopidl2cpp
TQTDCOPIDLNG =
TQTMCOPIDL = /opt/trinity/bin/mcopidl
TQTMOC = /usr/bin/tmoc
UIC = /usr/bin/uic-tqt -L $(kde_widgetdir) -nounload
UIC_TR = tr2i18n
USER_INCLUDES =
USER_LDFLAGS =
USE_EXCEPTIONS = -fexceptions
USE_RTTI =
USE_THREADS =
VERSION = 0.1
WOVERLOADED_VIRTUAL =
XGETTEXT = /usr/bin/xgettext
XMKMF =
XMLLINT = /usr/bin/xmllint
X_EXTRA_LIBS =
X_INCLUDES = -I.
X_LDFLAGS =
X_PRE_LIBS =
X_RPATH =
ac_ct_CC = gcc
ac_ct_CXX = g++
ac_ct_DUMPBIN =
all_includes = -I/opt/trinity/include -I/usr/share/qt3/include -I. -include tqt.h
all_libraries = -L/opt/trinity/lib
am__fastdepCC_FALSE = #
am__fastdepCC_TRUE =
am__fastdepCXX_FALSE = #
am__fastdepCXX_TRUE =
am__include = include
am__leading_dot = .
am__quote =
am__tar = ${AMTAR} chof - "$$tardir"
am__untar = ${AMTAR} xf -
bindir = ${exec_prefix}/bin
build = x86_64-unknown-linux-gnu
build_alias =
build_cpu = x86_64
build_os = linux-gnu
build_vendor = unknown
datadir = ${datarootdir}
datarootdir = ${prefix}/share
docdir = ${datarootdir}/doc/${PACKAGE}
dvidir = ${docdir}
exec_prefix = ${prefix}
host = x86_64-unknown-linux-gnu
host_alias =
host_cpu = x86_64
host_os = linux-gnu
host_vendor = unknown
htmldir = ${docdir}
include_ARTS_FALSE = #
include_ARTS_TRUE =
include_x11_FALSE = #
include_x11_TRUE =
includedir = ${prefix}/include
infodir = ${datarootdir}/info
install_sh = /home/calvin/khdapsmonitor-0.1/admin/install-sh
kde_appsdir = ${datadir}/applnk
kde_bindir = ${exec_prefix}/bin
kde_confdir = ${datadir}/config
kde_datadir = ${datadir}/apps
kde_htmldir = ${datadir}/doc/HTML
kde_icondir = ${datadir}/icons
kde_includes = /opt/trinity/include
kde_kcfgdir = ${datadir}/config.kcfg
kde_libraries = /opt/trinity/lib
kde_libs_htmldir = /opt/trinity/share/doc/kde/HTML
kde_libs_prefix = /opt/trinity
kde_locale = ${datadir}/locale
kde_mimedir = ${datadir}/mimelnk
kde_moduledir = ${libdir}/trinity
kde_qtver = 3
kde_servicesdir = ${datadir}/services
kde_servicetypesdir = ${datadir}/servicetypes
kde_sounddir = ${datadir}/sounds
kde_styledir = ${libdir}/trinity/plugins/styles
kde_templatesdir = ${datadir}/templates
kde_wallpaperdir = ${datadir}/wallpapers
kde_widgetdir = /opt/trinity/lib/trinity/plugins/designer
kdeinitdir = $(kde_moduledir)
libdir = ${exec_prefix}/lib
libexecdir = ${exec_prefix}/libexec
localedir = ${datarootdir}/locale
localstatedir = ${prefix}/var
lt_ECHO = echo
mandir = ${datarootdir}/man
mkdir_p = mkdir -p --
oldincludedir = /usr/include
pdfdir = ${docdir}
prefix = /opt/trinity
program_transform_name = s,x,x,
psdir = ${docdir}
qt_includes = /usr/share/qt3/include
qt_libraries = /usr/lib
sbindir = ${exec_prefix}/sbin
sharedstatedir = ${prefix}/com
sysconfdir = ${prefix}/etc
target = x86_64-unknown-linux-gnu
target_alias =
target_cpu = x86_64
target_os = linux-gnu
target_vendor = unknown
unsermake_enable_pch_FALSE =
unsermake_enable_pch_TRUE = #
x_includes = .
x_libraries = /usr/lib
xdg_appsdir = ${datadir}/applications/kde
xdg_directorydir = ${datadir}/desktop-directories
xdg_menudir = ${sysconfdir}/xdg/menus
# set the include path for X, qt and KDE
INCLUDES = $(all_includes)
# these are the headers for your project
noinst_HEADERS = khdapsmonitor.h khdapsmonitorwidget.h khdapsmonitormain.h khdapsmonitorsystray.h sysfs.h
# let automoc handle all of the meta source files (moc)
#>- METASOURCES = AUTO
KDE_ICON = AUTO
# the application source, library search path, and link libraries
#>- khdapsmonitor_SOURCES = main.cpp khdapsmonitor.cpp khdapsmonitorwidget.cpp \
#>- sysfs.cpp khdapsmonitorwidgetbase.ui \
#>- khdapsmonitormain.cpp khdapsmonitorsystray.cpp
#>+ 3
khdapsmonitor_SOURCES=main.cpp khdapsmonitor.cpp khdapsmonitorwidget.cpp \
sysfs.cpp \
khdapsmonitormain.cpp khdapsmonitorsystray.cpp khdapsmonitorwidgetbase.cpp
khdapsmonitor_LDFLAGS = $(KDE_RPATH) $(all_libraries)
khdapsmonitor_LDADD = $(LIB_KDEUI) $(LIB_KDECORE) -lDCOP $(LIB_QT)
# this is where the desktop file will go
shelldesktopdir = $(kde_appsdir)/System
shelldesktop_DATA = khdapsmonitor.desktop
#>- all: all-am
#>+ 1
all: docs-am all-am
.SUFFIXES:
.SUFFIXES: .cpp .lo .o .obj
$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
#>- @for dep in $?; do \
#>- case '$(am__configure_deps)' in \
#>- *$$dep*) \
#>- cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
#>- && exit 0; \
#>- exit 1;; \
#>- esac; \
#>- done; \
#>- echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu src/Makefile'; \
#>- cd $(top_srcdir) && \
#>- $(AUTOMAKE) --gnu src/Makefile
#>+ 12
@for dep in $?; do \
case '$(am__configure_deps)' in \
*$$dep*) \
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
&& exit 0; \
exit 1;; \
esac; \
done; \
echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu src/Makefile'; \
cd $(top_srcdir) && \
$(AUTOMAKE) --gnu src/Makefile
cd $(top_srcdir) && perl admin/am_edit src/Makefile.in
.PRECIOUS: Makefile
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
@case '$?' in \
*config.status*) \
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
*) \
echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
esac;
$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
$(top_srcdir)/configure: $(am__configure_deps)
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
$(ACLOCAL_M4): $(am__aclocal_m4_deps)
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
install-binPROGRAMS: $(bin_PROGRAMS)
@$(NORMAL_INSTALL)
test -z "$(bindir)" || $(mkdir_p) "$(DESTDIR)$(bindir)"
@list='$(bin_PROGRAMS)'; for p in $$list; do \
p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
if test -f $$p \
|| test -f $$p1 \
; then \
f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \
echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) '$$p' '$(DESTDIR)$(bindir)/$$f'"; \
$(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) "$$p" "$(DESTDIR)$(bindir)/$$f" || exit 1; \
else :; fi; \
done
uninstall-binPROGRAMS:
@$(NORMAL_UNINSTALL)
@list='$(bin_PROGRAMS)'; for p in $$list; do \
f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
echo " rm -f '$(DESTDIR)$(bindir)/$$f'"; \
rm -f "$(DESTDIR)$(bindir)/$$f"; \
done
clean-binPROGRAMS:
@list='$(bin_PROGRAMS)'; for p in $$list; do \
f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
echo " rm -f $$p $$f"; \
rm -f $$p $$f ; \
done
khdapsmonitor$(EXEEXT): $(khdapsmonitor_OBJECTS) $(khdapsmonitor_DEPENDENCIES)
@rm -f khdapsmonitor$(EXEEXT)
$(CXXLINK) $(khdapsmonitor_LDFLAGS) $(khdapsmonitor_OBJECTS) $(khdapsmonitor_LDADD) $(LIBS)
mostlyclean-compile:
-rm -f *.$(OBJEXT)
distclean-compile:
-rm -f *.tab.c
include ./$(DEPDIR)/khdapsmonitor.Po
include ./$(DEPDIR)/khdapsmonitormain.Po
include ./$(DEPDIR)/khdapsmonitorsystray.Po
include ./$(DEPDIR)/khdapsmonitorwidget.Po
include ./$(DEPDIR)/main.Po
include ./$(DEPDIR)/sysfs.Po
.cpp.o:
if $(CXXCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \
then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
# source='$<' object='$@' libtool=no \
# DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) \
# $(CXXCOMPILE) -c -o $@ $<
.cpp.obj:
if $(CXXCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ `$(CYGPATH_W) '$<'`; \
then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
# source='$<' object='$@' libtool=no \
# DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) \
# $(CXXCOMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
.cpp.lo:
if $(LTCXXCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \
then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Plo"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
# source='$<' object='$@' libtool=yes \
# DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) \
# $(LTCXXCOMPILE) -c -o $@ $<
mostlyclean-libtool:
-rm -f *.lo
clean-libtool:
-rm -rf .libs _libs
distclean-libtool:
-rm -f libtool
uninstall-info-am:
install-shelldesktopDATA: $(shelldesktop_DATA)
@$(NORMAL_INSTALL)
test -z "$(shelldesktopdir)" || $(mkdir_p) "$(DESTDIR)$(shelldesktopdir)"
@list='$(shelldesktop_DATA)'; for p in $$list; do \
if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
f=$(am__strip_dir) \
echo " $(shelldesktopDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(shelldesktopdir)/$$f'"; \
$(shelldesktopDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(shelldesktopdir)/$$f"; \
done
uninstall-shelldesktopDATA:
@$(NORMAL_UNINSTALL)
@list='$(shelldesktop_DATA)'; for p in $$list; do \
f=$(am__strip_dir) \
echo " rm -f '$(DESTDIR)$(shelldesktopdir)/$$f'"; \
rm -f "$(DESTDIR)$(shelldesktopdir)/$$f"; \
done
ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
unique=`for i in $$list; do \
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
done | \
$(AWK) ' { files[$$0] = 1; } \
END { for (i in files) print i; }'`; \
mkid -fID $$unique
tags: TAGS
TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
$(TAGS_FILES) $(LISP)
tags=; \
here=`pwd`; \
list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
unique=`for i in $$list; do \
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
done | \
$(AWK) ' { files[$$0] = 1; } \
END { for (i in files) print i; }'`; \
if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
test -n "$$unique" || unique=$$empty_fix; \
$(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
$$tags $$unique; \
fi
ctags: CTAGS
CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
$(TAGS_FILES) $(LISP)
tags=; \
here=`pwd`; \
list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
unique=`for i in $$list; do \
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
done | \
$(AWK) ' { files[$$0] = 1; } \
END { for (i in files) print i; }'`; \
test -z "$(CTAGS_ARGS)$$tags$$unique" \
|| $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
$$tags $$unique
GTAGS:
here=`$(am__cd) $(top_builddir) && pwd` \
&& cd $(top_srcdir) \
&& gtags -i $(GTAGS_ARGS) $$here
distclean-tags:
-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
distdir: $(DISTFILES)
@srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
list='$(DISTFILES)'; for file in $$list; do \
case $$file in \
$(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
$(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
esac; \
if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
if test "$$dir" != "$$file" && test "$$dir" != "."; then \
dir="/$$dir"; \
$(mkdir_p) "$(distdir)$$dir"; \
else \
dir=''; \
fi; \
if test -d $$d/$$file; then \
if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
fi; \
cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
else \
test -f $(distdir)/$$file \
|| cp -p $$d/$$file $(distdir)/$$file \
|| exit 1; \
fi; \
done
check-am: all-am
check: check-am
all-am: Makefile $(PROGRAMS) $(DATA) $(HEADERS)
installdirs:
for dir in "$(DESTDIR)$(bindir)" "$(DESTDIR)$(shelldesktopdir)"; do \
test -z "$$dir" || $(mkdir_p) "$$dir"; \
done
install: install-am
install-exec: install-exec-am
install-data: install-data-am
uninstall: uninstall-am
install-am: all-am
@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
installcheck: installcheck-am
install-strip:
$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
`test -z '$(STRIP)' || \
echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
mostlyclean-generic:
clean-generic:
distclean-generic:
-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
maintainer-clean-generic:
@echo "This command is intended for maintainers to use"
@echo "it deletes files that may require special tools to rebuild."
#>- clean: clean-am
#>+ 1
clean: kde-rpo-clean clean-am
#>- clean-am: clean-binPROGRAMS clean-generic clean-libtool mostlyclean-am
#>+ 1
clean-am: clean-metasources clean-ui clean-bcheck clean-final clean-binPROGRAMS clean-generic clean-libtool mostlyclean-am
distclean: distclean-am
-rm -rf ./$(DEPDIR)
-rm -f Makefile
distclean-am: clean-am distclean-compile distclean-generic \
distclean-libtool distclean-tags
dvi: dvi-am
dvi-am:
html: html-am
info: info-am
info-am:
#>- install-data-am: install-shelldesktopDATA
#>+ 1
install-data-am: install-kde-icons install-shelldesktopDATA
install-exec-am: install-binPROGRAMS
install-info: install-info-am
install-man:
installcheck-am:
maintainer-clean: maintainer-clean-am
-rm -rf ./$(DEPDIR)
-rm -f Makefile
maintainer-clean-am: distclean-am maintainer-clean-generic
mostlyclean: mostlyclean-am
mostlyclean-am: mostlyclean-compile mostlyclean-generic \
mostlyclean-libtool
pdf: pdf-am
pdf-am:
ps: ps-am
ps-am:
#>- uninstall-am: uninstall-binPROGRAMS uninstall-info-am \
#>- uninstall-shelldesktopDATA
#>+ 2
uninstall-am: uninstall-kde-icons uninstall-binPROGRAMS uninstall-info-am \
uninstall-shelldesktopDATA
.PHONY: CTAGS GTAGS all all-am check check-am clean clean-binPROGRAMS \
clean-generic clean-libtool ctags distclean distclean-compile \
distclean-generic distclean-libtool distclean-tags distdir dvi \
dvi-am html html-am info info-am install install-am \
install-binPROGRAMS install-data install-data-am install-exec \
install-exec-am install-info install-info-am install-man \
install-shelldesktopDATA install-strip installcheck \
installcheck-am installdirs maintainer-clean \
maintainer-clean-generic mostlyclean mostlyclean-compile \
mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
tags uninstall uninstall-am uninstall-binPROGRAMS \
uninstall-info-am uninstall-shelldesktopDATA
messages: rc.cpp
$(EXTRACTRC) `find . -name \*.ui -o -name \*.rc` > rc.cpp
$(XGETTEXT) *.cpp -o $(podir)/khdapsmonitor.pot
# this is where the shell's XML-GUI resource file goes
#shellrcdir = $(kde_datadir)/khdapsmonitor
#shellrc_DATA = khdapsmonitorui.rc
# Tell versions [3.59,3.63) of GNU make to not export all variables.
# Otherwise a system limit (for SysV at least) may be exceeded.
.NOEXPORT:
#>+ 3
khdapsmonitorwidget.moc: $(srcdir)/khdapsmonitorwidget.h
$(TQTMOC) $(srcdir)/khdapsmonitorwidget.h -o khdapsmonitorwidget.moc
#>+ 2
mocs: khdapsmonitorwidget.moc
#>+ 3
khdapsmonitor.moc: $(srcdir)/khdapsmonitor.h
$(TQTMOC) $(srcdir)/khdapsmonitor.h -o khdapsmonitor.moc
#>+ 2
mocs: khdapsmonitor.moc
#>+ 3
khdapsmonitorsystray.moc: $(srcdir)/khdapsmonitorsystray.h
$(TQTMOC) $(srcdir)/khdapsmonitorsystray.h -o khdapsmonitorsystray.moc
#>+ 2
mocs: khdapsmonitorsystray.moc
#>+ 3
khdapsmonitormain.moc: $(srcdir)/khdapsmonitormain.h
$(TQTMOC) $(srcdir)/khdapsmonitormain.h -o khdapsmonitormain.moc
#>+ 2
mocs: khdapsmonitormain.moc
#>+ 3
clean-metasources:
-rm -f khdapsmonitorwidget.moc khdapsmonitor.moc khdapsmonitorsystray.moc khdapsmonitormain.moc
#>+ 2
KDE_DIST=khdapsmonitor.lsm hi22-device-khdaps_error.png Makefile.in khdapsmonitorwidgetbase.h hi16-app-khdapsmonitor.png khdapsmonitorui.rc hi32-app-khdapsmonitor.png khdapsmonitor.desktop hi22-device-khdaps_pause.png hi22-device-khdaps_play.png Makefile.am khdapsmonitorwidgetbase.ui
#>+ 4
clean-ui:
-rm -f \
khdapsmonitorwidgetbase.cpp khdapsmonitorwidgetbase.h khdapsmonitorwidgetbase.moc
#>+ 2
docs-am:
#>+ 17
install-kde-icons:
$(mkinstalldirs) $(DESTDIR)$(kde_icondir)/hicolor/22x22/devices
$(INSTALL_DATA) $(srcdir)/hi22-device-khdaps_error.png $(DESTDIR)$(kde_icondir)/hicolor/22x22/devices/khdaps_error.png
$(mkinstalldirs) $(DESTDIR)$(kde_icondir)/hicolor/16x16/apps
$(INSTALL_DATA) $(srcdir)/hi16-app-khdapsmonitor.png $(DESTDIR)$(kde_icondir)/hicolor/16x16/apps/khdapsmonitor.png
$(INSTALL_DATA) $(srcdir)/hi22-device-khdaps_pause.png $(DESTDIR)$(kde_icondir)/hicolor/22x22/devices/khdaps_pause.png
$(INSTALL_DATA) $(srcdir)/hi22-device-khdaps_play.png $(DESTDIR)$(kde_icondir)/hicolor/22x22/devices/khdaps_play.png
$(mkinstalldirs) $(DESTDIR)$(kde_icondir)/hicolor/32x32/apps
$(INSTALL_DATA) $(srcdir)/hi32-app-khdapsmonitor.png $(DESTDIR)$(kde_icondir)/hicolor/32x32/apps/khdapsmonitor.png
uninstall-kde-icons:
-rm -f $(DESTDIR)$(kde_icondir)/hicolor/22x22/devices/khdaps_error.png
-rm -f $(DESTDIR)$(kde_icondir)/hicolor/16x16/apps/khdapsmonitor.png
-rm -f $(DESTDIR)$(kde_icondir)/hicolor/22x22/devices/khdaps_pause.png
-rm -f $(DESTDIR)$(kde_icondir)/hicolor/22x22/devices/khdaps_play.png
-rm -f $(DESTDIR)$(kde_icondir)/hicolor/32x32/apps/khdapsmonitor.png
#>+ 15
force-reedit:
@for dep in $?; do \
case '$(am__configure_deps)' in \
*$$dep*) \
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
&& exit 0; \
exit 1;; \
esac; \
done; \
echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu src/Makefile'; \
cd $(top_srcdir) && \
$(AUTOMAKE) --gnu src/Makefile
cd $(top_srcdir) && perl admin/am_edit src/Makefile.in
#>+ 21
clean-bcheck:
rm -f *.bchecktest.cc *.bchecktest.cc.class a.out
bcheck: bcheck-am
bcheck-am:
@for i in ; do \
if test $(srcdir)/$$i -nt $$i.bchecktest.cc; then \
echo "int main() {return 0;}" > $$i.bchecktest.cc ; \
echo "#include \"$$i\"" >> $$i.bchecktest.cc ; \
echo "$$i"; \
if ! $(CXXCOMPILE) --dump-class-hierarchy -c $$i.bchecktest.cc; then \
rm -f $$i.bchecktest.cc; exit 1; \
fi ; \
echo "" >> $$i.bchecktest.cc.class; \
perl $(top_srcdir)/admin/bcheck.pl $$i.bchecktest.cc.class || { rm -f $$i.bchecktest.cc; exit 1; }; \
rm -f a.out; \
fi ; \
done
#>+ 11
khdapsmonitor.all_cpp.cpp: $(srcdir)/Makefile.in $(srcdir)/main.cpp $(srcdir)/khdapsmonitor.cpp $(srcdir)/khdapsmonitorwidget.cpp $(srcdir)/sysfs.cpp $(srcdir)/khdapsmonitormain.cpp $(srcdir)/khdapsmonitorsystray.cpp $(srcdir)/khdapsmonitorwidgetbase.cpp khdapsmonitor.moc khdapsmonitorwidget.moc khdapsmonitorwidgetbase.moc khdapsmonitorsystray.moc khdapsmonitormain.moc
@echo 'creating khdapsmonitor.all_cpp.cpp ...'; \
rm -f khdapsmonitor.all_cpp.files khdapsmonitor.all_cpp.final; \
echo "#define KDE_USE_FINAL 1" >> khdapsmonitor.all_cpp.final; \
for file in main.cpp khdapsmonitor.cpp khdapsmonitorwidget.cpp sysfs.cpp khdapsmonitormain.cpp khdapsmonitorsystray.cpp khdapsmonitorwidgetbase.cpp ; do \
echo "#include \"$$file\"" >> khdapsmonitor.all_cpp.files; \
test ! -f $(srcdir)/$$file || egrep '^#pragma +implementation' $(srcdir)/$$file >> khdapsmonitor.all_cpp.final; \
done; \
cat khdapsmonitor.all_cpp.final khdapsmonitor.all_cpp.files > khdapsmonitor.all_cpp.cpp; \
rm -f khdapsmonitor.all_cpp.final khdapsmonitor.all_cpp.files
#>+ 3
clean-final:
-rm -f khdapsmonitor.all_cpp.cpp
#>+ 3
final:
$(MAKE) khdapsmonitor_OBJECTS="$(khdapsmonitor_final_OBJECTS)" all-am
#>+ 3
final-install:
$(MAKE) khdapsmonitor_OBJECTS="$(khdapsmonitor_final_OBJECTS)" install-am
#>+ 3
no-final:
$(MAKE) khdapsmonitor_OBJECTS="$(khdapsmonitor_nofinal_OBJECTS)" all-am
#>+ 3
no-final-install:
$(MAKE) khdapsmonitor_OBJECTS="$(khdapsmonitor_nofinal_OBJECTS)" install-am
#>+ 3
kde-rpo-clean:
-rm -f *.rpo
#>+ 17
$(srcdir)/khdapsmonitorsystray.cpp: khdapsmonitorwidgetbase.h
$(srcdir)/khdapsmonitor.cpp: khdapsmonitorwidgetbase.h
$(srcdir)/main.cpp: khdapsmonitorwidgetbase.h
$(srcdir)/khdapsmonitorwidget.cpp: khdapsmonitorwidgetbase.h
khdapsmonitorwidget.lo: khdapsmonitorwidget.moc
khdapsmonitorsystray.lo: khdapsmonitorsystray.moc
khdapsmonitormain.lo: khdapsmonitormain.moc
nmcheck:
nmcheck-am: nmcheck
$(srcdir)/sysfs.cpp: khdapsmonitorwidgetbase.h
khdapsmonitor.lo: khdapsmonitor.moc
$(srcdir)/khdapsmonitormain.cpp: khdapsmonitorwidgetbase.h
khdapsmonitormain.o: khdapsmonitormain.moc
khdapsmonitorsystray.o: khdapsmonitorsystray.moc
khdapsmonitor.o: khdapsmonitor.moc
khdapsmonitorwidget.o: khdapsmonitorwidget.moc
#>+ 15
khdapsmonitorwidgetbase.cpp: $(srcdir)/khdapsmonitorwidgetbase.ui khdapsmonitorwidgetbase.h khdapsmonitorwidgetbase.moc
rm -f khdapsmonitorwidgetbase.cpp
echo '#include <kdialog.h>' > khdapsmonitorwidgetbase.cpp
echo '#include <klocale.h>' >> khdapsmonitorwidgetbase.cpp
$(UIC) -tr ${UIC_TR} -i khdapsmonitorwidgetbase.h $(srcdir)/khdapsmonitorwidgetbase.ui > khdapsmonitorwidgetbase.cpp.temp ; ret=$$?; \
$(PERL) -pe "s,${UIC_TR}( \"\" ),QString::null,g" khdapsmonitorwidgetbase.cpp.temp | $(PERL) -pe "s,${UIC_TR}( \"\"\, \"\" ),QString::null,g" | $(PERL) -pe "s,image([0-9][0-9]*)_data,img\$$1_khdapsmonitorwidgetbase,g" | $(PERL) -pe "s,: QWizard\(,: KWizard(,g" >> khdapsmonitorwidgetbase.cpp ;\
rm -f khdapsmonitorwidgetbase.cpp.temp ;\
if test "$$ret" = 0; then echo '#include "khdapsmonitorwidgetbase.moc"' >> khdapsmonitorwidgetbase.cpp; else rm -f khdapsmonitorwidgetbase.cpp ; exit $$ret ; fi
khdapsmonitorwidgetbase.h: $(srcdir)/khdapsmonitorwidgetbase.ui
rm -rf khdapsmonitorwidgetbase.h;
$(UIC) $(srcdir)/khdapsmonitorwidgetbase.ui | $(PERL) -pi -e "s,public QWizard,public KWizard,g; s,#include <qwizard.h>,#include <kwizard.h>,g" >> khdapsmonitorwidgetbase.h ;
khdapsmonitorwidgetbase.moc: khdapsmonitorwidgetbase.h
$(TQTMOC) khdapsmonitorwidgetbase.h -o khdapsmonitorwidgetbase.moc

@ -0,0 +1,37 @@
# set the include path for X, qt and KDE
INCLUDES = $(all_includes)
# these are the headers for your project
noinst_HEADERS = khdapsmonitor.h khdapsmonitorwidget.h khdapsmonitormain.h khdapsmonitorsystray.h sysfs.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)/khdapsmonitor.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 = khdapsmonitor
# the application source, library search path, and link libraries
khdapsmonitor_SOURCES = main.cpp khdapsmonitor.cpp khdapsmonitorwidget.cpp \
sysfs.cpp khdapsmonitorwidgetbase.ui \
khdapsmonitormain.cpp khdapsmonitorsystray.cpp
khdapsmonitor_LDFLAGS = $(KDE_RPATH) $(all_libraries)
khdapsmonitor_LDADD = $(LIB_KDEUI) $(LIB_KDECORE) -lDCOP $(LIB_QT)
# this is where the desktop file will go
shelldesktopdir = $(kde_appsdir)/System
shelldesktop_DATA = khdapsmonitor.desktop
# this is where the shell's XML-GUI resource file goes
#shellrcdir = $(kde_datadir)/khdapsmonitor
#shellrc_DATA = khdapsmonitorui.rc

@ -0,0 +1,895 @@
# Makefile.in generated by automake 1.9.6 from Makefile.am.
# KDE tags expanded automatically by am_edit - $Revision$
# @configure_input@
# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
# 2003, 2004, 2005 Free Software Foundation, Inc.
# This Makefile.in is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
# PARTICULAR PURPOSE.
@SET_MAKE@
srcdir = @srcdir@
top_srcdir = @top_srcdir@
VPATH = @srcdir@
pkgdatadir = $(datadir)/@PACKAGE@
pkglibdir = $(libdir)/@PACKAGE@
pkgincludedir = $(includedir)/@PACKAGE@
top_builddir = ..
am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
INSTALL = @INSTALL@
install_sh_DATA = $(install_sh) -c -m 644
install_sh_PROGRAM = $(install_sh) -c
install_sh_SCRIPT = $(install_sh) -c
INSTALL_HEADER = $(INSTALL_DATA)
transform = $(program_transform_name)
NORMAL_INSTALL = :
PRE_INSTALL = :
POST_INSTALL = :
NORMAL_UNINSTALL = :
PRE_UNINSTALL = :
POST_UNINSTALL = :
build_triplet = @build@
host_triplet = @host@
target_triplet = @target@
bin_PROGRAMS = khdapsmonitor$(EXEEXT)
subdir = src
DIST_COMMON = $(noinst_HEADERS) $(srcdir)/Makefile.am \
$(srcdir)/Makefile.in
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
am__aclocal_m4_deps = $(top_srcdir)/acinclude.m4 \
$(top_srcdir)/configure.in
am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
$(ACLOCAL_M4)
mkinstalldirs = $(SHELL) $(top_srcdir)/admin/mkinstalldirs
CONFIG_HEADER = $(top_builddir)/config.h
CONFIG_CLEAN_FILES =
am__installdirs = "$(DESTDIR)$(bindir)" "$(DESTDIR)$(shelldesktopdir)"
binPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
PROGRAMS = $(bin_PROGRAMS)
am_khdapsmonitor_OBJECTS = main.$(OBJEXT) khdapsmonitor.$(OBJEXT) \
khdapsmonitorwidget.$(OBJEXT) sysfs.$(OBJEXT) \
khdapsmonitormain.$(OBJEXT) khdapsmonitorsystray.$(OBJEXT)
#>- khdapsmonitor_OBJECTS = $(am_khdapsmonitor_OBJECTS)
#>+ 6
khdapsmonitor_final_OBJECTS = khdapsmonitor.all_cpp.o
khdapsmonitor_nofinal_OBJECTS = main.$(OBJEXT) khdapsmonitor.$(OBJEXT) \
khdapsmonitorwidget.$(OBJEXT) sysfs.$(OBJEXT) \
khdapsmonitormain.$(OBJEXT) khdapsmonitorsystray.$(OBJEXT) khdapsmonitorwidgetbase.$(OBJEXT)
@KDE_USE_FINAL_FALSE@khdapsmonitor_OBJECTS = $(khdapsmonitor_nofinal_OBJECTS)
@KDE_USE_FINAL_TRUE@khdapsmonitor_OBJECTS = $(khdapsmonitor_final_OBJECTS)
am__DEPENDENCIES_1 =
khdapsmonitor_DEPENDENCIES = $(am__DEPENDENCIES_1) \
$(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1)
DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)
depcomp = $(SHELL) $(top_srcdir)/admin/depcomp
am__depfiles_maybe = depfiles
#>- CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
#>- $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
#>+ 2
CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
$(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) $(KDE_CXXFLAGS)
#>- LTCXXCOMPILE = $(LIBTOOL) --tag=CXX --mode=compile $(CXX) $(DEFS) \
#>- $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
#>- $(AM_CXXFLAGS) $(CXXFLAGS)
#>+ 3
LTCXXCOMPILE = $(LIBTOOL) --tag=CXX --mode=compile $(CXX) $(DEFS) \
$(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
$(AM_CXXFLAGS) $(CXXFLAGS) $(KDE_CXXFLAGS)
CXXLD = $(CXX)
#>- CXXLINK = $(LIBTOOL) --tag=CXX --mode=link $(CXXLD) $(AM_CXXFLAGS) \
#>- $(CXXFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
#>+ 2
CXXLINK = $(LIBTOOL) --tag=CXX --mode=link $(CXXLD) $(AM_CXXFLAGS) \
$(CXXFLAGS) $(KDE_CXXFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
SOURCES = $(khdapsmonitor_SOURCES)
DIST_SOURCES = $(khdapsmonitor_SOURCES)
am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
am__vpath_adj = case $$p in \
$(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
*) f=$$p;; \
esac;
am__strip_dir = `echo $$p | sed -e 's|^.*/||'`;
shelldesktopDATA_INSTALL = $(INSTALL_DATA)
DATA = $(shelldesktop_DATA)
HEADERS = $(noinst_HEADERS)
ETAGS = etags
CTAGS = ctags
#>- DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
#>+ 1
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) $(KDE_DIST)
ACLOCAL = @ACLOCAL@
AMDEP_FALSE = @AMDEP_FALSE@
AMDEP_TRUE = @AMDEP_TRUE@
AMTAR = @AMTAR@
AR = @AR@
ARTSCCONFIG = @ARTSCCONFIG@
AUTOCONF = @AUTOCONF@
AUTODIRS = @AUTODIRS@
AUTOHEADER = @AUTOHEADER@
AUTOMAKE = @AUTOMAKE@
AWK = @AWK@
CC = @CC@
CCDEPMODE = @CCDEPMODE@
CFLAGS = @CFLAGS@
CONF_FILES = @CONF_FILES@
CPP = @CPP@
CPPFLAGS = @CPPFLAGS@
CXX = @CXX@
CXXCPP = @CXXCPP@
CXXDEPMODE = @CXXDEPMODE@
CXXFLAGS = @CXXFLAGS@
CYGPATH_W = @CYGPATH_W@
DCOPIDL = @DCOPIDL@
DCOPIDL2CPP = @DCOPIDL2CPP@
DCOPIDLNG = @DCOPIDLNG@
DCOP_DEPENDENCIES = @DCOP_DEPENDENCIES@
DEFS = @DEFS@
DEPDIR = @DEPDIR@
DSYMUTIL = @DSYMUTIL@
DUMPBIN = @DUMPBIN@
ECHO_C = @ECHO_C@
ECHO_N = @ECHO_N@
ECHO_T = @ECHO_T@
EGREP = @EGREP@
ENABLE_PERMISSIVE_FLAG = @ENABLE_PERMISSIVE_FLAG@
EXEEXT = @EXEEXT@
FGREP = @FGREP@
FRAMEWORK_COREAUDIO = @FRAMEWORK_COREAUDIO@
GMSGFMT = @GMSGFMT@
GREP = @GREP@
HAVE_GCC_VISIBILITY = @HAVE_GCC_VISIBILITY@
INSTALL_DATA = @INSTALL_DATA@
INSTALL_PROGRAM = @INSTALL_PROGRAM@
INSTALL_SCRIPT = @INSTALL_SCRIPT@
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
KCFG_DEPENDENCIES = @KCFG_DEPENDENCIES@
KCONFIG_COMPILER = @KCONFIG_COMPILER@
KDECONFIG = @KDECONFIG@
KDE_CHECK_PLUGIN = @KDE_CHECK_PLUGIN@
KDE_EXTRA_RPATH = @KDE_EXTRA_RPATH@
KDE_INCLUDES = @KDE_INCLUDES@
KDE_LDFLAGS = @KDE_LDFLAGS@
KDE_MT_LDFLAGS = @KDE_MT_LDFLAGS@
KDE_MT_LIBS = @KDE_MT_LIBS@
KDE_NO_UNDEFINED = @KDE_NO_UNDEFINED@
KDE_PLUGIN = @KDE_PLUGIN@
KDE_RPATH = @KDE_RPATH@
KDE_USE_CLOSURE_FALSE = @KDE_USE_CLOSURE_FALSE@
KDE_USE_CLOSURE_TRUE = @KDE_USE_CLOSURE_TRUE@
KDE_USE_FINAL_FALSE = @KDE_USE_FINAL_FALSE@
KDE_USE_FINAL_TRUE = @KDE_USE_FINAL_TRUE@
KDE_USE_FPIE = @KDE_USE_FPIE@
KDE_USE_NMCHECK_FALSE = @KDE_USE_NMCHECK_FALSE@
KDE_USE_NMCHECK_TRUE = @KDE_USE_NMCHECK_TRUE@
KDE_USE_PIE = @KDE_USE_PIE@
KDE_XSL_STYLESHEET = @KDE_XSL_STYLESHEET@
LD = @LD@
LDFLAGS = @LDFLAGS@
LDFLAGS_AS_NEEDED = @LDFLAGS_AS_NEEDED@
LDFLAGS_NEW_DTAGS = @LDFLAGS_NEW_DTAGS@
LIBCOMPAT = @LIBCOMPAT@
LIBCRYPT = @LIBCRYPT@
LIBDL = @LIBDL@
LIBJPEG = @LIBJPEG@
LIBOBJS = @LIBOBJS@
LIBPNG = @LIBPNG@
LIBPTHREAD = @LIBPTHREAD@
LIBRESOLV = @LIBRESOLV@
LIBS = @LIBS@
LIBSM = @LIBSM@
LIBSOCKET = @LIBSOCKET@
LIBTOOL = @LIBTOOL@
LIBTQT_LDFLAGS = @LIBTQT_LDFLAGS@
LIBUCB = @LIBUCB@
LIBUTIL = @LIBUTIL@
LIBZ = @LIBZ@
LIB_KAB = @LIB_KAB@
LIB_KABC = @LIB_KABC@
LIB_KDECORE = @LIB_KDECORE@
LIB_KDED = @LIB_KDED@
LIB_KDEPIM = @LIB_KDEPIM@
LIB_KDEPRINT = @LIB_KDEPRINT@
LIB_KDEUI = @LIB_KDEUI@
LIB_KDNSSD = @LIB_KDNSSD@
LIB_KFILE = @LIB_KFILE@
LIB_KFM = @LIB_KFM@
LIB_KHTML = @LIB_KHTML@
LIB_KIMPROXY = @LIB_KIMPROXY@
LIB_KIO = @LIB_KIO@
LIB_KJS = @LIB_KJS@
LIB_KNEWSTUFF = @LIB_KNEWSTUFF@
LIB_KPARTS = @LIB_KPARTS@
LIB_KSPELL = @LIB_KSPELL@
LIB_KSYCOCA = @LIB_KSYCOCA@
LIB_KUNITTEST = @LIB_KUNITTEST@
LIB_KUTILS = @LIB_KUTILS@
LIB_POLL = @LIB_POLL@
LIB_QPE = @LIB_QPE@
LIB_QT = @LIB_QT@
LIB_SMB = @LIB_SMB@
LIB_X11 = @LIB_X11@
LIB_XEXT = @LIB_XEXT@
LIB_XRENDER = @LIB_XRENDER@
LIPO = @LIPO@
LN_S = @LN_S@
LTLIBOBJS = @LTLIBOBJS@
MAKEINFO = @MAKEINFO@
MAKEKDEWIDGETS = @MAKEKDEWIDGETS@
MCOPIDL = @MCOPIDL@
MEINPROC = @MEINPROC@
MOC = @MOC@
MSGFMT = @MSGFMT@
NM = @NM@
NMEDIT = @NMEDIT@
NOOPT_CFLAGS = @NOOPT_CFLAGS@
NOOPT_CXXFLAGS = @NOOPT_CXXFLAGS@
OBJDUMP = @OBJDUMP@
OBJEXT = @OBJEXT@
OTOOL = @OTOOL@
OTOOL64 = @OTOOL64@
PACKAGE = @PACKAGE@
PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
PACKAGE_NAME = @PACKAGE_NAME@
PACKAGE_STRING = @PACKAGE_STRING@
PACKAGE_TARNAME = @PACKAGE_TARNAME@
PACKAGE_URL = @PACKAGE_URL@
PACKAGE_VERSION = @PACKAGE_VERSION@
PATH_SEPARATOR = @PATH_SEPARATOR@
PERL = @PERL@
PKG_CONFIG = @PKG_CONFIG@
QTE_NORTTI = @QTE_NORTTI@
QT_INCLUDES = @QT_INCLUDES@
QT_LDFLAGS = @QT_LDFLAGS@
RANLIB = @RANLIB@
SED = @SED@
SET_MAKE = @SET_MAKE@
SHELL = @SHELL@
STRIP = @STRIP@
TOPSUBDIRS = @TOPSUBDIRS@
TQTDCOPIDL = @TQTDCOPIDL@
TQTDCOPIDL2CPP = @TQTDCOPIDL2CPP@
TQTDCOPIDLNG = @TQTDCOPIDLNG@
TQTMCOPIDL = @TQTMCOPIDL@
TQTMOC = @TQTMOC@
UIC = @UIC@
UIC_TR = @UIC_TR@
USER_INCLUDES = @USER_INCLUDES@
USER_LDFLAGS = @USER_LDFLAGS@
USE_EXCEPTIONS = @USE_EXCEPTIONS@
USE_RTTI = @USE_RTTI@
USE_THREADS = @USE_THREADS@
VERSION = @VERSION@
WOVERLOADED_VIRTUAL = @WOVERLOADED_VIRTUAL@
XGETTEXT = @XGETTEXT@
XMKMF = @XMKMF@
XMLLINT = @XMLLINT@
X_EXTRA_LIBS = @X_EXTRA_LIBS@
X_INCLUDES = @X_INCLUDES@
X_LDFLAGS = @X_LDFLAGS@
X_PRE_LIBS = @X_PRE_LIBS@
X_RPATH = @X_RPATH@
ac_ct_CC = @ac_ct_CC@
ac_ct_CXX = @ac_ct_CXX@
ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
all_includes = @all_includes@
all_libraries = @all_libraries@
am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@
am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@
am__include = @am__include@
am__leading_dot = @am__leading_dot@
am__quote = @am__quote@
am__tar = @am__tar@
am__untar = @am__untar@
bindir = @bindir@
build = @build@
build_alias = @build_alias@
build_cpu = @build_cpu@
build_os = @build_os@
build_vendor = @build_vendor@
datadir = @datadir@
datarootdir = @datarootdir@
docdir = @docdir@
dvidir = @dvidir@
exec_prefix = @exec_prefix@
host = @host@
host_alias = @host_alias@
host_cpu = @host_cpu@
host_os = @host_os@
host_vendor = @host_vendor@
htmldir = @htmldir@
include_ARTS_FALSE = @include_ARTS_FALSE@
include_ARTS_TRUE = @include_ARTS_TRUE@
include_x11_FALSE = @include_x11_FALSE@
include_x11_TRUE = @include_x11_TRUE@
includedir = @includedir@
infodir = @infodir@
install_sh = @install_sh@
kde_appsdir = @kde_appsdir@
kde_bindir = @kde_bindir@
kde_confdir = @kde_confdir@
kde_datadir = @kde_datadir@
kde_htmldir = @kde_htmldir@
kde_icondir = @kde_icondir@
kde_includes = @kde_includes@
kde_kcfgdir = @kde_kcfgdir@
kde_libraries = @kde_libraries@
kde_libs_htmldir = @kde_libs_htmldir@
kde_libs_prefix = @kde_libs_prefix@
kde_locale = @kde_locale@
kde_mimedir = @kde_mimedir@
kde_moduledir = @kde_moduledir@
kde_qtver = @kde_qtver@
kde_servicesdir = @kde_servicesdir@
kde_servicetypesdir = @kde_servicetypesdir@
kde_sounddir = @kde_sounddir@
kde_styledir = @kde_styledir@
kde_templatesdir = @kde_templatesdir@
kde_wallpaperdir = @kde_wallpaperdir@
kde_widgetdir = @kde_widgetdir@
kdeinitdir = @kdeinitdir@
libdir = @libdir@
libexecdir = @libexecdir@
localedir = @localedir@
localstatedir = @localstatedir@
lt_ECHO = @lt_ECHO@
mandir = @mandir@
mkdir_p = @mkdir_p@
oldincludedir = @oldincludedir@
pdfdir = @pdfdir@
prefix = @prefix@
program_transform_name = @program_transform_name@
psdir = @psdir@
qt_includes = @qt_includes@
qt_libraries = @qt_libraries@
sbindir = @sbindir@
sharedstatedir = @sharedstatedir@
sysconfdir = @sysconfdir@
target = @target@
target_alias = @target_alias@
target_cpu = @target_cpu@
target_os = @target_os@
target_vendor = @target_vendor@
unsermake_enable_pch_FALSE = @unsermake_enable_pch_FALSE@
unsermake_enable_pch_TRUE = @unsermake_enable_pch_TRUE@
x_includes = @x_includes@
x_libraries = @x_libraries@
xdg_appsdir = @xdg_appsdir@
xdg_directorydir = @xdg_directorydir@
xdg_menudir = @xdg_menudir@
# set the include path for X, qt and KDE
INCLUDES = $(all_includes)
# these are the headers for your project
noinst_HEADERS = khdapsmonitor.h khdapsmonitorwidget.h khdapsmonitormain.h khdapsmonitorsystray.h sysfs.h
# let automoc handle all of the meta source files (moc)
#>- METASOURCES = AUTO
KDE_ICON = AUTO
# the application source, library search path, and link libraries
#>- khdapsmonitor_SOURCES = main.cpp khdapsmonitor.cpp khdapsmonitorwidget.cpp \
#>- sysfs.cpp khdapsmonitorwidgetbase.ui \
#>- khdapsmonitormain.cpp khdapsmonitorsystray.cpp
#>+ 3
khdapsmonitor_SOURCES=main.cpp khdapsmonitor.cpp khdapsmonitorwidget.cpp \
sysfs.cpp \
khdapsmonitormain.cpp khdapsmonitorsystray.cpp khdapsmonitorwidgetbase.cpp
khdapsmonitor_LDFLAGS = $(KDE_RPATH) $(all_libraries)
khdapsmonitor_LDADD = $(LIB_KDEUI) $(LIB_KDECORE) -lDCOP $(LIB_QT)
# this is where the desktop file will go
shelldesktopdir = $(kde_appsdir)/System
shelldesktop_DATA = khdapsmonitor.desktop
#>- all: all-am
#>+ 1
all: docs-am all-am
.SUFFIXES:
.SUFFIXES: .cpp .lo .o .obj
$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
#>- @for dep in $?; do \
#>- case '$(am__configure_deps)' in \
#>- *$$dep*) \
#>- cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
#>- && exit 0; \
#>- exit 1;; \
#>- esac; \
#>- done; \
#>- echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu src/Makefile'; \
#>- cd $(top_srcdir) && \
#>- $(AUTOMAKE) --gnu src/Makefile
#>+ 12
@for dep in $?; do \
case '$(am__configure_deps)' in \
*$$dep*) \
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
&& exit 0; \
exit 1;; \
esac; \
done; \
echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu src/Makefile'; \
cd $(top_srcdir) && \
$(AUTOMAKE) --gnu src/Makefile
cd $(top_srcdir) && perl admin/am_edit src/Makefile.in
.PRECIOUS: Makefile
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
@case '$?' in \
*config.status*) \
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
*) \
echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
esac;
$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
$(top_srcdir)/configure: $(am__configure_deps)
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
$(ACLOCAL_M4): $(am__aclocal_m4_deps)
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
install-binPROGRAMS: $(bin_PROGRAMS)
@$(NORMAL_INSTALL)
test -z "$(bindir)" || $(mkdir_p) "$(DESTDIR)$(bindir)"
@list='$(bin_PROGRAMS)'; for p in $$list; do \
p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
if test -f $$p \
|| test -f $$p1 \
; then \
f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \
echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) '$$p' '$(DESTDIR)$(bindir)/$$f'"; \
$(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) "$$p" "$(DESTDIR)$(bindir)/$$f" || exit 1; \
else :; fi; \
done
uninstall-binPROGRAMS:
@$(NORMAL_UNINSTALL)
@list='$(bin_PROGRAMS)'; for p in $$list; do \
f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
echo " rm -f '$(DESTDIR)$(bindir)/$$f'"; \
rm -f "$(DESTDIR)$(bindir)/$$f"; \
done
clean-binPROGRAMS:
@list='$(bin_PROGRAMS)'; for p in $$list; do \
f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
echo " rm -f $$p $$f"; \
rm -f $$p $$f ; \
done
khdapsmonitor$(EXEEXT): $(khdapsmonitor_OBJECTS) $(khdapsmonitor_DEPENDENCIES)
@rm -f khdapsmonitor$(EXEEXT)
$(CXXLINK) $(khdapsmonitor_LDFLAGS) $(khdapsmonitor_OBJECTS) $(khdapsmonitor_LDADD) $(LIBS)
mostlyclean-compile:
-rm -f *.$(OBJEXT)
distclean-compile:
-rm -f *.tab.c
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/khdapsmonitor.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/khdapsmonitormain.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/khdapsmonitorsystray.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/khdapsmonitorwidget.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/main.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/sysfs.Po@am__quote@
.cpp.o:
@am__fastdepCXX_TRUE@ if $(CXXCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \
@am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
@am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ $<
.cpp.obj:
@am__fastdepCXX_TRUE@ if $(CXXCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ `$(CYGPATH_W) '$<'`; \
@am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
@am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
.cpp.lo:
@am__fastdepCXX_TRUE@ if $(LTCXXCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \
@am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Plo"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
@am__fastdepCXX_FALSE@ $(LTCXXCOMPILE) -c -o $@ $<
mostlyclean-libtool:
-rm -f *.lo
clean-libtool:
-rm -rf .libs _libs
distclean-libtool:
-rm -f libtool
uninstall-info-am:
install-shelldesktopDATA: $(shelldesktop_DATA)
@$(NORMAL_INSTALL)
test -z "$(shelldesktopdir)" || $(mkdir_p) "$(DESTDIR)$(shelldesktopdir)"
@list='$(shelldesktop_DATA)'; for p in $$list; do \
if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
f=$(am__strip_dir) \
echo " $(shelldesktopDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(shelldesktopdir)/$$f'"; \
$(shelldesktopDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(shelldesktopdir)/$$f"; \
done
uninstall-shelldesktopDATA:
@$(NORMAL_UNINSTALL)
@list='$(shelldesktop_DATA)'; for p in $$list; do \
f=$(am__strip_dir) \
echo " rm -f '$(DESTDIR)$(shelldesktopdir)/$$f'"; \
rm -f "$(DESTDIR)$(shelldesktopdir)/$$f"; \
done
ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
unique=`for i in $$list; do \
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
done | \
$(AWK) ' { files[$$0] = 1; } \
END { for (i in files) print i; }'`; \
mkid -fID $$unique
tags: TAGS
TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
$(TAGS_FILES) $(LISP)
tags=; \
here=`pwd`; \
list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
unique=`for i in $$list; do \
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
done | \
$(AWK) ' { files[$$0] = 1; } \
END { for (i in files) print i; }'`; \
if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
test -n "$$unique" || unique=$$empty_fix; \
$(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
$$tags $$unique; \
fi
ctags: CTAGS
CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
$(TAGS_FILES) $(LISP)
tags=; \
here=`pwd`; \
list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
unique=`for i in $$list; do \
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
done | \
$(AWK) ' { files[$$0] = 1; } \
END { for (i in files) print i; }'`; \
test -z "$(CTAGS_ARGS)$$tags$$unique" \
|| $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
$$tags $$unique
GTAGS:
here=`$(am__cd) $(top_builddir) && pwd` \
&& cd $(top_srcdir) \
&& gtags -i $(GTAGS_ARGS) $$here
distclean-tags:
-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
distdir: $(DISTFILES)
@srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
list='$(DISTFILES)'; for file in $$list; do \
case $$file in \
$(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
$(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
esac; \
if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
if test "$$dir" != "$$file" && test "$$dir" != "."; then \
dir="/$$dir"; \
$(mkdir_p) "$(distdir)$$dir"; \
else \
dir=''; \
fi; \
if test -d $$d/$$file; then \
if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
fi; \
cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
else \
test -f $(distdir)/$$file \
|| cp -p $$d/$$file $(distdir)/$$file \
|| exit 1; \
fi; \
done
check-am: all-am
check: check-am
all-am: Makefile $(PROGRAMS) $(DATA) $(HEADERS)
installdirs:
for dir in "$(DESTDIR)$(bindir)" "$(DESTDIR)$(shelldesktopdir)"; do \
test -z "$$dir" || $(mkdir_p) "$$dir"; \
done
install: install-am
install-exec: install-exec-am
install-data: install-data-am
uninstall: uninstall-am
install-am: all-am
@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
installcheck: installcheck-am
install-strip:
$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
`test -z '$(STRIP)' || \
echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
mostlyclean-generic:
clean-generic:
distclean-generic:
-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
maintainer-clean-generic:
@echo "This command is intended for maintainers to use"
@echo "it deletes files that may require special tools to rebuild."
#>- clean: clean-am
#>+ 1
clean: kde-rpo-clean clean-am
#>- clean-am: clean-binPROGRAMS clean-generic clean-libtool mostlyclean-am
#>+ 1
clean-am: clean-metasources clean-ui clean-bcheck clean-final clean-binPROGRAMS clean-generic clean-libtool mostlyclean-am
distclean: distclean-am
-rm -rf ./$(DEPDIR)
-rm -f Makefile
distclean-am: clean-am distclean-compile distclean-generic \
distclean-libtool distclean-tags
dvi: dvi-am
dvi-am:
html: html-am
info: info-am
info-am:
#>- install-data-am: install-shelldesktopDATA
#>+ 1
install-data-am: install-kde-icons install-shelldesktopDATA
install-exec-am: install-binPROGRAMS
install-info: install-info-am
install-man:
installcheck-am:
maintainer-clean: maintainer-clean-am
-rm -rf ./$(DEPDIR)
-rm -f Makefile
maintainer-clean-am: distclean-am maintainer-clean-generic
mostlyclean: mostlyclean-am
mostlyclean-am: mostlyclean-compile mostlyclean-generic \
mostlyclean-libtool
pdf: pdf-am
pdf-am:
ps: ps-am
ps-am:
#>- uninstall-am: uninstall-binPROGRAMS uninstall-info-am \
#>- uninstall-shelldesktopDATA
#>+ 2
uninstall-am: uninstall-kde-icons uninstall-binPROGRAMS uninstall-info-am \
uninstall-shelldesktopDATA
.PHONY: CTAGS GTAGS all all-am check check-am clean clean-binPROGRAMS \
clean-generic clean-libtool ctags distclean distclean-compile \
distclean-generic distclean-libtool distclean-tags distdir dvi \
dvi-am html html-am info info-am install install-am \
install-binPROGRAMS install-data install-data-am install-exec \
install-exec-am install-info install-info-am install-man \
install-shelldesktopDATA install-strip installcheck \
installcheck-am installdirs maintainer-clean \
maintainer-clean-generic mostlyclean mostlyclean-compile \
mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
tags uninstall uninstall-am uninstall-binPROGRAMS \
uninstall-info-am uninstall-shelldesktopDATA
messages: rc.cpp
$(EXTRACTRC) `find . -name \*.ui -o -name \*.rc` > rc.cpp
$(XGETTEXT) *.cpp -o $(podir)/khdapsmonitor.pot
# this is where the shell's XML-GUI resource file goes
#shellrcdir = $(kde_datadir)/khdapsmonitor
#shellrc_DATA = khdapsmonitorui.rc
# Tell versions [3.59,3.63) of GNU make to not export all variables.
# Otherwise a system limit (for SysV at least) may be exceeded.
.NOEXPORT:
#>+ 3
khdapsmonitorwidget.moc: $(srcdir)/khdapsmonitorwidget.h
$(TQTMOC) $(srcdir)/khdapsmonitorwidget.h -o khdapsmonitorwidget.moc
#>+ 2
mocs: khdapsmonitorwidget.moc
#>+ 3
khdapsmonitor.moc: $(srcdir)/khdapsmonitor.h
$(TQTMOC) $(srcdir)/khdapsmonitor.h -o khdapsmonitor.moc
#>+ 2
mocs: khdapsmonitor.moc
#>+ 3
khdapsmonitorsystray.moc: $(srcdir)/khdapsmonitorsystray.h
$(TQTMOC) $(srcdir)/khdapsmonitorsystray.h -o khdapsmonitorsystray.moc
#>+ 2
mocs: khdapsmonitorsystray.moc
#>+ 3
khdapsmonitormain.moc: $(srcdir)/khdapsmonitormain.h
$(TQTMOC) $(srcdir)/khdapsmonitormain.h -o khdapsmonitormain.moc
#>+ 2
mocs: khdapsmonitormain.moc
#>+ 3
clean-metasources:
-rm -f khdapsmonitorwidget.moc khdapsmonitor.moc khdapsmonitorsystray.moc khdapsmonitormain.moc
#>+ 2
KDE_DIST=khdapsmonitor.lsm hi22-device-khdaps_error.png Makefile.in khdapsmonitorwidgetbase.h hi16-app-khdapsmonitor.png khdapsmonitorui.rc hi32-app-khdapsmonitor.png khdapsmonitor.desktop hi22-device-khdaps_pause.png hi22-device-khdaps_play.png Makefile.am khdapsmonitorwidgetbase.ui
#>+ 4
clean-ui:
-rm -f \
khdapsmonitorwidgetbase.cpp khdapsmonitorwidgetbase.h khdapsmonitorwidgetbase.moc
#>+ 2
docs-am:
#>+ 17
install-kde-icons:
$(mkinstalldirs) $(DESTDIR)$(kde_icondir)/hicolor/22x22/devices
$(INSTALL_DATA) $(srcdir)/hi22-device-khdaps_error.png $(DESTDIR)$(kde_icondir)/hicolor/22x22/devices/khdaps_error.png
$(mkinstalldirs) $(DESTDIR)$(kde_icondir)/hicolor/16x16/apps
$(INSTALL_DATA) $(srcdir)/hi16-app-khdapsmonitor.png $(DESTDIR)$(kde_icondir)/hicolor/16x16/apps/khdapsmonitor.png
$(INSTALL_DATA) $(srcdir)/hi22-device-khdaps_pause.png $(DESTDIR)$(kde_icondir)/hicolor/22x22/devices/khdaps_pause.png
$(INSTALL_DATA) $(srcdir)/hi22-device-khdaps_play.png $(DESTDIR)$(kde_icondir)/hicolor/22x22/devices/khdaps_play.png
$(mkinstalldirs) $(DESTDIR)$(kde_icondir)/hicolor/32x32/apps
$(INSTALL_DATA) $(srcdir)/hi32-app-khdapsmonitor.png $(DESTDIR)$(kde_icondir)/hicolor/32x32/apps/khdapsmonitor.png
uninstall-kde-icons:
-rm -f $(DESTDIR)$(kde_icondir)/hicolor/22x22/devices/khdaps_error.png
-rm -f $(DESTDIR)$(kde_icondir)/hicolor/16x16/apps/khdapsmonitor.png
-rm -f $(DESTDIR)$(kde_icondir)/hicolor/22x22/devices/khdaps_pause.png
-rm -f $(DESTDIR)$(kde_icondir)/hicolor/22x22/devices/khdaps_play.png
-rm -f $(DESTDIR)$(kde_icondir)/hicolor/32x32/apps/khdapsmonitor.png
#>+ 15
force-reedit:
@for dep in $?; do \
case '$(am__configure_deps)' in \
*$$dep*) \
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
&& exit 0; \
exit 1;; \
esac; \
done; \
echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu src/Makefile'; \
cd $(top_srcdir) && \
$(AUTOMAKE) --gnu src/Makefile
cd $(top_srcdir) && perl admin/am_edit src/Makefile.in
#>+ 21
clean-bcheck:
rm -f *.bchecktest.cc *.bchecktest.cc.class a.out
bcheck: bcheck-am
bcheck-am:
@for i in ; do \
if test $(srcdir)/$$i -nt $$i.bchecktest.cc; then \
echo "int main() {return 0;}" > $$i.bchecktest.cc ; \
echo "#include \"$$i\"" >> $$i.bchecktest.cc ; \
echo "$$i"; \
if ! $(CXXCOMPILE) --dump-class-hierarchy -c $$i.bchecktest.cc; then \
rm -f $$i.bchecktest.cc; exit 1; \
fi ; \
echo "" >> $$i.bchecktest.cc.class; \
perl $(top_srcdir)/admin/bcheck.pl $$i.bchecktest.cc.class || { rm -f $$i.bchecktest.cc; exit 1; }; \
rm -f a.out; \
fi ; \
done
#>+ 11
khdapsmonitor.all_cpp.cpp: $(srcdir)/Makefile.in $(srcdir)/main.cpp $(srcdir)/khdapsmonitor.cpp $(srcdir)/khdapsmonitorwidget.cpp $(srcdir)/sysfs.cpp $(srcdir)/khdapsmonitormain.cpp $(srcdir)/khdapsmonitorsystray.cpp $(srcdir)/khdapsmonitorwidgetbase.cpp khdapsmonitor.moc khdapsmonitorwidget.moc khdapsmonitorwidgetbase.moc khdapsmonitorsystray.moc khdapsmonitormain.moc
@echo 'creating khdapsmonitor.all_cpp.cpp ...'; \
rm -f khdapsmonitor.all_cpp.files khdapsmonitor.all_cpp.final; \
echo "#define KDE_USE_FINAL 1" >> khdapsmonitor.all_cpp.final; \
for file in main.cpp khdapsmonitor.cpp khdapsmonitorwidget.cpp sysfs.cpp khdapsmonitormain.cpp khdapsmonitorsystray.cpp khdapsmonitorwidgetbase.cpp ; do \
echo "#include \"$$file\"" >> khdapsmonitor.all_cpp.files; \
test ! -f $(srcdir)/$$file || egrep '^#pragma +implementation' $(srcdir)/$$file >> khdapsmonitor.all_cpp.final; \
done; \
cat khdapsmonitor.all_cpp.final khdapsmonitor.all_cpp.files > khdapsmonitor.all_cpp.cpp; \
rm -f khdapsmonitor.all_cpp.final khdapsmonitor.all_cpp.files
#>+ 3
clean-final:
-rm -f khdapsmonitor.all_cpp.cpp
#>+ 3
final:
$(MAKE) khdapsmonitor_OBJECTS="$(khdapsmonitor_final_OBJECTS)" all-am
#>+ 3
final-install:
$(MAKE) khdapsmonitor_OBJECTS="$(khdapsmonitor_final_OBJECTS)" install-am
#>+ 3
no-final:
$(MAKE) khdapsmonitor_OBJECTS="$(khdapsmonitor_nofinal_OBJECTS)" all-am
#>+ 3
no-final-install:
$(MAKE) khdapsmonitor_OBJECTS="$(khdapsmonitor_nofinal_OBJECTS)" install-am
#>+ 3
kde-rpo-clean:
-rm -f *.rpo
#>+ 17
$(srcdir)/khdapsmonitorsystray.cpp: khdapsmonitorwidgetbase.h
$(srcdir)/khdapsmonitor.cpp: khdapsmonitorwidgetbase.h
$(srcdir)/main.cpp: khdapsmonitorwidgetbase.h
$(srcdir)/khdapsmonitorwidget.cpp: khdapsmonitorwidgetbase.h
khdapsmonitorwidget.lo: khdapsmonitorwidget.moc
khdapsmonitorsystray.lo: khdapsmonitorsystray.moc
khdapsmonitormain.lo: khdapsmonitormain.moc
nmcheck:
nmcheck-am: nmcheck
$(srcdir)/sysfs.cpp: khdapsmonitorwidgetbase.h
khdapsmonitor.lo: khdapsmonitor.moc
$(srcdir)/khdapsmonitormain.cpp: khdapsmonitorwidgetbase.h
khdapsmonitormain.o: khdapsmonitormain.moc
khdapsmonitorsystray.o: khdapsmonitorsystray.moc
khdapsmonitor.o: khdapsmonitor.moc
khdapsmonitorwidget.o: khdapsmonitorwidget.moc
#>+ 15
khdapsmonitorwidgetbase.cpp: $(srcdir)/khdapsmonitorwidgetbase.ui khdapsmonitorwidgetbase.h khdapsmonitorwidgetbase.moc
rm -f khdapsmonitorwidgetbase.cpp
echo '#include <kdialog.h>' > khdapsmonitorwidgetbase.cpp
echo '#include <klocale.h>' >> khdapsmonitorwidgetbase.cpp
$(UIC) -tr ${UIC_TR} -i khdapsmonitorwidgetbase.h $(srcdir)/khdapsmonitorwidgetbase.ui > khdapsmonitorwidgetbase.cpp.temp ; ret=$$?; \
$(PERL) -pe "s,${UIC_TR}( \"\" ),QString::null,g" khdapsmonitorwidgetbase.cpp.temp | $(PERL) -pe "s,${UIC_TR}( \"\"\, \"\" ),QString::null,g" | $(PERL) -pe "s,image([0-9][0-9]*)_data,img\$$1_khdapsmonitorwidgetbase,g" | $(PERL) -pe "s,: QWizard\(,: KWizard(,g" >> khdapsmonitorwidgetbase.cpp ;\
rm -f khdapsmonitorwidgetbase.cpp.temp ;\
if test "$$ret" = 0; then echo '#include "khdapsmonitorwidgetbase.moc"' >> khdapsmonitorwidgetbase.cpp; else rm -f khdapsmonitorwidgetbase.cpp ; exit $$ret ; fi
khdapsmonitorwidgetbase.h: $(srcdir)/khdapsmonitorwidgetbase.ui
rm -rf khdapsmonitorwidgetbase.h;
$(UIC) $(srcdir)/khdapsmonitorwidgetbase.ui | $(PERL) -pi -e "s,public QWizard,public KWizard,g; s,#include <qwizard.h>,#include <kwizard.h>,g" >> khdapsmonitorwidgetbase.h ;
khdapsmonitorwidgetbase.moc: khdapsmonitorwidgetbase.h
$(TQTMOC) khdapsmonitorwidgetbase.h -o khdapsmonitorwidgetbase.moc

@ -0,0 +1,18 @@
## ---------------------- ##
## Running config.status. ##
## ---------------------- ##
This file was extended by config.status, which was
generated by GNU Autoconf 2.68. Invocation command line was
CONFIG_FILES =
CONFIG_HEADERS =
CONFIG_LINKS =
CONFIG_COMMANDS =
$ ../config.status
on boxi
config.status:1308: creating Makefile
config.status:1294: error: cannot find input file: `doc/Makefile.in'

Binary file not shown.

After

Width:  |  Height:  |  Size: 651 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

@ -0,0 +1,53 @@
/***************************************************************************
* Copyright (C) 2006 by Roy Marples *
* roy@marples.name *
* *
* This program is free software; you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
* the Free Software Foundation; either version 2 of the License, or *
* (at your option) any later version. *
* *
* This program is distributed in the hope that it will be useful, *
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
* GNU General Public License for more details. *
* *
* You should have received a copy of the GNU General Public License *
* along with this program; if not, write to the *
* Free Software Foundation, Inc., *
* 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *
***************************************************************************/
#include <kconfig.h>
#include <klocale.h>
#include <kmainwindow.h>
#include <kwin.h>
#include "khdapsmonitor.h"
#include "khdapsmonitorwidget.h"
KHDAPSMonitor::KHDAPSMonitor()
: KUniqueApplication()
{
window = 0;
}
KHDAPSMonitor::~KHDAPSMonitor()
{
delete window;
}
int KHDAPSMonitor::newInstance()
{
if (window)
KWin::activateWindow(window->winId());
else
{
window = new KHDAPSMonitorMain();
if (isRestored() && KMainWindow::canBeRestored(0))
window->restore(0, FALSE);
}
return 0;
}
#include "khdapsmonitor.moc"

@ -0,0 +1,9 @@
[Desktop Entry]
Encoding=UTF-8
Name=KHDAPSMonitor
Exec=khdapsmonitor
Icon=khdapsmonitor
Type=Application
GenericName=HDAPS Monitor
Categories=Application;System;
Icon=khdaps_play.png

@ -0,0 +1,56 @@
/***************************************************************************
* Copyright (C) 2006 by Roy Marples *
* roy@marples.name *
* *
* This program is free software; you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
* the Free Software Foundation; either version 2 of the License, or *
* (at your option) any later version. *
* *
* This program is distributed in the hope that it will be useful, *
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
* GNU General Public License for more details. *
* *
* You should have received a copy of the GNU General Public License *
* along with this program; if not, write to the *
* Free Software Foundation, Inc., *
* 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *
***************************************************************************/
#ifndef _KHDAPSMONITOR_H_
#define _KHDAPSMONITOR_H_
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include <kuniqueapplication.h>
#include <khdapsmonitormain.h>
/**
* @short Application Main Window
* @author Roy Marples <roy@marples.name>
* @version 0.1
*/
class KHDAPSMonitor : public KUniqueApplication
{
Q_OBJECT
public:
/**
* Default Constructor
*/
KHDAPSMonitor();
int newInstance();
/**
* Default Destructor
*/
virtual ~KHDAPSMonitor();
private:
KHDAPSMonitorMain * window;
};
#endif // _KHDAPSMONITOR_H_

@ -0,0 +1,16 @@
Begin3
Title: KHDAPSMonitor -- Some description
Version: 0.1
Entered-date:
Description:
Keywords: KDE Qt
Author: Roy Marples <roy@marples.name>
Maintained-by: Roy Marples <roy@marples.name>
Home-page:
Alternate-site:
Primary-site: ftp://ftp.kde.org/pub/kde/unstable/apps/utils
xxxxxx khdapsmonitor-0.1.tar.gz
xxx khdapsmonitor-0.1.lsm
Platform: Linux. Needs KDE
Copying-policy: GPL
End

@ -0,0 +1,66 @@
/***************************************************************************
* Copyright (C) 2006 by Roy Marples *
* roy@marples.name *
* *
* This program is free software; you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
* the Free Software Foundation; either version 2 of the License, or *
* (at your option) any later version. *
* *
* This program is distributed in the hope that it will be useful, *
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
* GNU General Public License for more details. *
* *
* You should have received a copy of the GNU General Public License *
* along with this program; if not, write to the *
* Free Software Foundation, Inc., *
* 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *
***************************************************************************/
#include <kapplication.h>
#include <kconfig.h>
#include <klocale.h>
#include "khdapsmonitormain.h"
KHDAPSMonitorMain::KHDAPSMonitorMain() : KMainWindow()
{
widget = new KHDAPSMonitorWidget(this);
setCentralWidget(widget);
trayIcon = new KHDAPSMonitorSysTray(this, "KHDAPSMonitorSysTray");
trayIcon->show();
timer = new QTimer(this);
connect(timer, SIGNAL(timeout()), this, SLOT(update()));
timer->start(UPDATE_INTERVAL);
setAutoSaveSettings();
}
KHDAPSMonitorMain::~KHDAPSMonitorMain()
{
timer->stop();
delete timer;
delete trayIcon;
delete widget;
}
void KHDAPSMonitorMain::update()
{
if (isVisible())
widget->update();
}
bool KHDAPSMonitorMain::queryClose ( )
{
if (! kapp->sessionSaving())
{
hide();
return false;
}
return true;
}
#include "khdapsmonitormain.moc"

@ -0,0 +1,47 @@
/***************************************************************************
* Copyright (C) 2006 by Roy Marples *
* roy@marples.name *
* *
* This program is free software; you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
* the Free Software Foundation; either version 2 of the License, or *
* (at your option) any later version. *
* *
* This program is distributed in the hope that it will be useful, *
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
* GNU General Public License for more details. *
* *
* You should have received a copy of the GNU General Public License *
* along with this program; if not, write to the *
* Free Software Foundation, Inc., *
* 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *
***************************************************************************/
#ifndef KHDAPSMONITORMAIN_H
#define KHDAPSMONITORMAIN_H
#include <kmainwindow.h>
#include <qtimer.h>
#include "khdapsmonitorwidget.h"
#include "khdapsmonitorsystray.h"
class KHDAPSMonitorMain : public KMainWindow
{
Q_OBJECT
public:
KHDAPSMonitorMain();
~KHDAPSMonitorMain();
public slots:
void update();
protected:
bool queryClose();
private:
KHDAPSMonitorSysTray * trayIcon;
KHDAPSMonitorWidget * widget;
SysFS sysFS;
QTimer * timer;
};
#endif // KHDAPSMONITORMAIN_H

@ -0,0 +1,104 @@
/***************************************************************************
* Copyright (C) 2006 by Roy Marples *
* roy@marples.name *
* *
* This program is free software; you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
* the Free Software Foundation; either version 2 of the License, or *
* (at your option) any later version. *
* *
* This program is distributed in the hope that it will be useful, *
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
* GNU General Public License for more details. *
* *
* You should have received a copy of the GNU General Public License *
* along with this program; if not, write to the *
* Free Software Foundation, Inc., *
* 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *
***************************************************************************/
#include <kaboutapplication.h>
#include <kapplication.h>
#include <klocale.h>
#include <kpopupmenu.h>
#include <qtooltip.h>
#include "khdapsmonitorsystray.h"
KHDAPSMonitorSysTray::KHDAPSMonitorSysTray(QWidget * parent, const char * name)
: KSystemTray(parent, name)
{
contextMenu()->insertItem(I18N_NOOP("About KHDAPS Monitor"), this, SLOT(about()), CTRL+Key_A);
connect(this, SIGNAL(quitSelected()), kapp, SLOT(quit()));
update();
timer = new QTimer(this);
connect(timer, SIGNAL(timeout()), this, SLOT(update()));
timer->start(UPDATE_INTERVAL);
}
KHDAPSMonitorSysTray::~KHDAPSMonitorSysTray()
{
timer->stop();
delete timer;
}
void KHDAPSMonitorSysTray::about()
{
KAboutApplication(this,"kaboutapplication",TRUE).exec();
}
void KHDAPSMonitorSysTray::update()
{
QStringList dList = sysFS.deviceList();
QString newPixmap = KHDAPS_ICON_ERROR;
QString newToolTip;
if (! sysFS.hasHDAPS())
{
newToolTip = I18N_NOOP("ERROR: Kernel does not support HDAPS");
}
else if (dList.count() == 0)
{
newToolTip = I18N_NOOP("ERROR: No devices found that use HDAPS");
}
else
newPixmap = KHDAPS_ICON_PLAY;
if (dList.count() == 1)
newToolTip = I18N_NOOP("Monitoring device ");
else
newToolTip = I18N_NOOP("Monitoring devices ");
unsigned int i;
for (i = 0; i < dList.count(); i++)
{
if (i > 0)
newToolTip += ", ";
newToolTip += dList[i];
if (sysFS.queueProtected(dList[i]))
{
newPixmap = KHDAPS_ICON_PAUSE;
newToolTip = I18N_NOOP("Device paused ") + dList[i];
break;
}
}
if (oldPixmap != newPixmap)
{
oldPixmap = newPixmap;
setPixmap(loadIcon(newPixmap));
}
if (oldToolTip != newToolTip)
{
if (oldToolTip != "")
QToolTip::remove(this);
oldToolTip = newToolTip;
QToolTip::add(this, newToolTip);
}
}
#include "khdapsmonitorsystray.moc"

@ -0,0 +1,51 @@
/***************************************************************************
* Copyright (C) 2006 by Roy Marples *
* roy@marples.name *
* *
* This program is free software; you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
* the Free Software Foundation; either version 2 of the License, or *
* (at your option) any later version. *
* *
* This program is distributed in the hope that it will be useful, *
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
* GNU General Public License for more details. *
* *
* You should have received a copy of the GNU General Public License *
* along with this program; if not, write to the *
* Free Software Foundation, Inc., *
* 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *
***************************************************************************/
#ifndef KHDAPSMONITORSYSTEMTRAY_H
#define KHDAPSMONITORSYSTEMTRAY_H
#include <ksystemtray.h>
#include <qtimer.h>
#include "sysfs.h"
#define KHDAPS_ICON_PLAY "khdaps_play"
#define KHDAPS_ICON_PAUSE "khdaps_pause"
#define KHDAPS_ICON_ERROR "khdaps_error"
#define UPDATE_INTERVAL 250
class KHDAPSMonitorSysTray : public KSystemTray
{
Q_OBJECT
public:
KHDAPSMonitorSysTray(QWidget * parent, const char * name);
~KHDAPSMonitorSysTray();
public slots:
void about();
void update();
private:
QString oldPixmap;
QString oldToolTip;
SysFS sysFS;
QTimer * timer;
};
#endif // KHDAPSMONITORSYSTEMTRAY_H

@ -0,0 +1,8 @@
<!DOCTYPE kpartgui SYSTEM "kpartgui.dtd">
<kpartgui name="khdapsmonitor" version="1">
<MenuBar>
<Menu name="custom"><text>C&amp;ustom</text>
<Action name="custom_action" />
</Menu>
</MenuBar>
</kpartgui>

@ -0,0 +1,80 @@
/***************************************************************************
* Copyright (C) 2006 by Roy Marples *
* roy@marples.name *
* *
* This program is free software; you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
* the Free Software Foundation; either version 2 of the License, or *
* (at your option) any later version. *
* *
* This program is distributed in the hope that it will be useful, *
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
* GNU General Public License for more details. *
* *
* You should have received a copy of the GNU General Public License *
* along with this program; if not, write to the *
* Free Software Foundation, Inc., *
* 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *
***************************************************************************/
#include <klocale.h>
#include <qlabel.h>
#include <qlistview.h>
#include <qimage.h>
#include "khdapsmonitorwidget.h"
#include "sysfs.h"
KHDAPSMonitorWidget::KHDAPSMonitorWidget(QWidget* parent, const char* name, WFlags fl)
: KHDAPSMonitorWidgetBase(parent,name,fl)
{
update();
}
KHDAPSMonitorWidget::~KHDAPSMonitorWidget()
{}
void KHDAPSMonitorWidget::update()
{
if (! sysFS.hasHDAPS())
{
keyboardActivity->setText(I18N_NOOP("n/a"));
mouseActivity->setText(I18N_NOOP("n/a"));
position->setText(I18N_NOOP("n/a"));
deviceList->clear();
return;
}
keyboardActivity->setText(sysFS.keyboardActivity() ? I18N_NOOP("Yes") : I18N_NOOP("No"));
mouseActivity->setText(sysFS.mouseActivity() ? I18N_NOOP("Yes") : I18N_NOOP("No"));
position->setText(sysFS.position());
QStringList dList = sysFS.deviceList();
unsigned int i;
QListViewItem * item;
for (i = 0; i < dList.count(); i++)
{
item = deviceList->findItem(dList[i], 0);
if (item == NULL)
item = new QListViewItem(deviceList, dList[i]);
item->setText(1, sysFS.queueProtected(dList[i]) ? I18N_NOOP("Yes") : I18N_NOOP("No"));
}
/* Remove devices from the ListView that we are no longer monitoring
* Is there a better way of doing this? */
item = deviceList->firstChild();
while (item)
{
for (i = 0; i < dList.count(); i++)
if (dList[i] == item->text(0))
break;
QListViewItem * nextItem = item->nextSibling();
if (i >= dList.count())
delete item;
item = nextItem;
}
}
#include "khdapsmonitorwidget.moc"

@ -0,0 +1,54 @@
/***************************************************************************
* Copyright (C) 2006 by Roy Marples *
* roy@marples.name *
* *
* This program is free software; you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
* the Free Software Foundation; either version 2 of the License, or *
* (at your option) any later version. *
* *
* This program is distributed in the hope that it will be useful, *
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
* GNU General Public License for more details. *
* *
* You should have received a copy of the GNU General Public License *
* along with this program; if not, write to the *
* Free Software Foundation, Inc., *
* 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *
***************************************************************************/
#ifndef _KHDAPSMONITORWIDGET_H_
#define _KHDAPSMONITORWIDGET_H_
#include "khdapsmonitorwidgetbase.h"
#include "sysfs.h"
#define UPDATE_INTERVAL 250
class KHDAPSMonitorWidget : public KHDAPSMonitorWidgetBase
{
Q_OBJECT
public:
KHDAPSMonitorWidget(QWidget* parent = 0, const char* name = 0, WFlags fl = 0 );
~KHDAPSMonitorWidget();
/*$PUBLIC_FUNCTIONS$*/
public slots:
void update();
/*$PUBLIC_SLOTS$*/
protected:
/*$PROTECTED_FUNCTIONS$*/
protected slots:
/*$PROTECTED_SLOTS$*/
private:
SysFS sysFS;
};
#endif

@ -0,0 +1,165 @@
<!DOCTYPE UI><UI version="3.3" stdsetdef="1">
<class>KHDAPSMonitorWidgetBase</class>
<widget class="QWidget">
<property name="name">
<cstring>khdapsmonitorwidgetbase</cstring>
</property>
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>368</width>
<height>220</height>
</rect>
</property>
<property name="sizePolicy">
<sizepolicy>
<hsizetype>3</hsizetype>
<vsizetype>3</vsizetype>
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="caption">
<string>KHDAPS Monitor</string>
</property>
<property name="icon">
<pixmap>image0</pixmap>
</property>
<property name="iconText">
<string>foo</string>
</property>
<grid>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="QFrame" row="0" column="0">
<property name="name">
<cstring>frame3</cstring>
</property>
<property name="frameShape">
<enum>StyledPanel</enum>
</property>
<property name="frameShadow">
<enum>Raised</enum>
</property>
<grid>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="QLabel" row="1" column="1">
<property name="name">
<cstring>mouseActivity</cstring>
</property>
<property name="font">
<font>
<bold>1</bold>
</font>
</property>
<property name="text">
<string>Yes</string>
</property>
</widget>
<widget class="QLabel" row="0" column="1">
<property name="name">
<cstring>keyboardActivity</cstring>
</property>
<property name="font">
<font>
<bold>1</bold>
</font>
</property>
<property name="text">
<string>Yes</string>
</property>
</widget>
<widget class="QLabel" row="2" column="1">
<property name="name">
<cstring>position</cstring>
</property>
<property name="font">
<font>
<bold>1</bold>
</font>
</property>
<property name="text">
<string>(000,000)</string>
</property>
</widget>
<widget class="QLabel" row="0" column="0">
<property name="name">
<cstring>keyboardLabel</cstring>
</property>
<property name="text">
<string>Keyboard Activity </string>
</property>
</widget>
<widget class="QLabel" row="1" column="0">
<property name="name">
<cstring>mouseLabel</cstring>
</property>
<property name="text">
<string>Mouse Activity</string>
</property>
</widget>
<widget class="QLabel" row="2" column="0">
<property name="name">
<cstring>positionLabel</cstring>
</property>
<property name="text">
<string>Position</string>
</property>
</widget>
</grid>
</widget>
<widget class="QListView" row="1" column="0">
<column>
<property name="text">
<string>Device</string>
</property>
<property name="clickable">
<bool>true</bool>
</property>
<property name="resizable">
<bool>true</bool>
</property>
</column>
<column>
<property name="text">
<string>Queue Protected</string>
</property>
<property name="clickable">
<bool>true</bool>
</property>
<property name="resizable">
<bool>true</bool>
</property>
</column>
<property name="name">
<cstring>deviceList</cstring>
</property>
<property name="resizePolicy">
<enum>AutoOneFit</enum>
</property>
<property name="vScrollBarMode">
<enum>Auto</enum>
</property>
<property name="showSortIndicator">
<bool>false</bool>
</property>
<property name="resizeMode">
<enum>LastColumn</enum>
</property>
</widget>
</grid>
</widget>
<images>
<image name="image0">
<data format="PNG" length="1121">89504e470d0a1a0a0000000d4948445200000016000000160806000000c4b46c3b0000042849444154388da5954d881c4514c77fef5555cf74efccf46c76361fae9baf8d24a221e8450878124c1084043c79f1e4cda3278f9ebc7b13f1e8493482e0462f1a102318891a4d56b3d1889a6c7667b3b399d999e9eea9f2d093c9063f72f041c1ab82fef17f55fff75a420800bcf9d6fb2149aa346a09d6598c2aa2828aa0aa88808a224650515405415023e479c1eada066bed0eafbc7c5a002484808884c57397b01ae86cacb37fff7e5464021611f46eae820a93334158ba7a8d7aad4e77e0b9f0d5d7bcf6ea4b6219c7c9a71f07e0dd339fb0f4d3658c2ac6286ab4cc55b12ea2de48694d4f0350142396af5fe7f0a183e4f988ee1f6da228026002be1b2f9e7a168013274f1045d16439e7989fdfcbf1679e6747b38902dd5e8fa92421cf738c2951c69a7f06df8db38b6779ef8333a56a3518a3d4ea29bd02820f747a5dd2469d5e7f409e8f70ce9560f30030c00ba74f71e5da0d4623cf6038c459434b2dc32ca35aade0cbf721cb73e250c5189d5c85fe171881a5e55fb9b9b68ef7b035cc595bbfcd30cb5035841030aae44551e64699aa4d3d40b1c0f98bd7c6ae0055c188a15aa92002210442005125cb737c085855e224f917c552ae2f2e5cc5fbc02804d6373afcf2dbefdc58b94596e584002180f71057ab747b5b13c5c9186cef03021f7f7e9146a38e0820c237df7ecfd1478f30dd4c11e0e6ea2a49526576660611c1d908e72c218cabdaee8ac573975011fa832dea8d5a697c15b2e190c30b0b386b093e800a7b76ee64b5dd46957137c274da282da7f72e60a23800d38d460991f2a33889997fa846518c180c732ace92c41149ad8af701d1b2aa6a54051154fd04ac5096a00a85f7cccdb4a8461667146b944eb7cfd630c35a43ee3d9dde000858231855e22822a95600c69e175e7fe3ed604c3c1ff61ed887482973b3d765617e1655a5f01e63cad646042372afbdada1594b08ded3e9f5112d67cad630e7d68d156c548910154645811a43e103977efe9399748addb3754495d1c8538c3c4615670daac27098b3d2ee508c3c2a425e1493b77195081b4511aaca9d3b1ba08e747a1a11e1f69d3e1bdd3eaa42c55a2a158b0f501405817b134e4afb70ebe60aa310481a3b70ce61a38a238a0cbb1f9ebbdfce2293e6101172ef5101ebcc04b81dbeefe03e446063b38f7306bb7bb649d6ed30c8f27f6e40d966f2c9be3cdb964e12a3c2ae99067665759d1fae2cf3e5679fa22a38578e48e7228c311863180c7a542a31793e64342a88a20ace391a6983838f3df937313ecbb0495c656e6e0f8f1c5a208e539c8bb0d61145161dbffef2f21269da607dbdcde6e60669a3419a4e538d1d3b5b2d003ebcfc0e7bf5084f1c3e4e6fb3839d8a1376ccb4e8b5afd36c3669365b3857218e6b1853aa3e76ec28699a92e77db22c238ea788a20a83e180a1574208fc58ff8e797b805dad16ede0cb7fde478be7831d0fe8ff1bde7b9e3bf194fc05ce017f064a6d80040000000049454e44ae426082</data>
</image>
</images>
<slots>
<slot>device_selected()</slot>
</slots>
<layoutdefaults spacing="6" margin="11"/>
</UI>

@ -0,0 +1,53 @@
/***************************************************************************
* Copyright (C) 2006 by Roy Marples *
* roy@marples.name *
* *
* This program is free software; you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
* the Free Software Foundation; either version 2 of the License, or *
* (at your option) any later version. *
* *
* This program is distributed in the hope that it will be useful, *
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
* GNU General Public License for more details. *
* *
* You should have received a copy of the GNU General Public License *
* along with this program; if not, write to the *
* Free Software Foundation, Inc., *
* 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *
***************************************************************************/
#include "khdapsmonitor.h"
#include <kapplication.h>
#include <kaboutdata.h>
#include <kcmdlineargs.h>
#include <klocale.h>
static const char description[] =
I18N_NOOP("HDAPS Monitor for KDE");
static const char version[] = "0.1";
static KCmdLineOptions options[] =
{
// { "+[URL]", I18N_NOOP( "Document to open" ), 0 },
KCmdLineLastOption
};
int main(int argc, char **argv)
{
KAboutData about("khdapsmonitor", I18N_NOOP("KHDAPSMonitor"), version, description,
KAboutData::License_GPL, "(C) 2006 Roy Marples", 0, "http://roy.marples.name",
"bugs@marples.name");
about.addAuthor( "Roy Marples", 0, "roy@marples.name" );
KCmdLineArgs::init(argc, argv, &about);
KCmdLineArgs::addCmdLineOptions( options );
if (! KHDAPSMonitor::start())
return 0;
KHDAPSMonitor app;
return app.exec();
}

@ -0,0 +1,89 @@
#include <qdir.h>
#include <kdebug.h>
#include "sysfs.h"
SysFS::SysFS()
{}
SysFS::~SysFS()
{}
bool SysFS::hasHDAPS()
{
QDir d("/sys/devices/platform/hdaps");
return d.isReadable();
}
bool SysFS::fileBool(QString path)
{
QFile file;
QTextStream stream;
file.setName(path);
if(! file.exists() || ! file.open(IO_ReadOnly))
return FALSE;
stream.setDevice(&file);
return stream.readLine().toInt(NULL, 10);
}
bool SysFS::keyboardActivity()
{
return fileBool("/sys/devices/platform/hdaps/keyboard_activity");
}
bool SysFS::mouseActivity()
{
return fileBool("/sys/devices/platform/hdaps/mouse_activity");
}
QString SysFS::position()
{
QFile file;
QTextStream stream;
file.setName("/sys/devices/platform/hdaps/position");
if(! file.exists() || ! file.open(IO_ReadOnly))
return NULL;
stream.setDevice(&file);
return stream.readLine();
}
QStringList SysFS::deviceList()
{
QDir sysBlock("/sys/block", "[hs]d*", QDir::IgnoreCase, QDir::Dirs);
if (! sysBlock.exists())
return NULL;
QStringList deviceList = sysBlock.entryList();
unsigned int i = 0;
while (i < deviceList.count())
{
if(QFile("/sys/block/" + deviceList[i] + "/device/unload_heads").exists())
i++;
else
deviceList.remove(deviceList.at(i));
}
return deviceList;
}
bool SysFS::queueProtected(QString device)
{
QFile file;
bool b = FALSE;
QTextStream stream;
file.setName("/sys/block/" + device + "/device/unload_heads");
if(! file.exists() || ! file.open(IO_ReadOnly))
return NULL;
stream.setDevice(&file);
if(stream.readLine().toInt() > 0)
b = TRUE;
return b;
}

@ -0,0 +1,22 @@
#ifndef _SYSFSPARSE_H_
#define _SYSFSPARSE_H_
#include <qstring.h>
#include <qstringlist.h>
class SysFS
{
public:
SysFS();
virtual ~SysFS();
bool hasHDAPS();
bool keyboardActivity();
bool mouseActivity();
QString position();
QStringList deviceList();
bool queueProtected(QString device);
private:
bool fileBool(QString path);
};
#endif
Loading…
Cancel
Save