• Skip to content
  • Skip to link menu
KDE 4.2 API Reference
  • KDE API Reference
  • API Reference
  • Sitemap
  • Contact Us
 

libkonq

KonqCopyToMenu Class Reference

This class adds "Copy To" and "Move To" submenus to a popupmenu. More...

#include <konq_copytomenu.h>

List of all members.


Public Member Functions

void addActionsTo (QMenu *menu)
 KonqCopyToMenu ()
void setItems (const KFileItemList &items)
void setReadOnly (bool ro)
void setUrls (const KUrl::List &urls)
 ~KonqCopyToMenu ()

Detailed Description

This class adds "Copy To" and "Move To" submenus to a popupmenu.

Definition at line 34 of file konq_copytomenu.h.


Constructor & Destructor Documentation

KonqCopyToMenu::KonqCopyToMenu (  ) 

Creates a KonqCopyToMenu instance.

Note that this instance must stay alive for at least as long as the popupmenu; it has the slots for the actions created by addActionsTo.

Definition at line 41 of file konq_copytomenu.cpp.

KonqCopyToMenu::~KonqCopyToMenu (  ) 

Destructor.

Definition at line 47 of file konq_copytomenu.cpp.


Member Function Documentation

void KonqCopyToMenu::addActionsTo ( QMenu *  menu  ) 

Generate the actions and submenus, and adds them to the menu.

All actions are created as children of the menu.

Definition at line 71 of file konq_copytomenu.cpp.

void KonqCopyToMenu::setItems ( const KFileItemList &  items  ) 

Sets the list of fileitems which the actions apply to.

Either call this or setUrls.

Definition at line 52 of file konq_copytomenu.cpp.

void KonqCopyToMenu::setReadOnly ( bool  ro  ) 

If setReadOnly(true) is called, the "Move To" submenu will not appear.

Definition at line 66 of file konq_copytomenu.cpp.

void KonqCopyToMenu::setUrls ( const KUrl::List &  urls  ) 

Sets the URLs which the actions apply to.

Either call this or setItems.

Definition at line 61 of file konq_copytomenu.cpp.


The documentation for this class was generated from the following files:
  • konq_copytomenu.h
  • konq_copytomenu.cpp

libkonq

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

API Reference

Skip menu "API Reference"
  • Konsole
  • Libraries
  •   libkonq
Generated for API Reference by doxygen 1.5.7
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal