diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 22:19:39 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 22:19:39 +0000 |
commit | 04766b207afba7961d4d802313e426f5a2fbef63 (patch) | |
tree | c888ea1027c793e2d0386a7e5a1a0cd077b03cb3 /kexi/plugins/importexport/csv | |
parent | b6edfe41c9395f2e20784cbf0e630af6426950a3 (diff) | |
download | koffice-04766b207afba7961d4d802313e426f5a2fbef63.tar.gz koffice-04766b207afba7961d4d802313e426f5a2fbef63.zip |
rename the following methods:
tqparent parent
tqmask mask
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/koffice@1246260 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kexi/plugins/importexport/csv')
10 files changed, 27 insertions, 27 deletions
diff --git a/kexi/plugins/importexport/csv/kexicsv_importexportpart.cpp b/kexi/plugins/importexport/csv/kexicsv_importexportpart.cpp index 7037b29a..0ca5b7d2 100644 --- a/kexi/plugins/importexport/csv/kexicsv_importexportpart.cpp +++ b/kexi/plugins/importexport/csv/kexicsv_importexportpart.cpp @@ -26,8 +26,8 @@ #include <kgenericfactory.h> -KexiCSVImportExportPart::KexiCSVImportExportPart(TQObject *tqparent, const char *name, const TQStringList &args) - : KexiInternalPart(tqparent, name, args) +KexiCSVImportExportPart::KexiCSVImportExportPart(TQObject *parent, const char *name, const TQStringList &args) + : KexiInternalPart(parent, name, args) { } @@ -36,12 +36,12 @@ KexiCSVImportExportPart::~KexiCSVImportExportPart() } TQWidget *KexiCSVImportExportPart::createWidget(const char* widgetClass, KexiMainWindow* mainWin, - TQWidget *tqparent, const char *objName, TQMap<TQString,TQString>* args ) + TQWidget *parent, const char *objName, TQMap<TQString,TQString>* args ) { if (0==qstrcmp(widgetClass, "KexiCSVImportDialog")) { KexiCSVImportDialog::Mode mode = (args && (*args)["sourceType"]=="file") ? KexiCSVImportDialog::File : KexiCSVImportDialog::Clipboard; - KexiCSVImportDialog *dlg = new KexiCSVImportDialog( mode, mainWin, tqparent, objName ); + KexiCSVImportDialog *dlg = new KexiCSVImportDialog( mode, mainWin, parent, objName ); m_cancelled = dlg->cancelled(); if (m_cancelled) { delete dlg; @@ -55,7 +55,7 @@ TQWidget *KexiCSVImportExportPart::createWidget(const char* widgetClass, KexiMai KexiCSVExport::Options options; if (!options.assign( *args )) return 0; - KexiCSVExportWizard *dlg = new KexiCSVExportWizard( options, mainWin, tqparent, objName); + KexiCSVExportWizard *dlg = new KexiCSVExportWizard( options, mainWin, parent, objName); m_cancelled = dlg->cancelled(); if (m_cancelled) { delete dlg; diff --git a/kexi/plugins/importexport/csv/kexicsv_importexportpart.h b/kexi/plugins/importexport/csv/kexicsv_importexportpart.h index c4a666e3..bd40c2f5 100644 --- a/kexi/plugins/importexport/csv/kexicsv_importexportpart.h +++ b/kexi/plugins/importexport/csv/kexicsv_importexportpart.h @@ -27,12 +27,12 @@ class KexiCSVImportExportPart : public KexiInternalPart { public: - KexiCSVImportExportPart(TQObject *tqparent, const char *name, const TQStringList &args); + KexiCSVImportExportPart(TQObject *parent, const char *name, const TQStringList &args); virtual ~KexiCSVImportExportPart(); /*! Reimplemented to return wizard object. */ virtual TQWidget *createWidget(const char* widgetClass, KexiMainWindow* mainWin, - TQWidget *tqparent, const char *objName = 0, TQMap<TQString,TQString>* args = 0); + TQWidget *parent, const char *objName = 0, TQMap<TQString,TQString>* args = 0); /*! Reimplemented to execute a command \a commandName (nonvisual). The result are put into the \a args. */ virtual bool executeCommand(KexiMainWindow* mainWin, const char* commandName, diff --git a/kexi/plugins/importexport/csv/kexicsvexportwizard.cpp b/kexi/plugins/importexport/csv/kexicsvexportwizard.cpp index 956681b1..6e985901 100644 --- a/kexi/plugins/importexport/csv/kexicsvexportwizard.cpp +++ b/kexi/plugins/importexport/csv/kexicsvexportwizard.cpp @@ -44,8 +44,8 @@ KexiCSVExportWizard::KexiCSVExportWizard( const KexiCSVExport::Options& options, - KexiMainWindow* mainWin, TQWidget * tqparent, const char * name ) - : KWizard(tqparent, name) + KexiMainWindow* mainWin, TQWidget * parent, const char * name ) + : KWizard(parent, name) , m_options(options) // , m_mode(mode) // , m_itemId(itemId) diff --git a/kexi/plugins/importexport/csv/kexicsvexportwizard.h b/kexi/plugins/importexport/csv/kexicsvexportwizard.h index ef2bd17b..27213159 100644 --- a/kexi/plugins/importexport/csv/kexicsvexportwizard.h +++ b/kexi/plugins/importexport/csv/kexicsvexportwizard.h @@ -46,7 +46,7 @@ class KexiCSVExportWizard : public KWizard public: KexiCSVExportWizard( const KexiCSVExport::Options& options, KexiMainWindow* mainWin, - TQWidget * tqparent = 0, const char * name = 0 ); + TQWidget * parent = 0, const char * name = 0 ); virtual ~KexiCSVExportWizard(); diff --git a/kexi/plugins/importexport/csv/kexicsvimportdialog.cpp b/kexi/plugins/importexport/csv/kexicsvimportdialog.cpp index 01601230..18398d39 100644 --- a/kexi/plugins/importexport/csv/kexicsvimportdialog.cpp +++ b/kexi/plugins/importexport/csv/kexicsvimportdialog.cpp @@ -102,8 +102,8 @@ class KexiCSVImportDialogTable : public TQTable { public: - KexiCSVImportDialogTable( TQWidget * tqparent = 0, const char * name = 0 ) - : TQTable(tqparent, name) { + KexiCSVImportDialogTable( TQWidget * parent = 0, const char * name = 0 ) + : TQTable(parent, name) { f = font(); f.setBold(true); } @@ -137,7 +137,7 @@ void installRecursiveEventFilter(TQObject *filter, TQObject *object) } KexiCSVImportDialog::KexiCSVImportDialog( Mode mode, KexiMainWindow* mainWin, - TQWidget * tqparent, const char * name + TQWidget * parent, const char * name ) : KDialogBase( KDialogBase::Plain, @@ -146,7 +146,7 @@ KexiCSVImportDialog::KexiCSVImportDialog( Mode mode, KexiMainWindow* mainWin, , (mode==File ? User1 : (ButtonCode)0) |Ok|Cancel, Ok, - tqparent, + parent, name ? name : "KexiCSVImportDialog", true, false, diff --git a/kexi/plugins/importexport/csv/kexicsvimportdialog.h b/kexi/plugins/importexport/csv/kexicsvimportdialog.h index dd8a51df..cbb4ac6b 100644 --- a/kexi/plugins/importexport/csv/kexicsvimportdialog.h +++ b/kexi/plugins/importexport/csv/kexicsvimportdialog.h @@ -85,7 +85,7 @@ class KexiCSVImportDialog : public KDialogBase enum Header { TEXT, NUMBER, DATE, CURRENCY }; //! @todo what about making it kexidb-independent? - KexiCSVImportDialog( Mode mode, KexiMainWindow* mainWin, TQWidget * tqparent, + KexiCSVImportDialog( Mode mode, KexiMainWindow* mainWin, TQWidget * parent, const char * name = 0/*, TQRect const & rect*/); virtual ~KexiCSVImportDialog(); diff --git a/kexi/plugins/importexport/csv/kexicsvimportoptionsdlg.cpp b/kexi/plugins/importexport/csv/kexicsvimportoptionsdlg.cpp index 23fee674..ed1a5b30 100644 --- a/kexi/plugins/importexport/csv/kexicsvimportoptionsdlg.cpp +++ b/kexi/plugins/importexport/csv/kexicsvimportoptionsdlg.cpp @@ -66,13 +66,13 @@ bool KexiCSVImportOptions::operator!= ( const KexiCSVImportOptions & opt ) const //---------------------------------- KexiCSVImportOptionsDialog::KexiCSVImportOptionsDialog( - const KexiCSVImportOptions& options, TQWidget* tqparent ) + const KexiCSVImportOptions& options, TQWidget* parent ) : KDialogBase( KDialogBase::Plain, i18n( "CSV Import Options" ), Ok|Cancel, Ok, - tqparent, + parent, "KexiCSVImportOptionsDialog", true, false diff --git a/kexi/plugins/importexport/csv/kexicsvimportoptionsdlg.h b/kexi/plugins/importexport/csv/kexicsvimportoptionsdlg.h index 51319bbf..35d8b5cd 100644 --- a/kexi/plugins/importexport/csv/kexicsvimportoptionsdlg.h +++ b/kexi/plugins/importexport/csv/kexicsvimportoptionsdlg.h @@ -46,7 +46,7 @@ class KexiCSVImportOptionsDialog : public KDialogBase Q_OBJECT TQ_OBJECT public: - KexiCSVImportOptionsDialog( const KexiCSVImportOptions& options, TQWidget* tqparent = 0 ); + KexiCSVImportOptionsDialog( const KexiCSVImportOptions& options, TQWidget* parent = 0 ); virtual ~KexiCSVImportOptionsDialog(); KexiCSVImportOptions options() const; diff --git a/kexi/plugins/importexport/csv/kexicsvwidgets.cpp b/kexi/plugins/importexport/csv/kexicsvwidgets.cpp index f490795b..48d907b9 100644 --- a/kexi/plugins/importexport/csv/kexicsvwidgets.cpp +++ b/kexi/plugins/importexport/csv/kexicsvwidgets.cpp @@ -32,8 +32,8 @@ #define KEXICSV_OTHER_DELIMITER_INDEX 4 -KexiCSVDelimiterWidget::KexiCSVDelimiterWidget( bool lineEditOnBottom, TQWidget * tqparent ) - : TQWidget(tqparent, "KexiCSVDelimiterWidget") +KexiCSVDelimiterWidget::KexiCSVDelimiterWidget( bool lineEditOnBottom, TQWidget * parent ) + : TQWidget(parent, "KexiCSVDelimiterWidget") , m_availableDelimiters(KEXICSV_OTHER_DELIMITER_INDEX) { @@ -129,8 +129,8 @@ void KexiCSVDelimiterWidget::setDelimiter(const TQString& delimiter) //---------------------------------------------------- -KexiCSVTextQuoteComboBox::KexiCSVTextQuoteComboBox( TQWidget * tqparent ) - : KComboBox(tqparent, "KexiCSVTextQuoteComboBox") +KexiCSVTextQuoteComboBox::KexiCSVTextQuoteComboBox( TQWidget * parent ) + : KComboBox(parent, "KexiCSVTextQuoteComboBox") { insertItem( "\"" ); insertItem( "'" ); @@ -154,8 +154,8 @@ void KexiCSVTextQuoteComboBox::setTextQuote(const TQString& textQuote) //---------------------------------------------------- -KexiCSVInfoLabel::KexiCSVInfoLabel( const TQString& labelText, TQWidget* tqparent ) - : TQWidget(tqparent, "KexiCSVInfoLabel") +KexiCSVInfoLabel::KexiCSVInfoLabel( const TQString& labelText, TQWidget* parent ) + : TQWidget(parent, "KexiCSVInfoLabel") { TQVBoxLayout *vbox = new TQVBoxLayout( this, 0, KDialogBase::spacingHint() ); TQHBoxLayout *hbox = new TQHBoxLayout( this ); diff --git a/kexi/plugins/importexport/csv/kexicsvwidgets.h b/kexi/plugins/importexport/csv/kexicsvwidgets.h index 7a163ee0..3c420c7a 100644 --- a/kexi/plugins/importexport/csv/kexicsvwidgets.h +++ b/kexi/plugins/importexport/csv/kexicsvwidgets.h @@ -50,7 +50,7 @@ class KexiCSVInfoLabel : public TQWidget \pre [icon] [labeltext] [filename] [comment] */ - KexiCSVInfoLabel( const TQString& labelText, TQWidget* tqparent ); + KexiCSVInfoLabel( const TQString& labelText, TQWidget* parent ); void setFileName( const TQString& fileName ); void setLabelText( const TQString& text ); @@ -79,7 +79,7 @@ class KexiCSVDelimiterWidget : public TQWidget TQ_OBJECT public: - KexiCSVDelimiterWidget( bool lineEditOnBottom, TQWidget * tqparent = 0 ); + KexiCSVDelimiterWidget( bool lineEditOnBottom, TQWidget * parent = 0 ); TQString delimiter() const { return m_delimiter; } void setDelimiter(const TQString& delimiter); @@ -106,7 +106,7 @@ class KexiCSVDelimiterWidget : public TQWidget class KexiCSVTextQuoteComboBox : public KComboBox { public: - KexiCSVTextQuoteComboBox( TQWidget * tqparent = 0 ); + KexiCSVTextQuoteComboBox( TQWidget * parent = 0 ); TQString textQuote() const; |