Qt 4.8
Public Functions | Protected Variables | List of all members
QNSWindowDelegate Class Reference

#import <qnswindowdelegate.h>

Inheritance diagram for QNSWindowDelegate:

Public Functions

(id) - initWithQCocoaWindow:
 
(void) - windowDidResize:
 
(void) - windowWillClose:
 

Protected Variables

QCocoaWindowm_cocoaWindow
 

Detailed Description

Definition at line 49 of file qnswindowdelegate.h.

Functions

◆ initWithQCocoaWindow:()

- (id) initWithQCocoaWindow: (QCocoaWindow *)  cocoaWindow

Definition at line 49 of file qnswindowdelegate.mm.

49  : (QCocoaWindow *) cocoaWindow
50 {
51  self = [super init];
52 
53  if (self) {
54  m_cocoaWindow = cocoaWindow;
55  }
56  return self;
57 }
QCocoaWindow * m_cocoaWindow

◆ windowDidResize:()

- (void) windowDidResize: (NSNotification *)  notification

Definition at line 59 of file qnswindowdelegate.mm.

59  :(NSNotification *)notification
60 {
61  Q_UNUSED(notification);
62  if (m_cocoaWindow) {
64  }
65 }
QCocoaWindow * m_cocoaWindow
void windowDidResize()
#define Q_UNUSED(x)
Indicates to the compiler that the parameter with the specified name is not used in the body of a fun...
Definition: qglobal.h:1729

◆ windowWillClose:()

- (void) windowWillClose: (NSNotification *)  notification

Definition at line 67 of file qnswindowdelegate.mm.

67  :(NSNotification *)notification
68 {
69  Q_UNUSED(notification);
71 }
QCocoaWindow * m_cocoaWindow
static void handleCloseEvent(QWidget *w)
#define Q_UNUSED(x)
Indicates to the compiler that the parameter with the specified name is not used in the body of a fun...
Definition: qglobal.h:1729
QWidget * widget() const
Returnes the widget which belongs to the QPlatformWindow.

Properties

◆ m_cocoaWindow

- (QCocoaWindow*) m_cocoaWindow
protected

Definition at line 52 of file qnswindowdelegate.h.

Referenced by initWithQCocoaWindow:.


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