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

KDE3Support

Signals | Public Member Functions | List of all members
K3FileViewSignaler Class Reference

#include <k3fileview.h>

Inheritance diagram for K3FileViewSignaler:
QObject

Signals

void activatedMenu (const KFileItem &item, const QPoint &pos)
 
void dirActivated (const KFileItem &item)
 
void dropped (const KFileItem &item, QDropEvent *event, const KUrl::List &urls)
 
void fileHighlighted (const KFileItem &item)
 
void fileSelected (const KFileItem &item)
 
void sortingChanged (QDir::SortFlags)
 

Public Member Functions

void activate (const KFileItem &item)
 
void activateMenu (const KFileItem &item, const QPoint &pos)
 
void changeSorting (QDir::SortFlags sorting)
 
void dropURLs (const KFileItem &item, QDropEvent *event, const KUrl::List &urls)
 
void highlightFile (const KFileItem &item)
 

Detailed Description

internal class to make easier to use signals possible

Definition at line 38 of file k3fileview.h.

Member Function Documentation

◆ activate()

void K3FileViewSignaler::activate ( const KFileItem &  item)

Call this method when an item is selected (depends on single click / double click configuration).

Emits the appropriate signal.

Definition at line 42 of file k3fileview.cpp.

◆ activatedMenu

void K3FileViewSignaler::activatedMenu ( const KFileItem &  item,
const QPoint &  pos 
)
signal

◆ activateMenu()

void K3FileViewSignaler::activateMenu ( const KFileItem &  item,
const QPoint &  pos 
)

Definition at line 55 of file k3fileview.cpp.

◆ changeSorting()

void K3FileViewSignaler::changeSorting ( QDir::SortFlags  sorting)

Definition at line 60 of file k3fileview.cpp.

◆ dirActivated

void K3FileViewSignaler::dirActivated ( const KFileItem &  item)
signal

◆ dropped

void K3FileViewSignaler::dropped ( const KFileItem &  item,
QDropEvent *  event,
const KUrl::List &  urls 
)
signal

◆ dropURLs()

void K3FileViewSignaler::dropURLs ( const KFileItem &  item,
QDropEvent *  event,
const KUrl::List &  urls 
)

Definition at line 65 of file k3fileview.cpp.

◆ fileHighlighted

void K3FileViewSignaler::fileHighlighted ( const KFileItem &  item)
signal

the item maybe be a null item, indicating that we're in multiselection mode and the selection has changed.

◆ fileSelected

void K3FileViewSignaler::fileSelected ( const KFileItem &  item)
signal

◆ highlightFile()

void K3FileViewSignaler::highlightFile ( const KFileItem &  item)

emits the highlighted signal for item.

Call this in your view class whenever the selection changes.

Definition at line 50 of file k3fileview.cpp.

◆ sortingChanged

void K3FileViewSignaler::sortingChanged ( QDir::SortFlags  )
signal

The documentation for this class was generated from the following files:
  • k3fileview.h
  • k3fileview.cpp
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Mon Feb 20 2023 00:00:00 by doxygen 1.9.6 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

KDE3Support

Skip menu "KDE3Support"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members
  • Related Pages

kdelibs-4.14.38 API Reference

Skip menu "kdelibs-4.14.38 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
  •   WTF
  • kjsembed
  • KNewStuff
  • KParts
  • KPty
  • Kross
  • KUnitConversion
  • KUtils
  • Nepomuk
  • Plasma
  • Solid
  • Sonnet
  • ThreadWeaver
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