Fix compile warnings on 10.6
Apple clang 3.0 complains about missing function declarations. Add them. Change-Id: Ib9c3c238c94e8649844cf3e67a659875ad549ecb Reviewed-by: Gabriel de Dietrich <gabriel.dedietrich@digia.com>
This commit is contained in:
parent
42e6801843
commit
c1815a7b3f
@ -82,6 +82,7 @@ static NSButton *macCreateButton(const char *text, NSView *superview)
|
||||
BOOL mDialogIsExecuting;
|
||||
BOOL mResultSet;
|
||||
};
|
||||
- (void)restoreOriginalContentView;
|
||||
- (void)relayout;
|
||||
- (void)updateQtColor;
|
||||
- (void)finishOffWithCode:(NSInteger)code;
|
||||
|
@ -121,6 +121,7 @@ static QFont qfontForCocoaFont(NSFont *cocoaFont, const QFont &resolveFont)
|
||||
BOOL mDialogIsExecuting;
|
||||
BOOL mResultSet;
|
||||
};
|
||||
- (void)restoreOriginalContentView;
|
||||
- (void)relayout;
|
||||
- (void)relayoutToContentSize:(NSSize)frameSize;
|
||||
- (void)updateQtFont;
|
||||
|
@ -84,6 +84,7 @@ static inline QCocoaMenuLoader *getMenuLoader()
|
||||
}
|
||||
|
||||
- (id) initWithMenu:(QCocoaMenu*) m;
|
||||
- (BOOL)hasShortcut:(NSMenu *)menu forKey:(NSString *)key forModifiers:(NSUInteger)modifier;
|
||||
|
||||
@end
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user