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

kleopatra

  • Kleo
  • KeyListController
Public Slots | Signals | Public Member Functions | List of all members
Kleo::KeyListController Class Reference

#include <keylistcontroller.h>

Inherits QObject.

Public Slots

void addView (QAbstractItemView *view)
 
void cancelCommands ()
 
void removeView (QAbstractItemView *view)
 
void setCurrentView (QAbstractItemView *view)
 
void updateConfig ()
 

Signals

void commandsExecuting (bool)
 
void contextMenuRequested (QAbstractItemView *view, const QPoint &p)
 
void message (const QString &msg, int timeout=0)
 
void progress (int current, int total)
 

Public Member Functions

 KeyListController (QObject *parent=0)
 
 ~KeyListController ()
 
void createActions (KActionCollection *collection)
 
QAbstractItemView * currentView () const
 
void enableDisableActions (const QItemSelectionModel *sm) const
 
AbstractKeyListModel * flatModel () const
 
bool hasRunningCommands () const
 
AbstractKeyListModel * hierarchicalModel () const
 
QWidget * parentWidget () const
 
template<typename T_Command >
void registerActionForCommand (QAction *action)
 
void registerCommand (Command *cmd)
 
void setFlatModel (AbstractKeyListModel *model)
 
void setHierarchicalModel (AbstractKeyListModel *model)
 
void setParentWidget (QWidget *parent)
 
void setTabWidget (TabWidget *tabs)
 
bool shutdownWarningRequired () const
 
TabWidget * tabWidget () const
 
std::vector< QAbstractItemView * > views () const
 

Detailed Description

Definition at line 55 of file keylistcontroller.h.

Constructor & Destructor Documentation

KeyListController::KeyListController ( QObject *  parent = 0)
explicit

Definition at line 194 of file keylistcontroller.cpp.

KeyListController::~KeyListController ( )

Definition at line 200 of file keylistcontroller.cpp.

Member Function Documentation

void KeyListController::addView ( QAbstractItemView *  view)
slot

Definition at line 221 of file keylistcontroller.cpp.

void KeyListController::cancelCommands ( )
slot

Definition at line 481 of file keylistcontroller.cpp.

void Kleo::KeyListController::commandsExecuting ( bool  )
signal
void Kleo::KeyListController::contextMenuRequested ( QAbstractItemView *  view,
const QPoint &  p 
)
signal
void KeyListController::createActions ( KActionCollection *  collection)

Definition at line 330 of file keylistcontroller.cpp.

QAbstractItemView * KeyListController::currentView ( ) const

Definition at line 322 of file keylistcontroller.cpp.

void KeyListController::enableDisableActions ( const QItemSelectionModel *  sm) const

Definition at line 562 of file keylistcontroller.cpp.

AbstractKeyListModel * KeyListController::flatModel ( ) const

Definition at line 314 of file keylistcontroller.cpp.

bool KeyListController::hasRunningCommands ( ) const

Definition at line 472 of file keylistcontroller.cpp.

AbstractKeyListModel * KeyListController::hierarchicalModel ( ) const

Definition at line 318 of file keylistcontroller.cpp.

void Kleo::KeyListController::message ( const QString &  msg,
int  timeout = 0 
)
signal
QWidget * KeyListController::parentWidget ( ) const

Definition at line 284 of file keylistcontroller.cpp.

void Kleo::KeyListController::progress ( int  current,
int  total 
)
signal
template<typename T_Command >
void Kleo::KeyListController::registerActionForCommand ( QAction *  action)
inline

Definition at line 82 of file keylistcontroller.h.

void KeyListController::registerCommand ( Command *  cmd)

Definition at line 463 of file keylistcontroller.cpp.

void KeyListController::removeView ( QAbstractItemView *  view)
slot

Definition at line 227 of file keylistcontroller.cpp.

void KeyListController::setCurrentView ( QAbstractItemView *  view)
slot

Definition at line 233 of file keylistcontroller.cpp.

void KeyListController::setFlatModel ( AbstractKeyListModel *  model)

Definition at line 241 of file keylistcontroller.cpp.

void KeyListController::setHierarchicalModel ( AbstractKeyListModel *  model)

Definition at line 254 of file keylistcontroller.cpp.

void KeyListController::setParentWidget ( QWidget *  parent)

Definition at line 280 of file keylistcontroller.cpp.

void KeyListController::setTabWidget ( TabWidget *  tabs)

Definition at line 267 of file keylistcontroller.cpp.

bool KeyListController::shutdownWarningRequired ( ) const

Definition at line 476 of file keylistcontroller.cpp.

TabWidget * KeyListController::tabWidget ( ) const

Definition at line 326 of file keylistcontroller.cpp.

void KeyListController::updateConfig ( )
slot

Definition at line 679 of file keylistcontroller.cpp.

std::vector< QAbstractItemView * > KeyListController::views ( ) const

Definition at line 237 of file keylistcontroller.cpp.


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

KDE's Doxygen guidelines are available online.

kleopatra

Skip menu "kleopatra"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members

kdepim API Reference

Skip menu "kdepim API Reference"
  • akonadi_next
  • akregator
  • blogilo
  • calendarsupport
  • console
  •   kabcclient
  •   konsolekalendar
  • kaddressbook
  • kalarm
  •   lib
  • kdgantt2
  • kjots
  • kleopatra
  • kmail
  • knode
  • knotes
  • kontact
  • korgac
  • korganizer
  • ktimetracker
  • libkdepim
  • libkleo
  • libkpgp
  • mailcommon
  • messagelist
  • messageviewer

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