diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/.svnignore | 2 | ||||
-rw-r--r-- | src/CHANGELOG | 69 | ||||
-rw-r--r-- | src/CMakeLists.txt | 39 | ||||
-rw-r--r-- | src/COPYING-DOCS | 397 | ||||
-rw-r--r-- | src/Doxyfile | 266 | ||||
-rw-r--r-- | src/Makefile.am | 23 | ||||
-rw-r--r-- | src/chart.cpp (renamed from src/src/chart.cpp) | 0 | ||||
-rw-r--r-- | src/chart.h (renamed from src/src/chart.h) | 0 | ||||
-rw-r--r-- | src/configure.cpp (renamed from src/src/configure.cpp) | 0 | ||||
-rw-r--r-- | src/configure.h (renamed from src/src/configure.h) | 0 | ||||
-rw-r--r-- | src/configurebase.ui (renamed from src/src/configurebase.ui) | 0 | ||||
-rw-r--r-- | src/doc/CMakeLists.txt | 1 | ||||
-rw-r--r-- | src/doc/Makefile.am | 1 | ||||
-rw-r--r-- | src/doc/en/CMakeLists.txt | 1 | ||||
-rw-r--r-- | src/doc/en/Makefile.am | 2 | ||||
-rw-r--r-- | src/doc/en/index.docbook | 115 | ||||
-rw-r--r-- | src/doc/man/CMakeLists.txt | 5 | ||||
-rw-r--r-- | src/doc/man/Makefile.am | 4 | ||||
-rw-r--r-- | src/doc/man/knetstats.1 | 53 | ||||
-rw-r--r-- | src/doc/man/manpage.xml | 142 | ||||
-rw-r--r-- | src/hi16-app-knetstats.png | bin | 1919 -> 0 bytes | |||
-rw-r--r-- | src/hi32-app-knetstats.png | bin | 2286 -> 0 bytes | |||
-rw-r--r-- | src/hi48-app-knetstats.png | bin | 12237 -> 0 bytes | |||
-rw-r--r-- | src/interface.cpp (renamed from src/src/interface.cpp) | 0 | ||||
-rw-r--r-- | src/interface.h (renamed from src/src/interface.h) | 0 | ||||
-rw-r--r-- | src/knetstats.cpp (renamed from src/src/knetstats.cpp) | 0 | ||||
-rw-r--r-- | src/knetstats.desktop | 32 | ||||
-rw-r--r-- | src/knetstats.h (renamed from src/src/knetstats.h) | 0 | ||||
-rw-r--r-- | src/knetstatsview.cpp (renamed from src/src/knetstatsview.cpp) | 0 | ||||
-rw-r--r-- | src/knetstatsview.h (renamed from src/src/knetstatsview.h) | 0 | ||||
-rw-r--r-- | src/main.cpp (renamed from src/src/main.cpp) | 0 | ||||
-rw-r--r-- | src/pics/CMakeLists.txt (renamed from src/src/pics/CMakeLists.txt) | 0 | ||||
-rw-r--r-- | src/pics/Makefile.am (renamed from src/src/pics/Makefile.am) | 0 | ||||
-rw-r--r-- | src/pics/icon_pci.png (renamed from src/src/pics/icon_pci.png) | bin | 704 -> 704 bytes | |||
-rw-r--r-- | src/pics/theme0_both.png (renamed from src/src/pics/theme0_both.png) | bin | 1406 -> 1406 bytes | |||
-rw-r--r-- | src/pics/theme0_error.png (renamed from src/src/pics/theme0_error.png) | bin | 1510 -> 1510 bytes | |||
-rw-r--r-- | src/pics/theme0_none.png (renamed from src/src/pics/theme0_none.png) | bin | 1403 -> 1403 bytes | |||
-rw-r--r-- | src/pics/theme0_rx.png (renamed from src/src/pics/theme0_rx.png) | bin | 1411 -> 1411 bytes | |||
-rw-r--r-- | src/pics/theme0_tx.png (renamed from src/src/pics/theme0_tx.png) | bin | 1405 -> 1405 bytes | |||
-rw-r--r-- | src/pics/theme1_both.png (renamed from src/src/pics/theme1_both.png) | bin | 1219 -> 1219 bytes | |||
-rw-r--r-- | src/pics/theme1_error.png (renamed from src/src/pics/theme1_error.png) | bin | 483 -> 483 bytes | |||
-rw-r--r-- | src/pics/theme1_none.png (renamed from src/src/pics/theme1_none.png) | bin | 482 -> 482 bytes | |||
-rw-r--r-- | src/pics/theme1_rx.png (renamed from src/src/pics/theme1_rx.png) | bin | 881 -> 881 bytes | |||
-rw-r--r-- | src/pics/theme1_tx.png (renamed from src/src/pics/theme1_tx.png) | bin | 927 -> 927 bytes | |||
-rw-r--r-- | src/pics/theme2_both.png (renamed from src/src/pics/theme2_both.png) | bin | 1384 -> 1384 bytes | |||
-rw-r--r-- | src/pics/theme2_error.png (renamed from src/src/pics/theme2_error.png) | bin | 709 -> 709 bytes | |||
-rw-r--r-- | src/pics/theme2_none.png (renamed from src/src/pics/theme2_none.png) | bin | 835 -> 835 bytes | |||
-rw-r--r-- | src/pics/theme2_rx.png (renamed from src/src/pics/theme2_rx.png) | bin | 1121 -> 1121 bytes | |||
-rw-r--r-- | src/pics/theme2_tx.png (renamed from src/src/pics/theme2_tx.png) | bin | 1115 -> 1115 bytes | |||
-rw-r--r-- | src/pics/theme3_both.png (renamed from src/src/pics/theme3_both.png) | bin | 870 -> 870 bytes | |||
-rw-r--r-- | src/pics/theme3_error.png (renamed from src/src/pics/theme3_error.png) | bin | 342 -> 342 bytes | |||
-rw-r--r-- | src/pics/theme3_none.png (renamed from src/src/pics/theme3_none.png) | bin | 339 -> 339 bytes | |||
-rw-r--r-- | src/pics/theme3_rx.png (renamed from src/src/pics/theme3_rx.png) | bin | 615 -> 615 bytes | |||
-rw-r--r-- | src/pics/theme3_tx.png (renamed from src/src/pics/theme3_tx.png) | bin | 787 -> 787 bytes | |||
-rw-r--r-- | src/pics/theme4_both.png (renamed from src/src/pics/theme4_both.png) | bin | 1034 -> 1034 bytes | |||
-rw-r--r-- | src/pics/theme4_error.png (renamed from src/src/pics/theme4_error.png) | bin | 1245 -> 1245 bytes | |||
-rw-r--r-- | src/pics/theme4_none.png (renamed from src/src/pics/theme4_none.png) | bin | 1000 -> 1000 bytes | |||
-rw-r--r-- | src/pics/theme4_rx.png (renamed from src/src/pics/theme4_rx.png) | bin | 1025 -> 1025 bytes | |||
-rw-r--r-- | src/pics/theme4_tx.png (renamed from src/src/pics/theme4_tx.png) | bin | 1025 -> 1025 bytes | |||
-rw-r--r-- | src/src/CMakeLists.txt | 38 | ||||
-rw-r--r-- | src/src/Makefile.am | 22 | ||||
-rw-r--r-- | src/statistics.cpp (renamed from src/src/statistics.cpp) | 0 | ||||
-rw-r--r-- | src/statistics.h (renamed from src/src/statistics.h) | 0 | ||||
-rw-r--r-- | src/statisticsbase.ui (renamed from src/src/statisticsbase.ui) | 0 |
64 files changed, 51 insertions, 1161 deletions
diff --git a/src/.svnignore b/src/.svnignore deleted file mode 100644 index 896d115..0000000 --- a/src/.svnignore +++ /dev/null @@ -1,2 +0,0 @@ -Makefile.in -*Makefile.in diff --git a/src/CHANGELOG b/src/CHANGELOG deleted file mode 100644 index d5f0e02..0000000 --- a/src/CHANGELOG +++ /dev/null @@ -1,69 +0,0 @@ -v1.6.1 - -- Fixed crash when discovering a new interface. - -v1.6.0.1 - -- Disable the -ansi flag to avoid compile problems. - -v1.6 - -- More user-friendly, try to detect some things and start without importune the user with configuration dialogs. - -v1.5 - -- Added "Chart view". -- New Statistics dialog (show IP address, MAC address, etc). -- Using bksys as building tool. -- Carrier on/off detection. -- Reading interface date from /sys/class/net/INTERFACE/statistics instead of parse /proc/dev/net. -- New translation to romanian - -Note to BSD users: This version is not compatible with BSD, it uses some linux-only stuff. A BSD-compatible version is plained in a near future. - -v1.3.1 - -- Minor fix for Mandriva Linux (former Mandrake Linux). Env is now set for uic during build. - -v1.3 - -- New configuration dialog. -- Support to multiple interfaces. -- Is possible change the colors in the text mode view. -- Is possible change the icon theme of in icon mode. -- Added smooth speed meter. - -v1.2.1 - -- Added Russian translation (Edward Romantsov). -- Added Polish translation (Wiktor Wandachowicz). - -v1.2 - -- Now using SCons as building and install tool, so you will need to have Python installed in your distro to run SCons scripts and compile/install KNetStats. -- Added Brazilian portuguese translation (me). -- Added Kirghiz translation (Ilyas Bakirov). -- Added Italian translation (Roberto Leandrini). -- Added Spanish translation (Carlos Ortiz). -- Added Deutsch translation (Henrik Gebauer). -- Bug Fix: When network interface in changed, the Statistics window caption is changed too. -- Bug Fix: Statistics window now correctly format Download/Upload Speed. -- Bug Fix: When start KNetstats with a unavaliable interface, now upload speed is equals to 0pkts/s (not -2pkts/s) -- Bug Fix: When knetstats starts and statistics windows is hidden it is not updated. - -v1.1.2 - -- Build system now uses tde-config instead $TDEDIR env. variable. This will solve problems when compiling KNetstats on some distros (Suse 9.1, Fedora). - -v1.1.1 - -- Clicking on trayicon show/hide statistics window (suggestion by Fredy Yanardi). -- All dialogs now show the KNetStats icon on windows decoration. -- It's possible to change the font used in textmode (suggestion by Vik). - - -v1.1 - -- Bug Fix: Not saving UpdateInterval when the network interface is not changed. -- Litle optimizations -- Support to IconMode (Activity Led's) or TextMode (showing rx/tx transfer rate)
\ No newline at end of file diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 93766be..4b74eac 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -1,15 +1,38 @@ -add_subdirectory( src ) -tde_conditional_add_subdirectory( BUILD_DOC doc ) +add_subdirectory( pics ) +include_directories( + ${CMAKE_BINARY_DIR} + ${CMAKE_CURRENT_BINARY_DIR} + ${CMAKE_CURRENT_SOURCE_DIR} + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} +) -##### icons +link_directories( + ${TQT_LIBRARY_DIRS} + ${TDE_LIB_DIR} +) -tde_install_icons( ${PROJECT_NAME} ) +##### knetstats (executable) -##### other data +tde_add_executable( ${PROJECT_NAME} AUTOMOC -install( - FILES ${PROJECT_NAME}.desktop - DESTINATION ${XDG_APPS_INSTALL_DIR} + SOURCES + configurebase.ui + configure.cpp + statisticsbase.ui + main.cpp + knetstats.cpp + knetstatsview.cpp + statistics.cpp + chart.cpp + interface.cpp + LINK + tdecore-shared + tdeui-shared + tdeio-shared + tdeui-shared + + DESTINATION ${BIN_INSTALL_DIR} ) diff --git a/src/COPYING-DOCS b/src/COPYING-DOCS deleted file mode 100644 index 4a0fe1c..0000000 --- a/src/COPYING-DOCS +++ /dev/null @@ -1,397 +0,0 @@ - GNU Free Documentation License - Version 1.2, November 2002 - - - Copyright (C) 2000,2001,2002 Free Software Foundation, Inc. - 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - Everyone is permitted to copy and distribute verbatim copies - of this license document, but changing it is not allowed. - - -0. PREAMBLE - -The purpose of this License is to make a manual, textbook, or other -functional and useful document "free" in the sense of freedom: to -assure everyone the effective freedom to copy and redistribute it, -with or without modifying it, either commercially or noncommercially. -Secondarily, this License preserves for the author and publisher a way -to get credit for their work, while not being considered responsible -for modifications made by others. - -This License is a kind of "copyleft", which means that derivative -works of the document must themselves be free in the same sense. It -complements the GNU General Public License, which is a copyleft -license designed for free software. - -We have designed this License in order to use it for manuals for free -software, because free software needs free documentation: a free -program should come with manuals providing the same freedoms that the -software does. But this License is not limited to software manuals; -it can be used for any textual work, regardless of subject matter or -whether it is published as a printed book. We recommend this License -principally for works whose purpose is instruction or reference. - - -1. APPLICABILITY AND DEFINITIONS - -This License applies to any manual or other work, in any medium, that -contains a notice placed by the copyright holder saying it can be -distributed under the terms of this License. Such a notice grants a -world-wide, royalty-free license, unlimited in duration, to use that -work under the conditions stated herein. The "Document", below, -refers to any such manual or work. Any member of the public is a -licensee, and is addressed as "you". You accept the license if you -copy, modify or distribute the work in a way requiring permission -under copyright law. - -A "Modified Version" of the Document means any work containing the -Document or a portion of it, either copied verbatim, or with -modifications and/or translated into another language. - -A "Secondary Section" is a named appendix or a front-matter section of -the Document that deals exclusively with the relationship of the -publishers or authors of the Document to the Document's overall subject -(or to related matters) and contains nothing that could fall directly -within that overall subject. (Thus, if the Document is in part a -textbook of mathematics, a Secondary Section may not explain any -mathematics.) The relationship could be a matter of historical -connection with the subject or with related matters, or of legal, -commercial, philosophical, ethical or political position regarding -them. - -The "Invariant Sections" are certain Secondary Sections whose titles -are designated, as being those of Invariant Sections, in the notice -that says that the Document is released under this License. If a -section does not fit the above definition of Secondary then it is not -allowed to be designated as Invariant. The Document may contain zero -Invariant Sections. If the Document does not identify any Invariant -Sections then there are none. - -The "Cover Texts" are certain short passages of text that are listed, -as Front-Cover Texts or Back-Cover Texts, in the notice that says that -the Document is released under this License. A Front-Cover Text may -be at most 5 words, and a Back-Cover Text may be at most 25 words. - -A "Transparent" copy of the Document means a machine-readable copy, -represented in a format whose specification is available to the -general public, that is suitable for revising the document -straightforwardly with generic text editors or (for images composed of -pixels) generic paint programs or (for drawings) some widely available -drawing editor, and that is suitable for input to text formatters or -for automatic translation to a variety of formats suitable for input -to text formatters. A copy made in an otherwise Transparent file -format whose markup, or absence of markup, has been arranged to thwart -or discourage subsequent modification by readers is not Transparent. -An image format is not Transparent if used for any substantial amount -of text. A copy that is not "Transparent" is called "Opaque". - -Examples of suitable formats for Transparent copies include plain -ASCII without markup, Texinfo input format, LaTeX input format, SGML -or XML using a publicly available DTD, and standard-conforming simple -HTML, PostScript or PDF designed for human modification. Examples of -transparent image formats include PNG, XCF and JPG. Opaque formats -include proprietary formats that can be read and edited only by -proprietary word processors, SGML or XML for which the DTD and/or -processing tools are not generally available, and the -machine-generated HTML, PostScript or PDF produced by some word -processors for output purposes only. - -The "Title Page" means, for a printed book, the title page itself, -plus such following pages as are needed to hold, legibly, the material -this License requires to appear in the title page. For works in -formats which do not have any title page as such, "Title Page" means -the text near the most prominent appearance of the work's title, -preceding the beginning of the body of the text. - -A section "Entitled XYZ" means a named subunit of the Document whose -title either is precisely XYZ or contains XYZ in parentheses following -text that translates XYZ in another language. (Here XYZ stands for a -specific section name mentioned below, such as "Acknowledgements", -"Dedications", "Endorsements", or "History".) To "Preserve the Title" -of such a section when you modify the Document means that it remains a -section "Entitled XYZ" according to this definition. - -The Document may include Warranty Disclaimers next to the notice which -states that this License applies to the Document. These Warranty -Disclaimers are considered to be included by reference in this -License, but only as regards disclaiming warranties: any other -implication that these Warranty Disclaimers may have is void and has -no effect on the meaning of this License. - - -2. VERBATIM COPYING - -You may copy and distribute the Document in any medium, either -commercially or noncommercially, provided that this License, the -copyright notices, and the license notice saying this License applies -to the Document are reproduced in all copies, and that you add no other -conditions whatsoever to those of this License. You may not use -technical measures to obstruct or control the reading or further -copying of the copies you make or distribute. However, you may accept -compensation in exchange for copies. If you distribute a large enough -number of copies you must also follow the conditions in section 3. - -You may also lend copies, under the same conditions stated above, and -you may publicly display copies. - - -3. COPYING IN QUANTITY - -If you publish printed copies (or copies in media that commonly have -printed covers) of the Document, numbering more than 100, and the -Document's license notice requires Cover Texts, you must enclose the -copies in covers that carry, clearly and legibly, all these Cover -Texts: Front-Cover Texts on the front cover, and Back-Cover Texts on -the back cover. Both covers must also clearly and legibly identify -you as the publisher of these copies. The front cover must present -the full title with all words of the title equally prominent and -visible. You may add other material on the covers in addition. -Copying with changes limited to the covers, as long as they preserve -the title of the Document and satisfy these conditions, can be treated -as verbatim copying in other respects. - -If the required texts for either cover are too voluminous to fit -legibly, you should put the first ones listed (as many as fit -reasonably) on the actual cover, and continue the rest onto adjacent -pages. - -If you publish or distribute Opaque copies of the Document numbering -more than 100, you must either include a machine-readable Transparent -copy along with each Opaque copy, or state in or with each Opaque copy -a computer-network location from which the general network-using -public has access to download using public-standard network protocols -a complete Transparent copy of the Document, free of added material. -If you use the latter option, you must take reasonably prudent steps, -when you begin distribution of Opaque copies in quantity, to ensure -that this Transparent copy will remain thus accessible at the stated -location until at least one year after the last time you distribute an -Opaque copy (directly or through your agents or retailers) of that -edition to the public. - -It is requested, but not required, that you contact the authors of the -Document well before redistributing any large number of copies, to give -them a chance to provide you with an updated version of the Document. - - -4. MODIFICATIONS - -You may copy and distribute a Modified Version of the Document under -the conditions of sections 2 and 3 above, provided that you release -the Modified Version under precisely this License, with the Modified -Version filling the role of the Document, thus licensing distribution -and modification of the Modified Version to whoever possesses a copy -of it. In addition, you must do these things in the Modified Version: - -A. Use in the Title Page (and on the covers, if any) a title distinct - from that of the Document, and from those of previous versions - (which should, if there were any, be listed in the History section - of the Document). You may use the same title as a previous version - if the original publisher of that version gives permission. -B. List on the Title Page, as authors, one or more persons or entities - responsible for authorship of the modifications in the Modified - Version, together with at least five of the principal authors of the - Document (all of its principal authors, if it has fewer than five), - unless they release you from this requirement. -C. State on the Title page the name of the publisher of the - Modified Version, as the publisher. -D. Preserve all the copyright notices of the Document. -E. Add an appropriate copyright notice for your modifications - adjacent to the other copyright notices. -F. Include, immediately after the copyright notices, a license notice - giving the public permission to use the Modified Version under the - terms of this License, in the form shown in the Addendum below. -G. Preserve in that license notice the full lists of Invariant Sections - and required Cover Texts given in the Document's license notice. -H. Include an unaltered copy of this License. -I. Preserve the section Entitled "History", Preserve its Title, and add - to it an item stating at least the title, year, new authors, and - publisher of the Modified Version as given on the Title Page. If - there is no section Entitled "History" in the Document, create one - stating the title, year, authors, and publisher of the Document as - given on its Title Page, then add an item describing the Modified - Version as stated in the previous sentence. -J. Preserve the network location, if any, given in the Document for - public access to a Transparent copy of the Document, and likewise - the network locations given in the Document for previous versions - it was based on. These may be placed in the "History" section. - You may omit a network location for a work that was published at - least four years before the Document itself, or if the original - publisher of the version it refers to gives permission. -K. For any section Entitled "Acknowledgements" or "Dedications", - Preserve the Title of the section, and preserve in the section all - the substance and tone of each of the contributor acknowledgements - and/or dedications given therein. -L. Preserve all the Invariant Sections of the Document, - unaltered in their text and in their titles. Section numbers - or the equivalent are not considered part of the section titles. -M. Delete any section Entitled "Endorsements". Such a section - may not be included in the Modified Version. -N. Do not retitle any existing section to be Entitled "Endorsements" - or to conflict in title with any Invariant Section. -O. Preserve any Warranty Disclaimers. - -If the Modified Version includes new front-matter sections or -appendices that qualify as Secondary Sections and contain no material -copied from the Document, you may at your option designate some or all -of these sections as invariant. To do this, add their titles to the -list of Invariant Sections in the Modified Version's license notice. -These titles must be distinct from any other section titles. - -You may add a section Entitled "Endorsements", provided it contains -nothing but endorsements of your Modified Version by various -parties--for example, statements of peer review or that the text has -been approved by an organization as the authoritative definition of a -standard. - -You may add a passage of up to five words as a Front-Cover Text, and a -passage of up to 25 words as a Back-Cover Text, to the end of the list -of Cover Texts in the Modified Version. Only one passage of -Front-Cover Text and one of Back-Cover Text may be added by (or -through arrangements made by) any one entity. If the Document already -includes a cover text for the same cover, previously added by you or -by arrangement made by the same entity you are acting on behalf of, -you may not add another; but you may replace the old one, on explicit -permission from the previous publisher that added the old one. - -The author(s) and publisher(s) of the Document do not by this License -give permission to use their names for publicity for or to assert or -imply endorsement of any Modified Version. - - -5. COMBINING DOCUMENTS - -You may combine the Document with other documents released under this -License, under the terms defined in section 4 above for modified -versions, provided that you include in the combination all of the -Invariant Sections of all of the original documents, unmodified, and -list them all as Invariant Sections of your combined work in its -license notice, and that you preserve all their Warranty Disclaimers. - -The combined work need only contain one copy of this License, and -multiple identical Invariant Sections may be replaced with a single -copy. If there are multiple Invariant Sections with the same name but -different contents, make the title of each such section unique by -adding at the end of it, in parentheses, the name of the original -author or publisher of that section if known, or else a unique number. -Make the same adjustment to the section titles in the list of -Invariant Sections in the license notice of the combined work. - -In the combination, you must combine any sections Entitled "History" -in the various original documents, forming one section Entitled -"History"; likewise combine any sections Entitled "Acknowledgements", -and any sections Entitled "Dedications". You must delete all sections -Entitled "Endorsements". - - -6. COLLECTIONS OF DOCUMENTS - -You may make a collection consisting of the Document and other documents -released under this License, and replace the individual copies of this -License in the various documents with a single copy that is included in -the collection, provided that you follow the rules of this License for -verbatim copying of each of the documents in all other respects. - -You may extract a single document from such a collection, and distribute -it individually under this License, provided you insert a copy of this -License into the extracted document, and follow this License in all -other respects regarding verbatim copying of that document. - - -7. AGGREGATION WITH INDEPENDENT WORKS - -A compilation of the Document or its derivatives with other separate -and independent documents or works, in or on a volume of a storage or -distribution medium, is called an "aggregate" if the copyright -resulting from the compilation is not used to limit the legal rights -of the compilation's users beyond what the individual works permit. -When the Document is included in an aggregate, this License does not -apply to the other works in the aggregate which are not themselves -derivative works of the Document. - -If the Cover Text requirement of section 3 is applicable to these -copies of the Document, then if the Document is less than one half of -the entire aggregate, the Document's Cover Texts may be placed on -covers that bracket the Document within the aggregate, or the -electronic equivalent of covers if the Document is in electronic form. -Otherwise they must appear on printed covers that bracket the whole -aggregate. - - -8. TRANSLATION - -Translation is considered a kind of modification, so you may -distribute translations of the Document under the terms of section 4. -Replacing Invariant Sections with translations requires special -permission from their copyright holders, but you may include -translations of some or all Invariant Sections in addition to the -original versions of these Invariant Sections. You may include a -translation of this License, and all the license notices in the -Document, and any Warranty Disclaimers, provided that you also include -the original English version of this License and the original versions -of those notices and disclaimers. In case of a disagreement between -the translation and the original version of this License or a notice -or disclaimer, the original version will prevail. - -If a section in the Document is Entitled "Acknowledgements", -"Dedications", or "History", the requirement (section 4) to Preserve -its Title (section 1) will typically require changing the actual -title. - - -9. TERMINATION - -You may not copy, modify, sublicense, or distribute the Document except -as expressly provided for under this License. Any other attempt to -copy, modify, sublicense or distribute the Document is void, and will -automatically terminate your rights under this License. However, -parties who have received copies, or rights, from you under this -License will not have their licenses terminated so long as such -parties remain in full compliance. - - -10. FUTURE REVISIONS OF THIS LICENSE - -The Free Software Foundation may publish new, revised versions -of the GNU Free Documentation License from time to time. Such new -versions will be similar in spirit to the present version, but may -differ in detail to address new problems or concerns. See -http://www.gnu.org/copyleft/. - -Each version of the License is given a distinguishing version number. -If the Document specifies that a particular numbered version of this -License "or any later version" applies to it, you have the option of -following the terms and conditions either of that specified version or -of any later version that has been published (not as a draft) by the -Free Software Foundation. If the Document does not specify a version -number of this License, you may choose any version ever published (not -as a draft) by the Free Software Foundation. - - -ADDENDUM: How to use this License for your documents - -To use this License in a document you have written, include a copy of -the License in the document and put the following copyright and -license notices just after the title page: - - Copyright (c) YEAR YOUR NAME. - Permission is granted to copy, distribute and/or modify this document - under the terms of the GNU Free Documentation License, Version 1.2 - or any later version published by the Free Software Foundation; - with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. - A copy of the license is included in the section entitled "GNU - Free Documentation License". - -If you have Invariant Sections, Front-Cover Texts and Back-Cover Texts, -replace the "with...Texts." line with this: - - with the Invariant Sections being LIST THEIR TITLES, with the - Front-Cover Texts being LIST, and with the Back-Cover Texts being LIST. - -If you have Invariant Sections without Cover Texts, or some other -combination of the three, merge those two alternatives to suit the -situation. - -If your document contains nontrivial examples of program code, we -recommend releasing these examples in parallel under your choice of -free software license, such as the GNU General Public License, -to permit their use in free software. diff --git a/src/Doxyfile b/src/Doxyfile deleted file mode 100644 index d7efd44..0000000 --- a/src/Doxyfile +++ /dev/null @@ -1,266 +0,0 @@ -# Doxyfile 1.3.7-KDevelop - -#--------------------------------------------------------------------------- -# Project related configuration options -#--------------------------------------------------------------------------- -PROJECT_NAME = knetstats.tdevelop -PROJECT_NUMBER = 0.1 -OUTPUT_DIRECTORY = -CREATE_SUBDIRS = NO -OUTPUT_LANGUAGE = English -USE_WINDOWS_ENCODING = NO -BRIEF_MEMBER_DESC = YES -REPEAT_BRIEF = YES -ABBREVIATE_BRIEF = "The $name class" \ - "The $name widget" \ - "The $name file" \ - is \ - provides \ - specifies \ - contains \ - represents \ - a \ - an \ - the -ALWAYS_DETAILED_SEC = NO -INLINE_INHERITED_MEMB = NO -FULL_PATH_NAMES = YES -STRIP_FROM_PATH = /home/hugo/ -STRIP_FROM_INC_PATH = -SHORT_NAMES = NO -JAVADOC_AUTOBRIEF = NO -MULTILINE_CPP_IS_BRIEF = NO -DETAILS_AT_TOP = NO -INHERIT_DOCS = YES -DISTRIBUTE_GROUP_DOC = NO -TAB_SIZE = 8 -ALIASES = -OPTIMIZE_OUTPUT_FOR_C = NO -OPTIMIZE_OUTPUT_JAVA = NO -SUBGROUPING = YES -#--------------------------------------------------------------------------- -# Build related configuration options -#--------------------------------------------------------------------------- -EXTRACT_ALL = NO -EXTRACT_PRIVATE = NO -EXTRACT_STATIC = NO -EXTRACT_LOCAL_CLASSES = YES -EXTRACT_LOCAL_METHODS = NO -HIDE_UNDOC_MEMBERS = NO -HIDE_UNDOC_CLASSES = NO -HIDE_FRIEND_COMPOUNDS = NO -HIDE_IN_BODY_DOCS = NO -INTERNAL_DOCS = NO -CASE_SENSE_NAMES = YES -HIDE_SCOPE_NAMES = NO -SHOW_INCLUDE_FILES = YES -INLINE_INFO = YES -SORT_MEMBER_DOCS = YES -SORT_BRIEF_DOCS = NO -SORT_BY_SCOPE_NAME = NO -GENERATE_TODOLIST = YES -GENERATE_TESTLIST = YES -GENERATE_BUGLIST = YES -GENERATE_DEPRECATEDLIST= YES -ENABLED_SECTIONS = -MAX_INITIALIZER_LINES = 30 -SHOW_USED_FILES = YES -#--------------------------------------------------------------------------- -# configuration options related to warning and progress messages -#--------------------------------------------------------------------------- -QUIET = NO -WARNINGS = YES -WARN_IF_UNDOCUMENTED = YES -WARN_IF_DOC_ERROR = YES -WARN_FORMAT = "$file:$line: $text" -WARN_LOGFILE = -#--------------------------------------------------------------------------- -# configuration options related to the input files -#--------------------------------------------------------------------------- -INPUT = /home/hugo/src/knetstats -FILE_PATTERNS = *.c \ - *.cc \ - *.cxx \ - *.cpp \ - *.c++ \ - *.java \ - *.ii \ - *.ixx \ - *.ipp \ - *.i++ \ - *.inl \ - *.h \ - *.hh \ - *.hxx \ - *.hpp \ - *.h++ \ - *.idl \ - *.odl \ - *.cs \ - *.php \ - *.php3 \ - *.inc \ - *.m \ - *.mm \ - *.C \ - *.CC \ - *.C++ \ - *.II \ - *.I++ \ - *.H \ - *.HH \ - *.H++ \ - *.CS \ - *.PHP \ - *.PHP3 \ - *.M \ - *.MM \ - *.C \ - *.H \ - *.tlh \ - *.diff \ - *.patch \ - *.moc \ - *.xpm \ - *.dox -RECURSIVE = yes -EXCLUDE = -EXCLUDE_SYMLINKS = NO -EXCLUDE_PATTERNS = -EXAMPLE_PATH = -EXAMPLE_PATTERNS = * -EXAMPLE_RECURSIVE = NO -IMAGE_PATH = -INPUT_FILTER = -FILTER_SOURCE_FILES = NO -#--------------------------------------------------------------------------- -# configuration options related to source browsing -#--------------------------------------------------------------------------- -SOURCE_BROWSER = NO -INLINE_SOURCES = NO -STRIP_CODE_COMMENTS = YES -REFERENCED_BY_RELATION = YES -REFERENCES_RELATION = YES -VERBATIM_HEADERS = YES -#--------------------------------------------------------------------------- -# configuration options related to the alphabetical class index -#--------------------------------------------------------------------------- -ALPHABETICAL_INDEX = NO -COLS_IN_ALPHA_INDEX = 5 -IGNORE_PREFIX = -#--------------------------------------------------------------------------- -# configuration options related to the HTML output -#--------------------------------------------------------------------------- -GENERATE_HTML = YES -HTML_OUTPUT = html -HTML_FILE_EXTENSION = .html -HTML_HEADER = -HTML_FOOTER = -HTML_STYLESHEET = -HTML_ALIGN_MEMBERS = YES -GENERATE_HTMLHELP = NO -CHM_FILE = -HHC_LOCATION = -GENERATE_CHI = NO -BINARY_TOC = NO -TOC_EXPAND = NO -DISABLE_INDEX = NO -ENUM_VALUES_PER_LINE = 4 -GENERATE_TREEVIEW = NO -TREEVIEW_WIDTH = 250 -#--------------------------------------------------------------------------- -# configuration options related to the LaTeX output -#--------------------------------------------------------------------------- -GENERATE_LATEX = YES -LATEX_OUTPUT = latex -LATEX_CMD_NAME = latex -MAKEINDEX_CMD_NAME = makeindex -COMPACT_LATEX = NO -PAPER_TYPE = a4wide -EXTRA_PACKAGES = -LATEX_HEADER = -PDF_HYPERLINKS = NO -USE_PDFLATEX = NO -LATEX_BATCHMODE = NO -LATEX_HIDE_INDICES = NO -#--------------------------------------------------------------------------- -# configuration options related to the RTF output -#--------------------------------------------------------------------------- -GENERATE_RTF = NO -RTF_OUTPUT = rtf -COMPACT_RTF = NO -RTF_HYPERLINKS = NO -RTF_STYLESHEET_FILE = -RTF_EXTENSIONS_FILE = -#--------------------------------------------------------------------------- -# configuration options related to the man page output -#--------------------------------------------------------------------------- -GENERATE_MAN = NO -MAN_OUTPUT = man -MAN_EXTENSION = .3 -MAN_LINKS = NO -#--------------------------------------------------------------------------- -# configuration options related to the XML output -#--------------------------------------------------------------------------- -GENERATE_XML = yes -XML_OUTPUT = xml -XML_SCHEMA = -XML_DTD = -XML_PROGRAMLISTING = YES -#--------------------------------------------------------------------------- -# configuration options for the AutoGen Definitions output -#--------------------------------------------------------------------------- -GENERATE_AUTOGEN_DEF = NO -#--------------------------------------------------------------------------- -# configuration options related to the Perl module output -#--------------------------------------------------------------------------- -GENERATE_PERLMOD = NO -PERLMOD_LATEX = NO -PERLMOD_PRETTY = YES -PERLMOD_MAKEVAR_PREFIX = -#--------------------------------------------------------------------------- -# Configuration options related to the preprocessor -#--------------------------------------------------------------------------- -ENABLE_PREPROCESSING = YES -MACRO_EXPANSION = NO -EXPAND_ONLY_PREDEF = NO -SEARCH_INCLUDES = YES -INCLUDE_PATH = -INCLUDE_FILE_PATTERNS = -PREDEFINED = -EXPAND_AS_DEFINED = -SKIP_FUNCTION_MACROS = YES -#--------------------------------------------------------------------------- -# Configuration::additions related to external references -#--------------------------------------------------------------------------- -TAGFILES = -GENERATE_TAGFILE = knetstats.tag -ALLEXTERNALS = NO -EXTERNAL_GROUPS = YES -PERL_PATH = /usr/bin/perl -#--------------------------------------------------------------------------- -# Configuration options related to the dot tool -#--------------------------------------------------------------------------- -CLASS_DIAGRAMS = YES -HIDE_UNDOC_RELATIONS = YES -HAVE_DOT = NO -CLASS_GRAPH = YES -COLLABORATION_GRAPH = YES -UML_LOOK = NO -TEMPLATE_RELATIONS = NO -INCLUDE_GRAPH = YES -INCLUDED_BY_GRAPH = YES -CALL_GRAPH = NO -GRAPHICAL_HIERARCHY = YES -DOT_IMAGE_FORMAT = png -DOT_PATH = -DOTFILE_DIRS = -MAX_DOT_GRAPH_WIDTH = 1024 -MAX_DOT_GRAPH_HEIGHT = 1024 -MAX_DOT_GRAPH_DEPTH = 1000 -GENERATE_LEGEND = YES -DOT_CLEANUP = YES -#--------------------------------------------------------------------------- -# Configuration::additions related to the search engine -#--------------------------------------------------------------------------- -SEARCHENGINE = NO diff --git a/src/Makefile.am b/src/Makefile.am index 66b3066..2875827 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -1,5 +1,22 @@ -SUBDIRS = src doc +INCLUDES = $(all_includes) -xdg_apps_DATA = knetstats.desktop +SUBDIRS = pics + +bin_PROGRAMS = knetstats + +knetstats_SOURCES = configurebase.ui configure.cpp statisticsbase.ui main.cpp \ + knetstats.cpp knetstatsview.cpp statistics.cpp chart.cpp interface.cpp +knetstats_LDADD = $(LIB_TDEUI) +knetstats_LDFLAGS = $(all_libraries) $(KDE_RPATH) $(LIB_TQT) -lDCOP $(LIB_TDECORE) $(LIB_TDEUI) -ltdefx $(LIB_TDEIO) -ltdetexteditor +METASOURCES = configure.moc knetstats.moc knetstatsview.moc statistics.moc + +# these are the headers for your project +noinst_HEADERS = chart.h configure.h knetstats.h knetstatsview.h statistics.h \ + interface.h + +messages: rc.cpp + $(EXTRACTRC) *.ui >> rc.cpp + $(XGETTEXT) *.cpp -o $(podir)/knetstats.pot + +KDE_OPTIONS = nofinal -KDE_ICON = knetstats diff --git a/src/src/chart.cpp b/src/chart.cpp index 8af9d1e..8af9d1e 100644 --- a/src/src/chart.cpp +++ b/src/chart.cpp diff --git a/src/src/chart.h b/src/chart.h index 8bd8be8..8bd8be8 100644 --- a/src/src/chart.h +++ b/src/chart.h diff --git a/src/src/configure.cpp b/src/configure.cpp index f3ffcff..f3ffcff 100644 --- a/src/src/configure.cpp +++ b/src/configure.cpp diff --git a/src/src/configure.h b/src/configure.h index f214555..f214555 100644 --- a/src/src/configure.h +++ b/src/configure.h diff --git a/src/src/configurebase.ui b/src/configurebase.ui index 7619924..7619924 100644 --- a/src/src/configurebase.ui +++ b/src/configurebase.ui diff --git a/src/doc/CMakeLists.txt b/src/doc/CMakeLists.txt deleted file mode 100644 index 6d0aa9f..0000000 --- a/src/doc/CMakeLists.txt +++ /dev/null @@ -1 +0,0 @@ -tde_auto_add_subdirectories( ) diff --git a/src/doc/Makefile.am b/src/doc/Makefile.am deleted file mode 100644 index 81fee21..0000000 --- a/src/doc/Makefile.am +++ /dev/null @@ -1 +0,0 @@ -SUBDIRS = en diff --git a/src/doc/en/CMakeLists.txt b/src/doc/en/CMakeLists.txt deleted file mode 100644 index ba3ef3e..0000000 --- a/src/doc/en/CMakeLists.txt +++ /dev/null @@ -1 +0,0 @@ -tde_create_handbook( DESTINATION ${PROJECT_NAME} ) diff --git a/src/doc/en/Makefile.am b/src/doc/en/Makefile.am deleted file mode 100644 index 8f050ec..0000000 --- a/src/doc/en/Makefile.am +++ /dev/null @@ -1,2 +0,0 @@ -KDE_LANG = en -KDE_DOCS = knetstats diff --git a/src/doc/en/index.docbook b/src/doc/en/index.docbook deleted file mode 100644 index 55b829b..0000000 --- a/src/doc/en/index.docbook +++ /dev/null @@ -1,115 +0,0 @@ -<?xml version="1.0" ?> -<!DOCTYPE book PUBLIC "-//KDE//DTD DocBook XML V4.2-Based Variant V1.1//EN" "dtd/kdex.dtd" [ - <!ENTITY knetstats "<application>KNetStats</application>"> - <!ENTITY kappname "&knetstats;"><!-- Do *not* replace kappname--> - <!ENTITY package "tde-network"><!-- tdebase, tdeadmin, etc --> - <!ENTITY % addindex "IGNORE"> - <!ENTITY % English "INCLUDE"><!-- change language only here --> -]> - -<book lang="&language;"> - -<bookinfo> -<title>The &knetstats; Handbook</title> - -<authorgroup> -<author> -<firstname>Hugo Parente Lima</firstname> -<othername></othername> - <surname></surname> -<affiliation> - <address><email>hugo_pl@users.sourceforge.net</email></address> -</affiliation> -</author> -</authorgroup> - -<!-- TRANS:ROLES_OF_TRANSLATORS --> - -<copyright> -<year>2004-2005</year> -<holder>Hugo Parente Lima</holder> -</copyright> -<!-- Translators: put here the copyright notice of the translation --> -<!-- Put here the FDL notice. Read the explanation in fdl-notice.docbook - and in the FDL itself on how to use it. --> -<legalnotice>&FDLNotice;</legalnotice> - -<!-- Date and version information of the documentation -Don't forget to include this last date and this last revision number, we -need them for translation coordination ! -Please respect the format of the date (YYYY-MM-DD) and of the version -(V.MM.LL), it could be used by automation scripts. -Do NOT change these in the translation. --> - -<date>2005-11-14</date> -<releaseinfo>1.1</releaseinfo> - -<!-- Abstract about this handbook --> - -<abstract> -<para> -&knetstats; Is a simple KDE network monitor that show rx/tx LEDs of any network interface on a system tray icon. -</para> -</abstract> - -<!-- This is a set of Keywords for indexing by search engines. -Please at least include KDE, the KDE package it is in, the name - of your application, and a few relevant keywords. --> - -<keywordset> -<keyword>KDE</keyword> -<keyword>knetstats</keyword> -<keyword>network</keyword> -<keyword>monitor</keyword> -<keyword>leds</keyword> -</keywordset> - -</bookinfo> - -<!-- The contents of the documentation begin here. Label -each chapter so with the id attribute. This is necessary for two reasons: it -allows you to easily reference the chapter from other chapters of your -document, and if there is no ID, the name of the generated HTML files will vary -from time to time making it hard to manage for maintainers and for the CVS -system. Any chapter labelled (OPTIONAL) may be left out at the author's -discretion. Other chapters should not be left out in order to maintain a -consistent documentation style across all KDE apps. --> - -<chapter id="Using-KnetStats"> -<title>Using &knetstats;</title> - -<para>Choose a interface and see the leds :-).</para> -<!-- This chapter should tell the user how to use your app. You should use as -many sections (Chapter, Sect1, Sect3, etc...) as is necessary to fully document -your application. --> - -</chapter> - -<chapter id="credits"> - -<!-- Include credits for the programmers, documentation writers, and -contributors here. The license for your software should then be included below -the credits with a reference to the appropriate license file included in the KDE -distribution. --> - -<title>Credits and License</title> - -<para> -&knetstats; -</para> -<para>Hugo Parente Lima - original author.</para> -<para>Thomas Windheuser - SCons help, Debian packages, etc.</para> -<para><ulink url="http://kde-apps.org/content/show.php?content=12956">KNemo</ulink> - Icon themes</para> -<para>Ilyas Bakirov, Roberto Leandrini, Carlos Ortiz, Henrik Gebauer, Edward Romantsov, Wiktor Wandachowicz, Guillaume Savaton, Petar Toushkov, Liu Di - KNetStats translation to other languages</para> - -<para>You can find more info on <ulink url="http://knetstats.sourceforge.net">KNetStats website</ulink>.</para> - -<!-- TRANS:CREDIT_FOR_TRANSLATORS --> - -&underFDL; <!-- FDL: do not remove --> -&underGPL; <!-- GPL License --> - -</chapter> - -&documentation.index; -</book> diff --git a/src/doc/man/CMakeLists.txt b/src/doc/man/CMakeLists.txt deleted file mode 100644 index 8512250..0000000 --- a/src/doc/man/CMakeLists.txt +++ /dev/null @@ -1,5 +0,0 @@ -INSTALL( - FILES ${PROJECT_NAME}.1 - DESTINATION ${MAN_INSTALL_DIR}/man1 - COMPONENT doc -) diff --git a/src/doc/man/Makefile.am b/src/doc/man/Makefile.am deleted file mode 100644 index 514c585..0000000 --- a/src/doc/man/Makefile.am +++ /dev/null @@ -1,4 +0,0 @@ -man_MANS = manpage.xml - -EXTRA_DIST = $(man_MANS) - diff --git a/src/doc/man/knetstats.1 b/src/doc/man/knetstats.1 deleted file mode 100644 index 7197c48..0000000 --- a/src/doc/man/knetstats.1 +++ /dev/null @@ -1,53 +0,0 @@ -'\" -*- coding: us-ascii -*- -.if \n(.g .ds T< \\FC -.if \n(.g .ds T> \\F[\n[.fam]] -.de URL -\\$2 \(la\\$1\(ra\\$3 -.. -.if \n(.g .mso www.tmac -.TH knetstats 1 "16 Oct 2005" "" "" -.SH NAME -knetstats \- A system tray icon, which indicates network activity -.SH SYNOPSIS -'nh -.fi -.ad l -\fBknetstats\fR \kx -.if (\nx>(\n(.l/2)) .nr x (\n(.l/5) -'in \n(.iu+\nxu -[\fB--help \fIPrint options to console.\fB\fR] -'in \n(.iu-\nxu -.ad b -'hy -.SH DESCRIPTION -This manual page documents briefly the -\fBknetstats\fR -commands. -.PP -This manual page was written for the Debian distribution. -Instead, it has documentation in the GNU -Info format; see below. -.PP -\fBknetstats\fR is a program that provides a system tray icon. This icon provides two -LED's, which begin to blink if there is network traffic. -.SH OPTIONS -These programs follow the usual GNU command line syntax, -with long options starting with two dashes (`-'). A summary of -options is included below. For a complete description, see the -Info files. -.TP -\*(T<\fB\-h\fR\*(T> \*(T<\fB\-\-help\fR\*(T> -Show summary of options. -.TP -\*(T<\fB\-v\fR\*(T> \*(T<\fB\-\-version\fR\*(T> -Show version of program. -.SH "SEE ALSO" -.SH AUTHOR -This manual page was written by windheus <\*(T<thomas@0x5c.net\*(T>> for -the Debian system (but may be used by others). Permission is -granted to copy, distribute and/or modify this document under -the terms of the GNU General Public License, Version 2 any -later version published by the Free Software Foundation. -.PP -On Debian systems, the complete text of the GNU General Public -License can be found in /usr/share/common-licenses/GPL. diff --git a/src/doc/man/manpage.xml b/src/doc/man/manpage.xml deleted file mode 100644 index 52d305e..0000000 --- a/src/doc/man/manpage.xml +++ /dev/null @@ -1,142 +0,0 @@ -<?xml version='1.0' encoding='ISO-8859-1'?> -<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN" -"http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd" [ - -<!-- - -Process this file with an XSLT processor: `xsltproc \ --''-nonet /usr/share/sgml/docbook/stylesheet/xsl/nwalsh/\ -manpages/docbook.xsl manpage.dbk'. A manual page -<package>.<section> will be generated. You may view the -manual page with: nroff -man <package>.<section> | less'. A -typical entry in a Makefile or Makefile.am is: - -DB2MAN=/usr/share/sgml/docbook/stylesheet/xsl/nwalsh/\ -manpages/docbook.xsl -XP=xsltproc -''-nonet - -manpage.1: manpage.dbk - $(XP) $(DB2MAN) $< - -The xsltproc binary is found in the xsltproc package. The -XSL files are in docbook-xsl. Please remember that if you -create the nroff version in one of the debian/rules file -targets (such as build), you will need to include xsltproc -and docbook-xsl in your Build-Depends control field. - ---> - - <!-- Fill in your name for FIRSTNAME and SURNAME. --> - <!ENTITY dhfirstname "<firstname>Thomas</firstname>"> - <!ENTITY dhsurname "<surname>Windheuser</surname>"> - <!-- Please adjust the date whenever revising the manpage. --> - <!ENTITY dhdate "<date>16 Oct 2005</date>"> - <!-- SECTION should be 1-8, maybe w/ subsection other parameters are - allowed: see man(7), man(1). --> - <!ENTITY dhsection "<manvolnum>1</manvolnum>"> - <!ENTITY dhemail "<email>thomas@0x5c.net</email>"> - <!ENTITY dhusername "windheus"> - <!ENTITY dhucpackage "<refentrytitle>knetstats</refentrytitle>"> - <!ENTITY dhpackage "knetstats"> - - <!ENTITY debian "<productname>Debian</productname>"> - <!ENTITY gnu "<acronym>GNU</acronym>"> - <!ENTITY gpl "&gnu; <acronym>GPL</acronym>"> -]> - -<refentry> - <refentryinfo> - <address> - &dhemail; - </address> - <author> - &dhfirstname; - &dhsurname; - </author> - <copyright> - <year>2005</year> - <holder>&dhusername;</holder> - </copyright> - &dhdate; - </refentryinfo> - <refmeta> - &dhucpackage; - - &dhsection; - </refmeta> - <refnamediv> - <refname>&dhpackage;</refname> - - <refpurpose>A system tray icon, which indicates network activity</refpurpose> - </refnamediv> - <refsynopsisdiv> - <cmdsynopsis> - <command>&dhpackage;</command> - - <arg><option>--help <replaceable>Print options to console.</replaceable></option></arg> - - </cmdsynopsis> - </refsynopsisdiv> - <refsect1> - <title>DESCRIPTION</title> - - <para>This manual page documents briefly the - <command>&dhpackage;</command> - commands.</para> - - <para>This manual page was written for the &debian; distribution. - Instead, it has documentation in the &gnu; - <application>Info</application> format; see below.</para> - - <para><command>&dhpackage;</command> is a program that provides a system tray icon. This icon provides two - LED's, which begin to blink if there is network traffic.</para> - - </refsect1> - <refsect1> - <title>OPTIONS</title> - - <para>These programs follow the usual &gnu; command line syntax, - with long options starting with two dashes (`-'). A summary of - options is included below. For a complete description, see the - <application>Info</application> files.</para> - - <variablelist> - <varlistentry> - <term><option>-h</option> - <option>--help</option> - </term> - <listitem> - <para>Show summary of options.</para> - </listitem> - </varlistentry> - <varlistentry> - <term><option>-v</option> - <option>--version</option> - </term> - <listitem> - <para>Show version of program.</para> - </listitem> - </varlistentry> - </variablelist> - </refsect1> - <refsect1> - <title>SEE ALSO</title> - - </refsect1> - <refsect1> - <title>AUTHOR</title> - - <para>This manual page was written by &dhusername; &dhemail; for - the &debian; system (but may be used by others). Permission is - granted to copy, distribute and/or modify this document under - the terms of the &gnu; General Public License, Version 2 any - later version published by the Free Software Foundation. - </para> - <para> - On Debian systems, the complete text of the GNU General Public - License can be found in /usr/share/common-licenses/GPL. - </para> - - </refsect1> -</refentry> - diff --git a/src/hi16-app-knetstats.png b/src/hi16-app-knetstats.png Binary files differdeleted file mode 100644 index cd48fb7..0000000 --- a/src/hi16-app-knetstats.png +++ /dev/null diff --git a/src/hi32-app-knetstats.png b/src/hi32-app-knetstats.png Binary files differdeleted file mode 100644 index 96e06d5..0000000 --- a/src/hi32-app-knetstats.png +++ /dev/null diff --git a/src/hi48-app-knetstats.png b/src/hi48-app-knetstats.png Binary files differdeleted file mode 100644 index fdf0d47..0000000 --- a/src/hi48-app-knetstats.png +++ /dev/null diff --git a/src/src/interface.cpp b/src/interface.cpp index 1ac98a8..1ac98a8 100644 --- a/src/src/interface.cpp +++ b/src/interface.cpp diff --git a/src/src/interface.h b/src/interface.h index 66bffc8..66bffc8 100644 --- a/src/src/interface.h +++ b/src/interface.h diff --git a/src/src/knetstats.cpp b/src/knetstats.cpp index bfbb1b2..bfbb1b2 100644 --- a/src/src/knetstats.cpp +++ b/src/knetstats.cpp diff --git a/src/knetstats.desktop b/src/knetstats.desktop deleted file mode 100644 index d77f9c2..0000000 --- a/src/knetstats.desktop +++ /dev/null @@ -1,32 +0,0 @@ -[Desktop Entry] -Name=KNetStats -Name[pa]=ਕੇ-ਨੈੱਟ-ਹਾਲਤ -GenericName=Network Monitor -GenericName[bg]=Наблюдение на мрежа -GenericName[cs]=Síťový monitor -GenericName[da]=Netværksovervåger -GenericName[de]=Netzwerkmonitor -GenericName[el]=Επόπτης δικτύου -GenericName[es]=Monitor de red -GenericName[et]=Võrgumonitor -GenericName[fr]=Surveillance réseau -GenericName[ga]=Monatóir líonra -GenericName[gl]=Monitor da rede -GenericName[it]=Monitor di rete -GenericName[ja]=ネットワークモニター -GenericName[ka]=ქსელის მეთვალყურე -GenericName[nl]=Netwerkmonitor -GenericName[pa]=ਨੈੱਟਵਰਕ ਨਿਗਰਾਨ -GenericName[pt]=Monitor da rede -GenericName[pt_BR]=Monitor de rede -GenericName[sk]=Monitor siete -GenericName[sv]=Nätverksövervakare -GenericName[tr]=Ağ izleyici -GenericName[uk]=Монітор мережі -Exec=knetstats -Icon=knetstats -Terminal=false -Type=Application -Categories=Qt;TDE;Network; -X-TDE-StartupNotify=true -X-DocPath=knetstats/index.html diff --git a/src/src/knetstats.h b/src/knetstats.h index e5042da..e5042da 100644 --- a/src/src/knetstats.h +++ b/src/knetstats.h diff --git a/src/src/knetstatsview.cpp b/src/knetstatsview.cpp index 72af3b4..72af3b4 100644 --- a/src/src/knetstatsview.cpp +++ b/src/knetstatsview.cpp diff --git a/src/src/knetstatsview.h b/src/knetstatsview.h index e8cc0b8..e8cc0b8 100644 --- a/src/src/knetstatsview.h +++ b/src/knetstatsview.h diff --git a/src/src/main.cpp b/src/main.cpp index b35cf41..b35cf41 100644 --- a/src/src/main.cpp +++ b/src/main.cpp diff --git a/src/src/pics/CMakeLists.txt b/src/pics/CMakeLists.txt index e7d1781..e7d1781 100644 --- a/src/src/pics/CMakeLists.txt +++ b/src/pics/CMakeLists.txt diff --git a/src/src/pics/Makefile.am b/src/pics/Makefile.am index fab68d0..fab68d0 100644 --- a/src/src/pics/Makefile.am +++ b/src/pics/Makefile.am diff --git a/src/src/pics/icon_pci.png b/src/pics/icon_pci.png Binary files differindex f7a607e..f7a607e 100644 --- a/src/src/pics/icon_pci.png +++ b/src/pics/icon_pci.png diff --git a/src/src/pics/theme0_both.png b/src/pics/theme0_both.png Binary files differindex 0950f8b..0950f8b 100644 --- a/src/src/pics/theme0_both.png +++ b/src/pics/theme0_both.png diff --git a/src/src/pics/theme0_error.png b/src/pics/theme0_error.png Binary files differindex b618a9a..b618a9a 100644 --- a/src/src/pics/theme0_error.png +++ b/src/pics/theme0_error.png diff --git a/src/src/pics/theme0_none.png b/src/pics/theme0_none.png Binary files differindex b953009..b953009 100644 --- a/src/src/pics/theme0_none.png +++ b/src/pics/theme0_none.png diff --git a/src/src/pics/theme0_rx.png b/src/pics/theme0_rx.png Binary files differindex e902270..e902270 100644 --- a/src/src/pics/theme0_rx.png +++ b/src/pics/theme0_rx.png diff --git a/src/src/pics/theme0_tx.png b/src/pics/theme0_tx.png Binary files differindex d3ad8be..d3ad8be 100644 --- a/src/src/pics/theme0_tx.png +++ b/src/pics/theme0_tx.png diff --git a/src/src/pics/theme1_both.png b/src/pics/theme1_both.png Binary files differindex 851c1cb..851c1cb 100644 --- a/src/src/pics/theme1_both.png +++ b/src/pics/theme1_both.png diff --git a/src/src/pics/theme1_error.png b/src/pics/theme1_error.png Binary files differindex 4b121a2..4b121a2 100644 --- a/src/src/pics/theme1_error.png +++ b/src/pics/theme1_error.png diff --git a/src/src/pics/theme1_none.png b/src/pics/theme1_none.png Binary files differindex 57f0142..57f0142 100644 --- a/src/src/pics/theme1_none.png +++ b/src/pics/theme1_none.png diff --git a/src/src/pics/theme1_rx.png b/src/pics/theme1_rx.png Binary files differindex 0a38fa3..0a38fa3 100644 --- a/src/src/pics/theme1_rx.png +++ b/src/pics/theme1_rx.png diff --git a/src/src/pics/theme1_tx.png b/src/pics/theme1_tx.png Binary files differindex 9708c27..9708c27 100644 --- a/src/src/pics/theme1_tx.png +++ b/src/pics/theme1_tx.png diff --git a/src/src/pics/theme2_both.png b/src/pics/theme2_both.png Binary files differindex 0ce25c8..0ce25c8 100644 --- a/src/src/pics/theme2_both.png +++ b/src/pics/theme2_both.png diff --git a/src/src/pics/theme2_error.png b/src/pics/theme2_error.png Binary files differindex 4418e97..4418e97 100644 --- a/src/src/pics/theme2_error.png +++ b/src/pics/theme2_error.png diff --git a/src/src/pics/theme2_none.png b/src/pics/theme2_none.png Binary files differindex a686cba..a686cba 100644 --- a/src/src/pics/theme2_none.png +++ b/src/pics/theme2_none.png diff --git a/src/src/pics/theme2_rx.png b/src/pics/theme2_rx.png Binary files differindex 8d992d9..8d992d9 100644 --- a/src/src/pics/theme2_rx.png +++ b/src/pics/theme2_rx.png diff --git a/src/src/pics/theme2_tx.png b/src/pics/theme2_tx.png Binary files differindex d176fac..d176fac 100644 --- a/src/src/pics/theme2_tx.png +++ b/src/pics/theme2_tx.png diff --git a/src/src/pics/theme3_both.png b/src/pics/theme3_both.png Binary files differindex 8670266..8670266 100644 --- a/src/src/pics/theme3_both.png +++ b/src/pics/theme3_both.png diff --git a/src/src/pics/theme3_error.png b/src/pics/theme3_error.png Binary files differindex ee08863..ee08863 100644 --- a/src/src/pics/theme3_error.png +++ b/src/pics/theme3_error.png diff --git a/src/src/pics/theme3_none.png b/src/pics/theme3_none.png Binary files differindex 4fbdbe5..4fbdbe5 100644 --- a/src/src/pics/theme3_none.png +++ b/src/pics/theme3_none.png diff --git a/src/src/pics/theme3_rx.png b/src/pics/theme3_rx.png Binary files differindex c0a6daf..c0a6daf 100644 --- a/src/src/pics/theme3_rx.png +++ b/src/pics/theme3_rx.png diff --git a/src/src/pics/theme3_tx.png b/src/pics/theme3_tx.png Binary files differindex bf1c21e..bf1c21e 100644 --- a/src/src/pics/theme3_tx.png +++ b/src/pics/theme3_tx.png diff --git a/src/src/pics/theme4_both.png b/src/pics/theme4_both.png Binary files differindex d237404..d237404 100644 --- a/src/src/pics/theme4_both.png +++ b/src/pics/theme4_both.png diff --git a/src/src/pics/theme4_error.png b/src/pics/theme4_error.png Binary files differindex b14a709..b14a709 100644 --- a/src/src/pics/theme4_error.png +++ b/src/pics/theme4_error.png diff --git a/src/src/pics/theme4_none.png b/src/pics/theme4_none.png Binary files differindex 02c7131..02c7131 100644 --- a/src/src/pics/theme4_none.png +++ b/src/pics/theme4_none.png diff --git a/src/src/pics/theme4_rx.png b/src/pics/theme4_rx.png Binary files differindex d77b01d..d77b01d 100644 --- a/src/src/pics/theme4_rx.png +++ b/src/pics/theme4_rx.png diff --git a/src/src/pics/theme4_tx.png b/src/pics/theme4_tx.png Binary files differindex 86591c6..86591c6 100644 --- a/src/src/pics/theme4_tx.png +++ b/src/pics/theme4_tx.png diff --git a/src/src/CMakeLists.txt b/src/src/CMakeLists.txt deleted file mode 100644 index 4b74eac..0000000 --- a/src/src/CMakeLists.txt +++ /dev/null @@ -1,38 +0,0 @@ -add_subdirectory( pics ) - -include_directories( - ${CMAKE_BINARY_DIR} - ${CMAKE_CURRENT_BINARY_DIR} - ${CMAKE_CURRENT_SOURCE_DIR} - ${TDE_INCLUDE_DIR} - ${TQT_INCLUDE_DIRS} -) - -link_directories( - ${TQT_LIBRARY_DIRS} - ${TDE_LIB_DIR} -) - - -##### knetstats (executable) - -tde_add_executable( ${PROJECT_NAME} AUTOMOC - - SOURCES - configurebase.ui - configure.cpp - statisticsbase.ui - main.cpp - knetstats.cpp - knetstatsview.cpp - statistics.cpp - chart.cpp - interface.cpp - LINK - tdecore-shared - tdeui-shared - tdeio-shared - tdeui-shared - - DESTINATION ${BIN_INSTALL_DIR} -) diff --git a/src/src/Makefile.am b/src/src/Makefile.am deleted file mode 100644 index 2875827..0000000 --- a/src/src/Makefile.am +++ /dev/null @@ -1,22 +0,0 @@ -INCLUDES = $(all_includes) - -SUBDIRS = pics - -bin_PROGRAMS = knetstats - -knetstats_SOURCES = configurebase.ui configure.cpp statisticsbase.ui main.cpp \ - knetstats.cpp knetstatsview.cpp statistics.cpp chart.cpp interface.cpp -knetstats_LDADD = $(LIB_TDEUI) -knetstats_LDFLAGS = $(all_libraries) $(KDE_RPATH) $(LIB_TQT) -lDCOP $(LIB_TDECORE) $(LIB_TDEUI) -ltdefx $(LIB_TDEIO) -ltdetexteditor -METASOURCES = configure.moc knetstats.moc knetstatsview.moc statistics.moc - -# these are the headers for your project -noinst_HEADERS = chart.h configure.h knetstats.h knetstatsview.h statistics.h \ - interface.h - -messages: rc.cpp - $(EXTRACTRC) *.ui >> rc.cpp - $(XGETTEXT) *.cpp -o $(podir)/knetstats.pot - -KDE_OPTIONS = nofinal - diff --git a/src/src/statistics.cpp b/src/statistics.cpp index 6097be1..6097be1 100644 --- a/src/src/statistics.cpp +++ b/src/statistics.cpp diff --git a/src/src/statistics.h b/src/statistics.h index a979961..a979961 100644 --- a/src/src/statistics.h +++ b/src/statistics.h diff --git a/src/src/statisticsbase.ui b/src/statisticsbase.ui index c10548e..c10548e 100644 --- a/src/src/statisticsbase.ui +++ b/src/statisticsbase.ui |