Qt 4.8
Classes | Functions
qpagesetupdialog_mac.mm File Reference
#include "qpagesetupdialog.h"
#include <qhash.h>
#include <private/qapplication_p.h>
#include <private/qprintengine_mac_p.h>
#include <private/qabstractpagesetupdialog_p.h>

Go to the source code of this file.

Classes

class  QCocoaPageLayoutDelegate
 
class  QPageSetupDialogPrivate
 

Functions

void macStartInterceptWindowTitle (QWidget *window)
 
void macStopInterceptWindowTitle ()
 

Function Documentation

◆ macStartInterceptWindowTitle()

void macStartInterceptWindowTitle ( QWidget window)

Definition at line 185 of file qnspanelproxy_mac.mm.

Referenced by QPageSetupDialogPrivate::closeCarbonPageLayout().

186 {
189  [NSWindow class],
190  @selector(setTitle:),
192  @selector(setTitle:),
193  @selector(qt_fakeSetTitle:));
194 }
static QWidget * currentWindow
NSWindow * window
void qt_cocoa_change_implementation(Class baseClass, SEL originalSel, Class proxyClass, SEL replacementSel, SEL backupSel)
#define QT_MANGLE_NAMESPACE(name)
Definition: qglobal.h:106

◆ macStopInterceptWindowTitle()

void macStopInterceptWindowTitle ( )

Definition at line 199 of file qnspanelproxy_mac.mm.

Referenced by QPageSetupDialogPrivate::closeCarbonPageLayout().

200 {
201  currentWindow = 0;
203  [NSWindow class],
204  @selector(setTitle:),
205  @selector(qt_fakeSetTitle:));
206 }
static QWidget * currentWindow
void qt_cocoa_change_back_implementation(Class baseClass, SEL originalSel, SEL backupSel)