14#include "kiogui_export.h"
28class KUriFilterPrivate;
29class KUriFilterDataPrivate;
62 QString desktopEntryName()
const;
75 virtual QString iconName()
const;
100 void setDesktopEntryName(
const QString &);
101 void setIconName(
const QString &);
106 friend class KUriFilterPlugin;
107 class KUriFilterSearchProviderPrivate;
108 std::unique_ptr<KUriFilterSearchProviderPrivate>
const d;
194 SearchFilterOptionNone = 0x0,
195 RetrieveSearchProvidersOnly = 0x01,
196 RetrievePreferredSearchProvidersOnly = 0x02,
197 RetrieveAvailableSearchProvidersOnly = (RetrievePreferredSearchProvidersOnly | RetrieveSearchProvidersOnly),
286 bool hasAbsolutePath()
const;
294 QString argsAndOptions()
const;
302 bool hasArgsAndOptions()
const;
308 bool checkForExecutables()
const;
334 QChar searchTermSeparator()
const;
344 QString searchProvider()
const;
394 QString queryForPreferredSearchProvider(
const QString &provider)
const;
417 QString iconNameForPreferredSearchProvider(
const QString &provider)
const;
441 QString alternateDefaultSearchProvider()
const;
450 QString defaultUrlScheme()
const;
476 void setCheckForExecutables(
bool check);
486 void setData(
const QUrl &url);
497 void setData(
const QString &url);
513 bool setAbsolutePath(
const QString &abs_path);
527 void setAlternateSearchProviders(
const QStringList &providers);
540 void setAlternateDefaultSearchProvider(
const QString &provider);
555 void setDefaultUrlScheme(
const QString &);
594 friend class KUriFilterPlugin;
595 std::unique_ptr<KUriFilterDataPrivate> d;
712 NormalTextFilter = 0x01,
713 WebShortcutFilter = 0x02,
828 std::unique_ptr<KUriFilterPrivate>
const d;
829 friend class KUriFilterSingleton;
This class is a basic messaging class used to exchange filtering information between the filter plugi...
UriTypes
Describes the type of the URI that was filtered.
@ Error
An incorrect URI (ex: "~johndoe" when user johndoe does not exist in that system)
@ Blocked
A URI that should be blocked/filtered (ex: ad filtering)
@ Shell
A shell executable (ex: echo "Test..." >> ~/testfile)
@ Unknown
A URI that is not identified. Default value when a KUriFilterData is first created.
@ Executable
A local file whose executable flag is set.
@ LocalFile
A local file whose executable flag is not set.
@ Help
A man or info page.
@ LocalDir
A local directory.
SearchFilterOption
This enum describes the search filtering options to be used.
~KUriFilterData()
Destructor.
Class that holds information about a search provider.
virtual ~KUriFilterSearchProvider()
Destructor.
KUriFilter applies a number of filters to a URI and returns a filtered version if any filter matches.
SearchFilterType
This enum describes the types of search plugin filters available.
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:16:28 by
doxygen 1.12.0 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.