Qt 4.8
Public Functions | List of all members
QNSWindowProxy Class Reference
Inheritance diagram for QNSWindowProxy:

Public Functions

(void) - qt_fakeSetTitle:
 
(void) - setTitle:
 

Detailed Description

Definition at line 114 of file qnspanelproxy_mac.mm.

Functions

◆ qt_fakeSetTitle:()

- (void) qt_fakeSetTitle: (NSString *)  title

Definition at line 133 of file qnspanelproxy_mac.mm.

133  :(NSString *)title
134 {
135  Q_UNUSED(title);
136 }
#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

◆ setTitle:()

- (void) setTitle: (NSString *)  title

Definition at line 121 of file qnspanelproxy_mac.mm.

121  :(NSString *)title
122 {
123  QCFString cftitle(currentWindow->windowTitle());
124 
125  // evil reverse engineering
126  if ([title isEqualToString:@"Print"]
127  || [title isEqualToString:@"Page Setup"]
128  || [[self className] isEqualToString:@"PMPrintingWindow"])
129  title = (NSString *)(static_cast<CFStringRef>(cftitle));
130  return [self qt_fakeSetTitle:title];
131 }
static QWidget * currentWindow
const char * className
Definition: qwizard.cpp:137
QString windowTitle
the window title (caption)
Definition: qwidget.h:198

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