[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    kdeutils/kfloppy
From:       Nicolas Goutte <nicolasg () snafu ! de>
Date:       2005-01-01 16:22:32
Message-ID: 20050101162232.619831BC3B () office ! kde ! org
[Download RAW message or body]

CVS commit by goutte: 

- add copyright for 2004
- replace some complex DEBUGS by the corrsponding kdDebug


  M +3 -3      floppy.cpp   1.83
  M +7 -7      format.cpp   1.24


--- kdeutils/kfloppy/floppy.cpp  #1.82:1.83
@@ -1,7 +1,7 @@
 /*
     KFloppy
-    Copyright (C) 1997 Bernd Johannes Wuebben
-                       wuebben@math.cornell.edu
 
+    Copyright (C) 1997 Bernd Johannes Wuebben <wuebben@math.cornell.edu>
+    Copyright (C) 2004 Nicolas GOUTTE <goutte@kde.org>
 
     This program is free software; you can redistribute it and/or modify

--- kdeutils/kfloppy/format.cpp  #1.23:1.24
@@ -2,7 +2,7 @@
 
     KFloppy
-    Copyright (C) 2002 Adriaan de Groot
-                       groot@kde.org
 
+    Copyright (C) 2002 Adriaan de Groot <groot@kde.org>
+    Copyright (C) 2004, 2005 Nicolas GOUTTE <goutte@kde.org>
 
     This program is free software; you can redistribute it and/or modify
@@ -147,5 +147,5 @@ void KFActionQueue::queue(KFAction *p)
         else
         {
-                DEBUGS("  Running action " << next->name());
+                kdDebug(KFAREA) << "Running action " << next->name() << endl;
                 QObject::connect(next,SIGNAL(done(KFAction *,bool)),
                         this,SLOT(actionDone(KFAction *,bool)));
@@ -293,5 +293,5 @@ bool FloppyAction::configureDevice(int d
                 if (access(*devices,W_OK)>=0)
                 {
-                        DEBUGS(QString("  Found device %1").arg(*devices));
+                        kdDebug(KFAREA) << "Found device " << *devices << endl;
                         devicename=*devices;
                         break;
@@ -301,5 +301,5 @@ bool FloppyAction::configureDevice(int d
         if (!devicename)
         {
-                QString str = i18n(
+                const QString str = i18n(
                         "Cannot access %1\nMake sure that the device exists and that "
                         "you have write permission to it.").arg(deviceinfo->devices[0]);
@@ -340,5 +340,5 @@ void FloppyAction::processStdOut(KProces
         Q_UNUSED(b);
         Q_UNUSED(l);
-        DEBUGS("stdout:" << QString::fromLatin1(b,l));
+        kdDebug(KFAREA) << "stdout:" << QString::fromLatin1(b,l) << endl;
 }
 


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic