MagicSmoke  $VERSION$
MTicketEditor Class Reference

An editor for ticket templates. More...

#include <ticketedit.h>

Inheritance diagram for MTicketEditor:

Public Slots

void loadFile (QString)
 loads a template file, this is a helper for openFile and download More...
 
void openFile ()
 shows a file open dialog and then opens the selected file More...
 
void saveFile ()
 saves the file - if it is local, otherwise calls saveFileAs More...
 
void saveFile (QString)
 helper for saveFile and upload More...
 
void saveFileAs ()
 asks for a new file name More...
 

Public Member Functions

 MTicketEditor (QWidget *parent=0, Qt::WindowFlags f=0)
 instantiates the editor More...
 

Friends

class MTELabelDelegate
 

Detailed Description

An editor for ticket templates.

Constructor & Destructor Documentation

MTicketEditor::MTicketEditor ( QWidget *  parent = 0,
Qt::WindowFlags  f = 0 
)

instantiates the editor

References MTELabelDelegate, openFile(), saveFile(), and saveFileAs().

Member Function Documentation

void MTicketEditor::loadFile ( QString  fn)
slot

loads a template file, this is a helper for openFile and download

Referenced by openFile().

void MTicketEditor::openFile ( )
slot

shows a file open dialog and then opens the selected file

References currentDir(), loadFile(), and setCurrentDir().

Referenced by MTicketEditor().

void MTicketEditor::saveFile ( )
slot

saves the file - if it is local, otherwise calls saveFileAs

References saveFileAs().

Referenced by MTicketEditor(), and saveFileAs().

void MTicketEditor::saveFile ( QString  fn)
slot

helper for saveFile and upload

void MTicketEditor::saveFileAs ( )
slot

asks for a new file name

References saveFile(), and setCurrentDir().

Referenced by MTicketEditor(), and saveFile().

Friends And Related Function Documentation

friend class MTELabelDelegate
friend

Referenced by MTicketEditor().


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