diff options
author | Achim Gottinger <achim@gentoo.org> | 2001-01-30 20:01:20 +0000 |
---|---|---|
committer | Achim Gottinger <achim@gentoo.org> | 2001-01-30 20:01:20 +0000 |
commit | c21705283f8947b56b1345bcf4207f059250a5af (patch) | |
tree | f799f7dd640d5153e46e92d13381e0b78f194905 /app-admin/qtsvc | |
parent | *** empty log message *** (diff) | |
download | gentoo-2-c21705283f8947b56b1345bcf4207f059250a5af.tar.gz gentoo-2-c21705283f8947b56b1345bcf4207f059250a5af.tar.bz2 gentoo-2-c21705283f8947b56b1345bcf4207f059250a5af.zip |
*** empty log message ***
Diffstat (limited to 'app-admin/qtsvc')
-rw-r--r-- | app-admin/qtsvc/files/qtsvc-0.1.diff | 83 |
1 files changed, 83 insertions, 0 deletions
diff --git a/app-admin/qtsvc/files/qtsvc-0.1.diff b/app-admin/qtsvc/files/qtsvc-0.1.diff new file mode 100644 index 000000000000..092932daa110 --- /dev/null +++ b/app-admin/qtsvc/files/qtsvc-0.1.diff @@ -0,0 +1,83 @@ +diff -U3 qtsvc.orig/main.cpp qtsvc/main.cpp +--- qtsvc.orig/main.cpp Sun Jan 21 04:55:31 2001 ++++ qtsvc/main.cpp Sat Jan 27 12:58:18 2001 +@@ -13,7 +13,7 @@ + int main(int argc, char *argv[]) + { + QApplication a(argc, argv); +- a.setFont(QFont("helvetica", 12)); ++ a.setFont(QFont("helvetica", 10)); + + // Create a new ServiceView, setup the appearance and size, then + // make it the main widget. +diff -U3 qtsvc.orig/qtsvcconfigdlg.cpp qtsvc/qtsvcconfigdlg.cpp +--- qtsvc.orig/qtsvcconfigdlg.cpp Thu Nov 30 04:27:02 2000 ++++ qtsvc/qtsvcconfigdlg.cpp Sat Jan 27 12:59:33 2001 +@@ -21,7 +21,7 @@ + setMinimumSize(280,200); + + // defaults for variables +- TargetDirectory = "/service"; ++ TargetDirectory = "/var/lib/supervise/control"; + UpdateInterval = 5; + MayMultiSelect = false; + CountChildren = true; +diff -U3 qtsvc.orig/serviceasitem.cpp qtsvc/serviceasitem.cpp +--- qtsvc.orig/serviceasitem.cpp Sun Jan 21 08:12:49 2001 ++++ qtsvc/serviceasitem.cpp Sat Jan 27 12:47:40 2001 +@@ -107,7 +107,7 @@ + + // text() simply returns the text in each fields. The actual work was done + // in setup(), this code simply gets the results from the variables. +-const char *ServiceAsItem::text(int column) const ++QString ServiceAsItem::text(int column) const + { + switch (column) { + case 0: return c_age; +diff -U3 qtsvc.orig/serviceasitem.h qtsvc/serviceasitem.h +--- qtsvc.orig/serviceasitem.h Sun Jan 21 05:33:00 2001 ++++ qtsvc/serviceasitem.h Sat Jan 27 12:47:40 2001 +@@ -55,7 +55,7 @@ + + // Standard QListViewItem overrides + void setup(); +- const char *text(int column) const; // gives the text for each column ++ QString text(int column) const; // gives the text for each column + + // Paint cell is our own version in order to implement background coloring + // and colored text for certain fields. +diff -U3 qtsvc.orig/serviceview.cpp qtsvc/serviceview.cpp +--- qtsvc.orig/serviceview.cpp Sun Jan 21 06:03:00 2001 ++++ qtsvc/serviceview.cpp Sat Jan 27 12:47:40 2001 +@@ -5,6 +5,7 @@ + + #include <qtimer.h> + #include <qdict.h> ++#include <q1xcompatibility.h> + + #include "serviceview.h" + #include "qtsvcconfigdlg.h" +diff -U3 qtsvc.orig/varasitem.cpp qtsvc/varasitem.cpp +--- qtsvc.orig/varasitem.cpp Tue Dec 5 05:50:43 2000 ++++ qtsvc/varasitem.cpp Sat Jan 27 12:47:40 2001 +@@ -18,7 +18,7 @@ + } + + // There are two columns: name and value +-const char *VarAsItem::text(int column) const ++QString VarAsItem::text(int column) const + { + switch (column) { + case 0: return name; +diff -U3 qtsvc.orig/varasitem.h qtsvc/varasitem.h +--- qtsvc.orig/varasitem.h Tue Dec 5 05:47:53 2000 ++++ qtsvc/varasitem.h Sat Jan 27 12:47:40 2001 +@@ -30,7 +30,7 @@ + ~VarAsItem() {}; + + // Standard QListViewItem overrides +- virtual const char *text(int column) const; ++ virtual QString text(int column) const; + + // paintCell is used blot out stuff beneath an edit box + virtual void paintCell(QPainter* p, const QColorGroup& cg, |