kaddressbook

AddViewDialog Class Reference

#include <addviewdialog.h>

Inherits KDialogBase.

Public Member Functions

 AddViewDialog (TQDict< ViewFactory > *viewFactoryDict, TQWidget *parent, const char *name=0)
 
TQString viewName () const
 
TQString viewType () const
 

Protected Slots

void clicked (int id)
 
void textChanged (const TQString &text)
 

Detailed Description

Modal dialog used for adding a new view.

The dialog asks for the name of the view as well as the type. Someday it would be nice for this to be a wizard.

Definition at line 41 of file addviewdialog.h.

Constructor & Destructor Documentation

◆ AddViewDialog()

AddViewDialog::AddViewDialog ( TQDict< ViewFactory > *  viewFactoryDict,
TQWidget *  parent,
const char *  name = 0 
)

Definition at line 36 of file addviewdialog.cpp.

◆ ~AddViewDialog()

AddViewDialog::~AddViewDialog ( )

Definition at line 85 of file addviewdialog.cpp.

Member Function Documentation

◆ clicked

void AddViewDialog::clicked ( int  id)
protectedslot

Called when the user selects a type radio button.

Definition at line 100 of file addviewdialog.cpp.

◆ textChanged

void AddViewDialog::textChanged ( const TQString &  text)
protectedslot

Called when the user changes the text in the name of the view.

Definition at line 105 of file addviewdialog.cpp.

◆ viewName()

TQString AddViewDialog::viewName ( ) const

Definition at line 89 of file addviewdialog.cpp.

◆ viewType()

TQString AddViewDialog::viewType ( ) const

Definition at line 94 of file addviewdialog.cpp.


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