• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kdelibs API Reference
  • KDE Home
  • Contact Us
 

Nepomuk-Core

  • Nepomuk2
  • FileWatch
Public Slots | Signals | Public Member Functions | Static Public Member Functions | List of all members
Nepomuk2::FileWatch Class Reference

#include <nepomukfilewatch.h>

Inheritance diagram for Nepomuk2::FileWatch:
Inheritance graph
[legend]

Public Slots

Q_SCRIPTABLE bool isUpdatingMetaData () const
 
Q_SCRIPTABLE QString statusMessage () const
 

Signals

Q_SCRIPTABLE void metadataUpdateStarted ()
 
Q_SCRIPTABLE void metadataUpdateStopped ()
 
Q_SCRIPTABLE void status (int status, QString msg)
 

Public Member Functions

 FileWatch ()
 
 ~FileWatch ()
 
- Public Member Functions inherited from Nepomuk2::Service2
 Service2 (QObject *parent=0, bool delayedInitialization=false)
 
virtual ~Service2 ()
 
QString dbusServiceName ()
 
QString description ()
 
QString name ()
 

Static Public Member Functions

static void updateFileViaFileIndexer (const QString &path)
 
static void updateFolderViaFileIndexer (const QString &path)
 
- Static Public Member Functions inherited from Nepomuk2::Service2
static QString dbusServiceName (const QString &serviceName)
 
template<typename T >
static int init (int argc, char **argv, const KAboutData &aboutData)
 
template<typename T >
static int initUI (int argc, char **argv, const KAboutData &aboutData)
 

Additional Inherited Members

- Protected Member Functions inherited from Nepomuk2::Service2
bool initCommon (const QString &name)
 
void setServiceInitialized (bool success)
 

Detailed Description

Definition at line 40 of file nepomukfilewatch.h.

Constructor & Destructor Documentation

Nepomuk2::FileWatch::FileWatch ( )

Definition at line 119 of file nepomukfilewatch.cpp.

Nepomuk2::FileWatch::~FileWatch ( )

Definition at line 210 of file nepomukfilewatch.cpp.

Member Function Documentation

bool Nepomuk2::FileWatch::isUpdatingMetaData ( ) const
slot

Returns if the watcher is doing something.

Returns
  • true watcher is working
  • false watcher is idle

Definition at line 231 of file nepomukfilewatch.cpp.

Q_SCRIPTABLE void Nepomuk2::FileWatch::metadataUpdateStarted ( )
signal

Emitted when the watcher starts to do something.

Q_SCRIPTABLE void Nepomuk2::FileWatch::metadataUpdateStopped ( )
signal

Emitted when the watcher stops to do something.

Q_SCRIPTABLE void Nepomuk2::FileWatch::status ( int  status,
QString  msg 
)
signal

Emitted each time the status/activity of the FileWatcher changes.

status what the watcher is doing

  • 0 idle
  • 1 working

msg translated status message that indicates what is happening

QString Nepomuk2::FileWatch::statusMessage ( ) const
slot

Returns a translated status message that indicates what is happening.

Returns
translated status string

Definition at line 236 of file nepomukfilewatch.cpp.

void Nepomuk2::FileWatch::updateFileViaFileIndexer ( const QString &  path)
static

Tells the file indexer to update the file (it can also be a folder but then updating will not be recursive) at path.

Definition at line 310 of file nepomukfilewatch.cpp.

void Nepomuk2::FileWatch::updateFolderViaFileIndexer ( const QString &  path)
static

Tells the file indexer to update the folder at path or the folder containing path in case it is a file.

Definition at line 322 of file nepomukfilewatch.cpp.


The documentation for this class was generated from the following files:
  • nepomukfilewatch.h
  • nepomukfilewatch.cpp
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:48:09 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

Nepomuk-Core

Skip menu "Nepomuk-Core"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members
  • Modules
  • Related Pages

kdelibs API Reference

Skip menu "kdelibs API Reference"
  • DNSSD
  • Interfaces
  •   KHexEdit
  •   KMediaPlayer
  •   KSpeech
  •   KTextEditor
  • kconf_update
  • KDE3Support
  •   KUnitTest
  • KDECore
  • KDED
  • KDEsu
  • KDEUI
  • KDEWebKit
  • KDocTools
  • KFile
  • KHTML
  • KImgIO
  • KInit
  • kio
  • KIOSlave
  • KJS
  •   KJS-API
  • kjsembed
  •   WTF
  • KNewStuff
  • KParts
  • KPty
  • Kross
  • KUnitConversion
  • KUtils
  • Nepomuk
  • Nepomuk-Core
  • Nepomuk
  • Plasma
  • Solid
  • Sonnet
  • ThreadWeaver

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal