[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: kdenetwork/kget
From: Laurent Montel <montell () club-internet ! fr>
Date: 2002-12-14 21:46:23
[Download RAW message or body]
CVS commit by mlaurent:
Add some const
M +2 -1 bwdatetime.cpp 1.12
M +7 -7 bwdatetime.h 1.8
M +1 -1 getfilejob.cpp 1.6
M +1 -1 getfilejob.h 1.4
M +2 -2 kmainwidget.h 1.20
M +11 -11 transfer.h 1.19
M +3 -3 transferlist.h 1.13
--- kdenetwork/kget/bwdatetime.cpp #1.11:1.12
@@ -42,4 +42,5 @@
#include <kmessagebox.h>
#include <kglobal.h>
+#include <qlabel.h>
#include "bwdatetime.h"
--- kdenetwork/kget/bwdatetime.h #1.7:1.8
@@ -42,5 +42,5 @@
#define BW_DATE_TIME_H_
-#include <qlabel.h>
+
#include <qbuttongroup.h>
#include <qradiobutton.h>
@@ -48,5 +48,5 @@
#include "common.h"
// #include "spin.h"
-
+class QLabel;
class QSpinBox;
--- kdenetwork/kget/getfilejob.cpp #1.5:1.6
@@ -29,5 +29,5 @@ GetFileJob::~GetFileJob()
/** Return true if the file has been resumed */
-bool GetFileJob::getCanResume()
+bool GetFileJob::getCanResume()const
{
return m_canResume;
--- kdenetwork/kget/getfilejob.h #1.3:1.4
@@ -30,5 +30,5 @@ public:
GetFileJob(const KURL & m_src, const KURL & m_dest);
~GetFileJob();
- bool getCanResume();
+ bool getCanResume() const;
};
}
--- kdenetwork/kget/kmainwidget.h #1.19:1.20
@@ -74,5 +74,5 @@ Q_OBJECT public:
void setAutoDisconnect();
- LogWindow *logwin() { return logWindow;}
+ LogWindow *logwin()const { return logWindow;}
friend class Settings;
--- kdenetwork/kget/transfer.h #1.18:1.19
@@ -82,44 +82,44 @@ public:
- QDateTime getStartTime()
+ QDateTime getStartTime()const
{
return startTime;
}
- QTime getRemainingTime()
+ QTime getRemainingTime()const
{
return remainingTime;
}
- unsigned long getTotalSize()
+ unsigned long getTotalSize()const
{
return totalSize;
}
- unsigned long getProcessedSize()
+ unsigned long getProcessedSize()const
{
return processedSize;
}
- KURL getSrc()
+ KURL getSrc()const
{
return src;
}
- KURL getDest()
+ KURL getDest()const
{
return dest;
}
- int getPercent()
+ int getPercent()const
{
return percent;
}
- int getSpeed()
+ int getSpeed()const
{
return speed;
}
- TransferStatus getStatus()
+ TransferStatus getStatus()const
{
return status;
}
- int getMode()
+ int getMode()const
{
return mode;
--- kdenetwork/kget/transferlist.h #1.12:1.13
@@ -71,5 +71,5 @@ Q_OBJECT public:
void moveToEnd(Transfer * item);
- uint getPhasesNum()
+ uint getPhasesNum()const
{
return phasesNum;
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic