19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
* POSSIBILITY OF SUCH DAMAGE.
*/
#import "QtWidget.h"
#import "QtAction.h"
#import "OFString+QString.h"
#import "OFDataArray+QByteArray.h"
#import "helpers.h"
#include <QIcon>
#include <QLocale>
using ObjQt::toOF;
|
|
|
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
* POSSIBILITY OF SUCH DAMAGE.
*/
#import "QtWidget.h"
#import "QtAction.h"
#import "OFString+QString.h"
#import "OFData+QByteArray.h"
#import "helpers.h"
#include <QIcon>
#include <QLocale>
using ObjQt::toOF;
|
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
|
}
- (void)repaintInRegion: (const QRegion &)region
{
toQt(self)->repaint(region);
}
- (bool)restoreGeometry: (OFDataArray *)geometry
{
return toQt(self)->restoreGeometry(toQt(geometry));
}
- (OFDataArray *)saveGeometry
{
return toOF(toQt(self)->saveGeometry());
}
- (void)scrollRight: (int)dx
down: (int)dy
{
|
|
|
|
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
|
}
- (void)repaintInRegion: (const QRegion &)region
{
toQt(self)->repaint(region);
}
- (bool)restoreGeometry: (OFData *)geometry
{
return toQt(self)->restoreGeometry(toQt(geometry));
}
- (OFData *)saveGeometry
{
return toOF(toQt(self)->saveGeometry());
}
- (void)scrollRight: (int)dx
down: (int)dy
{
|