KVIrc 5.2.6
Developer APIs
KviKvsCallbackMessageBox Class Reference

#include <libkvidialog.h>

+ Inheritance diagram for KviKvsCallbackMessageBox:

Public Member Functions

 KviKvsCallbackMessageBox (const QString &szCaption, const QString &szText, const QString &szIcon, const QString &szButton0, const QString &szButton1, const QString &szButton2, const QString &szCode, KviKvsVariantList *pMagicParams, KviWindow *pWindow, bool modal=false)
 
 ~KviKvsCallbackMessageBox ()
 
- Public Member Functions inherited from KviKvsCallbackObject
 KviKvsCallbackObject (const QString &szCallbackSource, KviWindow *pTargetWindow, const QString &szCallbackCode, KviKvsVariantList *pMagicParams, unsigned int uFlags=0)
 
virtual ~KviKvsCallbackObject ()
 

Protected Slots

void done (int code) override
 

Protected Attributes

QPushButton * m_pCancelButton
 
QPushButton * m_pNoButton
 
QPushButton * m_pYesButton
 
- Protected Attributes inherited from KviKvsCallbackObject
KviKvsVariantListm_pMagicParams
 
KviKvsScriptm_pScript
 
KviWindowm_pTargetConsole
 
KviWindowm_pTargetWindow
 
unsigned int m_uFlags
 

Additional Inherited Members

- Public Types inherited from KviKvsCallbackObject
enum  CallbackFlags { OnlyIfWindowExists = 1 }
 
enum  CallbackStatus { Success , Error , HaltEncountered , TargetWindowDead }
 
- Protected Member Functions inherited from KviKvsCallbackObject
CallbackStatus execute (KviKvsVariantList *pParams=nullptr, KviKvsVariant *pRetVal=nullptr)
 

Constructor & Destructor Documentation

◆ KviKvsCallbackMessageBox()

KviKvsCallbackMessageBox::KviKvsCallbackMessageBox ( const QString & szCaption,
const QString & szText,
const QString & szIcon,
const QString & szButton0,
const QString & szButton1,
const QString & szButton2,
const QString & szCode,
KviKvsVariantList * pMagicParams,
KviWindow * pWindow,
bool modal = false )

◆ ~KviKvsCallbackMessageBox()

KviKvsCallbackMessageBox::~KviKvsCallbackMessageBox ( )

Member Function Documentation

◆ done

void KviKvsCallbackMessageBox::done ( int code)
overrideprotectedslot

Member Data Documentation

◆ m_pCancelButton

QPushButton* KviKvsCallbackMessageBox::m_pCancelButton
protected

Referenced by done(), and KviKvsCallbackMessageBox().

◆ m_pNoButton

QPushButton* KviKvsCallbackMessageBox::m_pNoButton
protected

Referenced by done(), and KviKvsCallbackMessageBox().

◆ m_pYesButton

QPushButton* KviKvsCallbackMessageBox::m_pYesButton
protected

Referenced by done(), and KviKvsCallbackMessageBox().


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