• Skip to content
  • Skip to link menu
Trinity API Reference
  • Trinity API Reference
  • kate
 

kate

  • Kate
  • ToolViewManager
Public Types | Public Member Functions | Friends
Kate::ToolViewManager Class Reference

#include <toolviewmanager.h>

Inherits TQObject.

List of all members.

Public Types

enum  Position { Left, Right, Top, Bottom }

Public Member Functions

 ToolViewManager (void *toolViewManager)
virtual ~ToolViewManager ()
TQWidget * createToolView (const TQString &identifier, ToolViewManager::Position pos, const TQPixmap &icon, const TQString &text)
bool moveToolView (TQWidget *widget, ToolViewManager::Position pos)
bool showToolView (TQWidget *widget)
bool hideToolView (TQWidget *widget)

Friends

class PrivateToolViewManager

Detailed Description

Interface to the toolviewmanager.

Definition at line 32 of file toolviewmanager.h.


Member Enumeration Documentation

enum Kate::ToolViewManager::Position

positions

Definition at line 53 of file toolviewmanager.h.


Constructor & Destructor Documentation

Kate::ToolViewManager::ToolViewManager ( void *  toolViewManager)

Construtor, should not interest, internal usage.

Definition at line 45 of file toolviewmanager.cpp.

Kate::ToolViewManager::~ToolViewManager ( ) [virtual]

Desctructor.

Definition at line 51 of file toolviewmanager.cpp.


Member Function Documentation

TQWidget * Kate::ToolViewManager::createToolView ( const TQString &  identifier,
ToolViewManager::Position  pos,
const TQPixmap &  icon,
const TQString &  text 
)

add a given widget to the given sidebar if possible, name is very important

Parameters:
identifierunique identifier for this toolview
posposition for the toolview, if we are in session restore, this is only a preference
iconicon to use for the toolview
texttext to use in addition to icon
Returns:
created toolview on success or 0

Definition at line 56 of file toolviewmanager.cpp.

bool Kate::ToolViewManager::hideToolView ( TQWidget *  widget)

Hide the toolview.

Parameters:
widgetto hide, widget given must be widget constructed by createToolView
Returns:
bool success

Definition at line 77 of file toolviewmanager.cpp.

bool Kate::ToolViewManager::moveToolView ( TQWidget *  widget,
ToolViewManager::Position  pos 
)

Move the toolview.

Parameters:
widgetto show, widget given must be widget constructed by createToolView
posposition to move widget to
Returns:
bool success

Definition at line 61 of file toolviewmanager.cpp.

bool Kate::ToolViewManager::showToolView ( TQWidget *  widget)

Show the toolview.

Parameters:
widgetto show, widget given must be widget constructed by createToolView
Returns:
bool success

Definition at line 69 of file toolviewmanager.cpp.


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

kate

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

kate

Skip menu "kate"
  • kate
  • kwin
  •   lib
  • libkonq
Generated for kate by doxygen 1.7.6.1
This website is maintained by Timothy Pearson.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. |