KDECore
#include "kurl.h"
#include <kdebug.h>
#include <kglobal.h>
#include <kshell.h>
#include <stdio.h>
#include <assert.h>
#include <ctype.h>
#include <stdlib.h>
#include <unistd.h>
#include <QtCore/QDir>
#include <QtCore/QMutableStringListIterator>
#include <QtCore/QRegExp>
#include <QtCore/QMimeData>
#include <QtCore/QTextCodec>
Go to the source code of this file.
|
#define | IS_DRIVE_OR_DOUBLESLASH(isletter, char1, char2, colon, slash) ((isletter && char2 == colon) || (char1 == slash && char2 == slash)) |
|
#define | IS_DRIVE_OR_DOUBLESLASH_0 ( IS_DRIVE_OR_DOUBLESLASH(IS_LETTER(QLatin1Char(str[0])), QLatin1Char(str[0]), QLatin1Char(str[1]), QLatin1Char(':'), QLatin1Char('/')) ) |
|
#define | IS_LETTER(c) ((c >= QLatin1Char('A') && c <= QLatin1Char('Z')) || (c >= QLatin1Char('a') && c <= QLatin1Char('z'))) |
|
#define | IS_SLASH_AND_DRIVE_OR_DOUBLESLASH_0 ( QLatin1Char(str[0]) == QLatin1Char('/') && IS_DRIVE_OR_DOUBLESLASH(IS_LETTER(QLatin1Char(str[1])), QLatin1Char(str[1]), QLatin1Char(str[2]), QLatin1Char(':'), QLatin1Char('/')) ) |
|
#define IS_DRIVE_OR_DOUBLESLASH |
( |
|
isletter, |
|
|
|
char1, |
|
|
|
char2, |
|
|
|
colon, |
|
|
|
slash |
|
) |
| ((isletter && char2 == colon) || (char1 == slash && char2 == slash)) |
#define IS_DRIVE_OR_DOUBLESLASH_0 ( IS_DRIVE_OR_DOUBLESLASH(IS_LETTER(QLatin1Char(str[0])), QLatin1Char(str[0]), QLatin1Char(str[1]), QLatin1Char(':'), QLatin1Char('/')) ) |
#define IS_LETTER |
( |
|
c | ) |
((c >= QLatin1Char('A') && c <= QLatin1Char('Z')) || (c >= QLatin1Char('a') && c <= QLatin1Char('z'))) |
#define IS_SLASH_AND_DRIVE_OR_DOUBLESLASH_0 ( QLatin1Char(str[0]) == QLatin1Char('/') && IS_DRIVE_OR_DOUBLESLASH(IS_LETTER(QLatin1Char(str[1])), QLatin1Char(str[1]), QLatin1Char(str[2]), QLatin1Char(':'), QLatin1Char('/')) ) |
KDE4 TODO: maybe we should use QUrl::resolved()
Definition at line 50 of file kurl.cpp.
static bool hasSubUrl |
( |
const QUrl & |
url | ) |
|
|
inlinestatic |
static bool isLocalFile |
( |
const QUrl & |
url | ) |
|
|
inlinestatic |
uint qHash |
( |
const KUrl & |
kurl | ) |
|
static QByteArray uriListData |
( |
const KUrl::List & |
urls | ) |
|
|
static |
bool urlcmp |
( |
const QString & |
_url1, |
|
|
const QString & |
_url2, |
|
|
const KUrl::EqualsOptions & |
_options |
|
) |
| |
|
related |
const char s_kdeUriListMime[] = "application/x-kde4-urilist" |
|
static |
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:47:10 by
doxygen 1.8.7 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.