diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-07-09 02:23:29 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-07-09 02:23:29 +0000 |
commit | 96698e12d1d6ba8072e9365334277438c3cf0e4a (patch) | |
tree | 81e81a49226aab2570d5fe8464576a6c960f1782 /kmplot | |
parent | dcb06497ea70d050554422eec10b0756d926a5c0 (diff) | |
download | tdeedu-96698e12d1d6ba8072e9365334277438c3cf0e4a.tar.gz tdeedu-96698e12d1d6ba8072e9365334277438c3cf0e4a.zip |
Remove the tq in front of these incorrectly TQt4-converted methods/data members:
tqrepaint[...]
tqinvalidate[...]
tqparent[...]
tqmask[...]
tqlayout[...]
tqalignment[...]
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeedu@1240522 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kmplot')
-rw-r--r-- | kmplot/kmplot/FktDlgData.ui | 2 | ||||
-rw-r--r-- | kmplot/kmplot/MainDlg.cpp | 18 | ||||
-rw-r--r-- | kmplot/kmplot/MainDlg.h | 6 | ||||
-rw-r--r-- | kmplot/kmplot/editderivativespage.ui | 2 | ||||
-rw-r--r-- | kmplot/kmplot/editfunctionpage.ui | 2 | ||||
-rw-r--r-- | kmplot/kmplot/editintegralpage.ui | 2 | ||||
-rw-r--r-- | kmplot/kmplot/kmplotio.cpp | 4 | ||||
-rw-r--r-- | kmplot/kmplot/kmplotio.h | 4 | ||||
-rw-r--r-- | kmplot/kmplot/parser.cpp | 2 | ||||
-rw-r--r-- | kmplot/kmplot/qconstanteditor.ui | 2 | ||||
-rw-r--r-- | kmplot/kmplot/qeditconstant.ui | 2 | ||||
-rw-r--r-- | kmplot/kmplot/qeditparametric.ui | 2 | ||||
-rw-r--r-- | kmplot/kmplot/qeditpolar.ui | 2 | ||||
-rw-r--r-- | kmplot/kmplot/qminmax.ui | 2 | ||||
-rw-r--r-- | kmplot/kmplot/qparametereditor.ui | 2 | ||||
-rw-r--r-- | kmplot/kmplot/settingspagecolor.ui | 2 | ||||
-rw-r--r-- | kmplot/kmplot/settingspagecoords.ui | 2 | ||||
-rw-r--r-- | kmplot/kmplot/settingspagefonts.ui | 2 | ||||
-rw-r--r-- | kmplot/kmplot/settingspageprecision.ui | 2 | ||||
-rw-r--r-- | kmplot/kmplot/settingspagescaling.ui | 2 | ||||
-rw-r--r-- | kmplot/kmplot/sliderwindow.ui | 2 |
21 files changed, 33 insertions, 33 deletions
diff --git a/kmplot/kmplot/FktDlgData.ui b/kmplot/kmplot/FktDlgData.ui index 420aed33..c2d8b98a 100644 --- a/kmplot/kmplot/FktDlgData.ui +++ b/kmplot/kmplot/FktDlgData.ui @@ -417,7 +417,7 @@ <slot access="protected">slotHelp()</slot> <slot>slotNewPrime()</slot> </Q_SLOTS> -<tqlayoutdefaults spacing="6" margin="11"/> +<layoutdefaults spacing="6" margin="11"/> <includehints> <includehint>klistview.h</includehint> </includehints> diff --git a/kmplot/kmplot/MainDlg.cpp b/kmplot/kmplot/MainDlg.cpp index d4239cef..50fdc6d8 100644 --- a/kmplot/kmplot/MainDlg.cpp +++ b/kmplot/kmplot/MainDlg.cpp @@ -63,13 +63,13 @@ class KmPlotIO; bool MainDlg::oldfileversion; -MainDlg::MainDlg(TQWidget *tqparentWidget, const char *, TQObject *tqparent, const char *name) : DCOPObject( "MainDlg" ), KParts::ReadOnlyPart( tqparent, name ), m_recentFiles( 0 ), m_modified(false), m_parent(tqparentWidget) +MainDlg::MainDlg(TQWidget *parentWidget, const char *, TQObject *tqparent, const char *name) : DCOPObject( "MainDlg" ), KParts::ReadOnlyPart( tqparent, name ), m_recentFiles( 0 ), m_modified(false), m_parent(parentWidget) { // we need an instance setInstance( KmPlotPartFactory::instance() ); - kdDebug() << "tqparentWidget->name():" << tqparentWidget->name() << endl; - if ( TQString(tqparentWidget->name()).startsWith("KmPlot") ) + kdDebug() << "parentWidget->name():" << parentWidget->name() << endl; + if ( TQString(parentWidget->name()).startsWith("KmPlot") ) { setXMLFile("kmplot_part.rc"); m_readonly = false; @@ -82,14 +82,14 @@ MainDlg::MainDlg(TQWidget *tqparentWidget, const char *, TQObject *tqparent, con } fdlg = 0; coordsDialog = 0; - m_popupmenu = new KPopupMenu(tqparentWidget); - view = new View( m_readonly, m_modified, m_popupmenu, tqparentWidget ); + m_popupmenu = new KPopupMenu(parentWidget); + view = new View( m_readonly, m_modified, m_popupmenu, parentWidget ); connect( view, TQT_SIGNAL( setStatusBarText(const TQString &)), this, TQT_SLOT( setReadOnlyStatusBarText(const TQString &) ) ); setWidget( view ); view->setFocusPolicy(TQ_ClickFocus); minmaxdlg = new KMinMax(view, m_parent); view->setMinMaxDlg(minmaxdlg); - m_quickEdit = new KLineEdit( tqparentWidget ); + m_quickEdit = new KLineEdit( parentWidget ); m_quickEdit->setFocus(); TQToolTip::add( m_quickEdit, i18n( "Enter a function equation, for example: f(x)=x^2" ) ); setupActions(); @@ -99,7 +99,7 @@ MainDlg::MainDlg(TQWidget *tqparentWidget, const char *, TQObject *tqparent, con m_recentFiles->loadEntries( m_config ); // Let's create a Configure Diloag - m_settingsDialog = new KConfigDialog( tqparentWidget, "settings", Settings::self() ); + m_settingsDialog = new KConfigDialog( parentWidget, "settings", Settings::self() ); m_settingsDialog->setHelp("general-config"); // create and add the page(s) @@ -785,12 +785,12 @@ KmPlotPartFactory::~KmPlotPartFactory() s_instance = 0L; } -KParts::Part* KmPlotPartFactory::createPartObject( TQWidget *tqparentWidget, const char *widgetName, +KParts::Part* KmPlotPartFactory::createPartObject( TQWidget *parentWidget, const char *widgetName, TQObject *tqparent, const char *name, const char *, const TQStringList & ) { // Create an instance of our Part - MainDlg* obj = new MainDlg( tqparentWidget, widgetName, tqparent, name ); + MainDlg* obj = new MainDlg( parentWidget, widgetName, tqparent, name ); emit objectCreated( obj ); return obj; } diff --git a/kmplot/kmplot/MainDlg.h b/kmplot/kmplot/MainDlg.h index 8609de0e..ed6e1b14 100644 --- a/kmplot/kmplot/MainDlg.h +++ b/kmplot/kmplot/MainDlg.h @@ -74,11 +74,11 @@ class MainDlg : public KParts::ReadOnlyPart, virtual public MainDlgIface public: /** Constuctor. - * @param tqparentWidget tqparent widget for this part + * @param parentWidget tqparent widget for this part * @param tqparent tqparent object * @param name name of this dialog */ - MainDlg(TQWidget *tqparentWidget, const char *, TQObject *tqparent, const char *name); + MainDlg(TQWidget *parentWidget, const char *, TQObject *tqparent, const char *name); /// Cleaning up a bit. virtual ~MainDlg(); /// This class needs access to private members, too. @@ -221,7 +221,7 @@ class KmPlotPartFactory : public KParts::Factory public: KmPlotPartFactory(); virtual ~KmPlotPartFactory(); - virtual KParts::Part* createPartObject( TQWidget *tqparentWidget, const char *widgetName, + virtual KParts::Part* createPartObject( TQWidget *parentWidget, const char *widgetName, TQObject *tqparent, const char *name, const char *classname, const TQStringList &args ); static KInstance* instance(); diff --git a/kmplot/kmplot/editderivativespage.ui b/kmplot/kmplot/editderivativespage.ui index 7c23ecb4..f8693ecc 100644 --- a/kmplot/kmplot/editderivativespage.ui +++ b/kmplot/kmplot/editderivativespage.ui @@ -268,7 +268,7 @@ <tabstop>lineWidthDerivative2</tabstop> <tabstop>colorDerivative2</tabstop> </tabstops> -<tqlayoutdefaults spacing="6" margin="11"/> +<layoutdefaults spacing="6" margin="11"/> <includehints> <includehint>knuminput.h</includehint> <includehint>knuminput.h</includehint> diff --git a/kmplot/kmplot/editfunctionpage.ui b/kmplot/kmplot/editfunctionpage.ui index 3a7fccb4..e7ecf01d 100644 --- a/kmplot/kmplot/editfunctionpage.ui +++ b/kmplot/kmplot/editfunctionpage.ui @@ -897,7 +897,7 @@ Example: f(x)=x^2</string> <slot>slotHelp()</slot> <slot>customRange_toggled( bool )</slot> </Q_SLOTS> -<tqlayoutdefaults spacing="6" margin="11"/> +<layoutdefaults spacing="6" margin="11"/> <includehints> <includehint>klineedit.h</includehint> <includehint>kpushbutton.h</includehint> diff --git a/kmplot/kmplot/editintegralpage.ui b/kmplot/kmplot/editintegralpage.ui index f5b03006..694edf46 100644 --- a/kmplot/kmplot/editintegralpage.ui +++ b/kmplot/kmplot/editintegralpage.ui @@ -281,7 +281,7 @@ <tabstop>lineWidth</tabstop> <tabstop>color</tabstop> </tabstops> -<tqlayoutdefaults spacing="6" margin="11"/> +<layoutdefaults spacing="6" margin="11"/> <includehints> <includehint>knuminput.h</includehint> </includehints> diff --git a/kmplot/kmplot/kmplotio.cpp b/kmplot/kmplot/kmplotio.cpp index a51b5395..5b364731 100644 --- a/kmplot/kmplot/kmplotio.cpp +++ b/kmplot/kmplot/kmplotio.cpp @@ -210,12 +210,12 @@ bool KmPlotIO::save( const KURL &url ) } -void KmPlotIO::addTag( TQDomDocument &doc, TQDomElement &tqparentTag, const TQString tagName, const TQString tagValue ) +void KmPlotIO::addTag( TQDomDocument &doc, TQDomElement &parentTag, const TQString tagName, const TQString tagValue ) { TQDomElement tag = doc.createElement( tagName ); TQDomText value = doc.createTextNode( tagValue ); tag.appendChild( value ); - tqparentTag.appendChild( tag ); + parentTag.appendChild( tag ); } bool KmPlotIO::load( const KURL &url ) diff --git a/kmplot/kmplot/kmplotio.h b/kmplot/kmplot/kmplotio.h index 09112bbd..04425ed2 100644 --- a/kmplot/kmplot/kmplotio.h +++ b/kmplot/kmplot/kmplotio.h @@ -60,11 +60,11 @@ class KmPlotIO private: /** Esay way to add a tag to the Dom tree * @param &doc The document. - * @param tqparentTag The tqparent tag to support encapsulated tags. + * @param parentTag The tqparent tag to support encapsulated tags. * @param tagName The Name of the tag. * @param tagValue The data between the opening and cloding tag. */ - void addTag( TQDomDocument &doc, TQDomElement &tqparentTag, const TQString tagName, const TQString tagValue ); + void addTag( TQDomDocument &doc, TQDomElement &parentTag, const TQString tagName, const TQString tagValue ); /// Reads axes parameters from the node @a n. /// @param n Node containing the options. void parseAxes( const TQDomElement &n ); diff --git a/kmplot/kmplot/parser.cpp b/kmplot/kmplot/parser.cpp index 2b10f31c..9ccf7b5a 100644 --- a/kmplot/kmplot/parser.cpp +++ b/kmplot/kmplot/parser.cpp @@ -962,7 +962,7 @@ int Parser::parserError(bool showMessageBox) "Syntax error").tqarg(TQString::number(errpos)), "KmPlot"); break; case 2: KMessageBox::error(0, i18n("Parser error at position %1:\n" - "Missing tqparenthesis").tqarg(TQString::number(errpos)), "KmPlot"); + "Missing parenthesis").tqarg(TQString::number(errpos)), "KmPlot"); break; case 3: KMessageBox::error(0, i18n("Parser error at position %1:\n" "Function name unknown").tqarg(TQString::number(errpos)), "KmPlot"); diff --git a/kmplot/kmplot/qconstanteditor.ui b/kmplot/kmplot/qconstanteditor.ui index c26b5e8d..366f7d8d 100644 --- a/kmplot/kmplot/qconstanteditor.ui +++ b/kmplot/kmplot/qconstanteditor.ui @@ -193,7 +193,7 @@ <slot>newNewConstantSlot()</slot> <slot>varlist_doubleClicked( TQListViewItem * )</slot> </Q_SLOTS> -<tqlayoutdefaults spacing="6" margin="11"/> +<layoutdefaults spacing="6" margin="11"/> <includehints> <includehint>klistview.h</includehint> </includehints> diff --git a/kmplot/kmplot/qeditconstant.ui b/kmplot/kmplot/qeditconstant.ui index 577c0f31..85e9236d 100644 --- a/kmplot/kmplot/qeditconstant.ui +++ b/kmplot/kmplot/qeditconstant.ui @@ -131,7 +131,7 @@ <Q_SLOTS> <slot>txtVariable_lostFocus()</slot> </Q_SLOTS> -<tqlayoutdefaults spacing="6" margin="11"/> +<layoutdefaults spacing="6" margin="11"/> <includehints> <includehint>klineedit.h</includehint> <includehint>klineedit.h</includehint> diff --git a/kmplot/kmplot/qeditparametric.ui b/kmplot/kmplot/qeditparametric.ui index 0ec4b6fa..41fa84c4 100644 --- a/kmplot/kmplot/qeditparametric.ui +++ b/kmplot/kmplot/qeditparametric.ui @@ -531,7 +531,7 @@ Example: sin(t)</string> <Q_SLOTS> <slot>slotHelp()</slot> </Q_SLOTS> -<tqlayoutdefaults spacing="6" margin="11"/> +<layoutdefaults spacing="6" margin="11"/> <includehints> <includehint>klineedit.h</includehint> <includehint>klineedit.h</includehint> diff --git a/kmplot/kmplot/qeditpolar.ui b/kmplot/kmplot/qeditpolar.ui index ccdae895..e582734b 100644 --- a/kmplot/kmplot/qeditpolar.ui +++ b/kmplot/kmplot/qeditpolar.ui @@ -395,7 +395,7 @@ Example: loop(angle)=ln(angle)</string> <Q_SLOTS> <slot>slotHelp()</slot> </Q_SLOTS> -<tqlayoutdefaults spacing="6" margin="11"/> +<layoutdefaults spacing="6" margin="11"/> <includehints> <includehint>klineedit.h</includehint> <includehint>kcolorbutton.h</includehint> diff --git a/kmplot/kmplot/qminmax.ui b/kmplot/kmplot/qminmax.ui index efc122e5..98996444 100644 --- a/kmplot/kmplot/qminmax.ui +++ b/kmplot/kmplot/qminmax.ui @@ -138,5 +138,5 @@ </widget> </grid> </widget> -<tqlayoutdefaults spacing="6" margin="11"/> +<layoutdefaults spacing="6" margin="11"/> </UI> diff --git a/kmplot/kmplot/qparametereditor.ui b/kmplot/kmplot/qparametereditor.ui index 3a733e64..18d7dce4 100644 --- a/kmplot/kmplot/qparametereditor.ui +++ b/kmplot/kmplot/qparametereditor.ui @@ -181,5 +181,5 @@ </widget> </grid> </widget> -<tqlayoutdefaults spacing="6" margin="11"/> +<layoutdefaults spacing="6" margin="11"/> </UI> diff --git a/kmplot/kmplot/settingspagecolor.ui b/kmplot/kmplot/settingspagecolor.ui index 3a8bd02e..ba35f0c5 100644 --- a/kmplot/kmplot/settingspagecolor.ui +++ b/kmplot/kmplot/settingspagecolor.ui @@ -455,5 +455,5 @@ <tabstop>kcfg_Color8</tabstop> <tabstop>kcfg_Color9</tabstop> </tabstops> -<tqlayoutdefaults spacing="6" margin="11"/> +<layoutdefaults spacing="6" margin="11"/> </UI> diff --git a/kmplot/kmplot/settingspagecoords.ui b/kmplot/kmplot/settingspagecoords.ui index b32c489a..65d78d92 100644 --- a/kmplot/kmplot/settingspagecoords.ui +++ b/kmplot/kmplot/settingspagecoords.ui @@ -751,7 +751,7 @@ <tabstop>radioButton14</tabstop> <tabstop>kcfg_GridLineWidth</tabstop> </tabstops> -<tqlayoutdefaults spacing="6" margin="11"/> +<layoutdefaults spacing="6" margin="11"/> <includehints> <includehint>klineedit.h</includehint> <includehint>klineedit.h</includehint> diff --git a/kmplot/kmplot/settingspagefonts.ui b/kmplot/kmplot/settingspagefonts.ui index 0b6f5ba9..7564d04a 100644 --- a/kmplot/kmplot/settingspagefonts.ui +++ b/kmplot/kmplot/settingspagefonts.ui @@ -119,7 +119,7 @@ </widget> <customwidgets> </customwidgets> -<tqlayoutdefaults spacing="6" margin="11"/> +<layoutdefaults spacing="6" margin="11"/> <includehints> <includehint>kfontcombo.h</includehint> <includehint>knuminput.h</includehint> diff --git a/kmplot/kmplot/settingspageprecision.ui b/kmplot/kmplot/settingspageprecision.ui index 7b0aec87..3ad5d990 100644 --- a/kmplot/kmplot/settingspageprecision.ui +++ b/kmplot/kmplot/settingspageprecision.ui @@ -268,7 +268,7 @@ </widget> <customwidgets> </customwidgets> -<tqlayoutdefaults spacing="6" margin="11"/> +<layoutdefaults spacing="6" margin="11"/> <includehints> <includehint>knuminput.h</includehint> <includehint>knuminput.h</includehint> diff --git a/kmplot/kmplot/settingspagescaling.ui b/kmplot/kmplot/settingspagescaling.ui index 729625c4..3b0cd872 100644 --- a/kmplot/kmplot/settingspagescaling.ui +++ b/kmplot/kmplot/settingspagescaling.ui @@ -411,5 +411,5 @@ <tabstop>kcfg_YScaling</tabstop> <tabstop>kcfg_YPrinting</tabstop> </tabstops> -<tqlayoutdefaults spacing="6" margin="11"/> +<layoutdefaults spacing="6" margin="11"/> </UI> diff --git a/kmplot/kmplot/sliderwindow.ui b/kmplot/kmplot/sliderwindow.ui index 3dc6dbf2..c54384a2 100644 --- a/kmplot/kmplot/sliderwindow.ui +++ b/kmplot/kmplot/sliderwindow.ui @@ -83,5 +83,5 @@ <slot>setNum(int)</slot> </connection> </connections> -<tqlayoutdefaults spacing="6" margin="11"/> +<layoutdefaults spacing="6" margin="11"/> </UI> |