Canorus  0.0
Public Slots | Public Member Functions | Protected Slots | Protected Attributes | List of all members
CADummyCtl Class Reference

Dummy example ctl for user interface actions. More...

#include <dummyctl.h>

Inheritance diagram for CADummyCtl:
Inheritance graph
[legend]

Public Slots

void on_uiDummy_triggered ()
 

Public Member Functions

 CADummyCtl (CAMainWin *poMainWin)
 
 ~CADummyCtl ()
 

Protected Slots

void myToggle (int iOn)
 

Protected Attributes

CAMainWin_poMainWin
 
CADummy * _poDummy
 

Detailed Description

Dummy example ctl for user interface actions.

Copyright (c) 2006-2010, Reinhard Katzmann, Matevž Jekovec, Canorus development team All Rights Reserved. See AUTHORS for a complete list of authors.

Licensed under the GNU GENERAL PUBLIC LICENSE. See COPYING for details.

Use this dummy class for creating your own interface action classes. This Ctl was based on CAPreviewCtl originally one of the two first control classes in Canorus.

Constructor & Destructor Documentation

◆ CADummyCtl()

CADummyCtl::CADummyCtl ( CAMainWin poMainWin)

Default Construktor Besides standard initialization it creates a dummy object. Though not implemented we assume that the dummy object has at least one signal called dummyToggle. We connect this signal manually to our slot myToggle.

References _poDummy, _poMainWin, CACanorus::connectSlotsByName(), and myToggle().

Here is the call graph for this function:

◆ ~CADummyCtl()

CADummyCtl::~CADummyCtl ( )

References _poDummy.

Member Function Documentation

◆ myToggle

void CADummyCtl::myToggle ( int  iOn)
protectedslot

Referenced by CADummyCtl().

Here is the caller graph for this function:

◆ on_uiDummy_triggered

void CADummyCtl::on_uiDummy_triggered ( )
slot

Member Data Documentation

◆ _poDummy

CADummy* CADummyCtl::_poDummy
protected

Referenced by CADummyCtl(), and ~CADummyCtl().

◆ _poMainWin

CAMainWin* CADummyCtl::_poMainWin
protected

Referenced by CADummyCtl().


The documentation for this class was generated from the following files: