/***************************************************************************
                            QTranslator.h -  description
                             -------------------
    begin                : Wed Nov 21 12:08:37 2001
    copyright            : (C) 2000-2001 Lost Highway Ltd. All rights reserved.
    email                : Lost_Highway@tipitina.demon.co.uk
    generated by         : duke@tipitina on Wed Nov 21 12:08:37 2001, using kalyptus 0.9.
 ***************************************************************************/

/***************************************************************************
 *                                                                         *
 *   This library is free software; you can redistribute it and/or modify  *
 *   it under the terms of the GNU Library General Public License as       *
 *   published by the Free Software Foundation; either version 2 of the    *
 *   License, or (at your option) any later version.                       *
 *                                                                         *
 ***************************************************************************/

#ifndef QTRANSLATOR_H
#define QTRANSLATOR_H

#include <Foundation/NSObject.h>
#include <Foundation/NSString.h>
#include <qtobjc/QObject.h>

@class QTranslatorMessage;

@interface QTranslator : QObject 
- initWithObject: (QObject *)parent name: (NSString *)name;
- initWithObject: (QObject *)parent ;
- (void) dealloc;
- (NSString *) find: (NSString *)context sourceText: (NSString *)sourceText comment: (NSString *)comment;
- (QTranslatorMessage*) findMessage: (NSString *)arg1 string: (NSString *)arg2 string: (NSString *)arg3;
- (BOOL) load: (NSString *)filename directory: (NSString *)directory search_delimiters: (NSString *)search_delimiters suffix: (NSString *)suffix;
- (BOOL) load: (NSString *)filename ;
- clear;
- (BOOL) save: (NSString *)filename mode: (int)mode;
- (BOOL) save: (NSString *)filename ;
- insert: (QTranslatorMessage*)arg1;
- insert: (NSString *)context sourceText: (NSString *)sourceText translation: (NSString *)translation;
- remove: (QTranslatorMessage*)arg1;
- remove: (NSString *)context sourceText: (NSString *)sourceText;
- (BOOL) contains: (NSString *)arg1 string: (NSString *)arg2 comment: (NSString *)comment;
- (BOOL) contains: (NSString *)arg1 string: (NSString *)arg2 ;
- squeeze: (int)arg1;
- squeeze;
- unsqueeze;
+ (int) Everything;
+ (int) Stripped;
@end

/** Override these methods in subclasses of QTranslator to customise event handling behaviour */
@protocol QTranslatorEventHandling
- childEvent:(QChildEvent*) arg1;
- customEvent:(QCustomEvent*) arg1;
- timerEvent:(QTimerEvent*) arg1;
@end


#endif
