mirror of
https://bitbucket.org/smil3y/kdelibs.git
synced 2025-02-24 02:42:48 +00:00
kio: remove unused port-related definitions
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
parent
b7e764dfcd
commit
5fa0b7a569
4 changed files with 10 additions and 17 deletions
|
@ -38,7 +38,6 @@
|
|||
#include <sys/stat.h> // S_ISDIR
|
||||
#include <sys/wait.h>
|
||||
#include <sys/uio.h>
|
||||
|
||||
#include <assert.h>
|
||||
#include <signal.h>
|
||||
#include <stdlib.h>
|
||||
|
|
|
@ -23,19 +23,17 @@
|
|||
|
||||
#include <QtCore/QVariant>
|
||||
#include <QtCore/QFile> // for QFile::Permissions
|
||||
#include <QtCore/QTime>
|
||||
#include <QtGui/QPixmap> // for pixmapForUrl
|
||||
|
||||
#include <kiconloader.h>
|
||||
#include <QtGui/QPixmap> // for pixmapForUrl
|
||||
#include <kjob.h>
|
||||
|
||||
#include <sys/types.h> // mode_t
|
||||
|
||||
#include <kjob.h>
|
||||
|
||||
class KUrl;
|
||||
class KJobTrackerInterface;
|
||||
|
||||
#include <QTime>
|
||||
|
||||
/**
|
||||
* @short A namespace for KIO globals
|
||||
*
|
||||
|
|
|
@ -32,14 +32,8 @@
|
|||
// PORT DEFAULTS
|
||||
#define DEFAULT_FTP_PORT 21
|
||||
#define DEFAULT_SFTP_PORT 22
|
||||
#define DEFAULT_HTTP_PORT 80
|
||||
#define DEFAULT_HTTPS_PORT 443
|
||||
|
||||
// OTHER GENERIC PORT DEFAULTS
|
||||
#define DEFAULT_PROXY_PORT 8080
|
||||
#define MAX_PORT_VALUE 65535
|
||||
|
||||
// DEFAULT USER AGENT KEY - ENABLES OS NAME
|
||||
#define DEFAULT_USER_AGENT_KEYS "om" // Show OS, Machine
|
||||
|
||||
#endif
|
||||
#endif // KIO_IOSLAVE_DEFAULTS_H
|
||||
|
|
|
@ -85,10 +85,12 @@ namespace KIO {
|
|||
* Some extra storage space for jobs that don't have their own
|
||||
* private d pointer.
|
||||
*/
|
||||
enum { EF_TransferJobAsync = (1 << 0),
|
||||
EF_TransferJobNeedData = (1 << 1),
|
||||
EF_TransferJobDataSent = (1 << 2),
|
||||
EF_KillCalled = (1 << 3) };
|
||||
enum {
|
||||
EF_TransferJobAsync = (1 << 0),
|
||||
EF_TransferJobNeedData = (1 << 1),
|
||||
EF_TransferJobDataSent = (1 << 2),
|
||||
EF_KillCalled = (1 << 3)
|
||||
};
|
||||
|
||||
// Maybe we could use the QObject parent/child mechanism instead
|
||||
// (requires a new ctor, and moving the ctor code to some init()).
|
||||
|
|
Loading…
Add table
Reference in a new issue