diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-18 18:31:39 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-18 18:31:39 -0600 |
commit | 45f529de247fc4b3662f6b474abe03fe904306ec (patch) | |
tree | d4b70147f7b0aeda4c1cb484553dc8ae048eb7ec /kdvi | |
parent | ec1fddcd0d6663ad273af85357f04abbc5689468 (diff) | |
download | tdegraphics-45f529de247fc4b3662f6b474abe03fe904306ec.tar.gz tdegraphics-45f529de247fc4b3662f6b474abe03fe904306ec.zip |
Rename old tq methods that no longer need a unique name
Diffstat (limited to 'kdvi')
-rw-r--r-- | kdvi/TeXFont_PFB.cpp | 4 | ||||
-rw-r--r-- | kdvi/dviRenderer.cpp | 2 | ||||
-rw-r--r-- | kdvi/fontprogress.cpp | 4 | ||||
-rw-r--r-- | kdvi/optionDialogFontsWidget_base.ui | 2 | ||||
-rw-r--r-- | kdvi/optionDialogSpecialWidget_base.ui | 2 | ||||
-rw-r--r-- | kdvi/special.cpp | 2 |
6 files changed, 8 insertions, 8 deletions
diff --git a/kdvi/TeXFont_PFB.cpp b/kdvi/TeXFont_PFB.cpp index 45c76512..7db8e171 100644 --- a/kdvi/TeXFont_PFB.cpp +++ b/kdvi/TeXFont_PFB.cpp @@ -74,8 +74,8 @@ TeXFont_PFB::TeXFont_PFB(TeXFontDefinition *parent, fontEncoding *enc, double sl // TeX is only able to address character codes 0-255 while // e.g. Type1 fonts may contain several thousands of characters) if (enc != 0) { - parent->fullEncodingName = enc->encodingFullName.remove(TQString::tqfromLatin1( "Encoding" )); - parent->fullEncodingName = enc->encodingFullName.remove(TQString::tqfromLatin1( "encoding" )); + parent->fullEncodingName = enc->encodingFullName.remove(TQString::fromLatin1( "Encoding" )); + parent->fullEncodingName = enc->encodingFullName.remove(TQString::fromLatin1( "encoding" )); // An encoding vector is given for this font, i.e. an array of // character names (such as: 'parenleft' or 'dotlessj'). We use diff --git a/kdvi/dviRenderer.cpp b/kdvi/dviRenderer.cpp index acb3dceb..8c39d974 100644 --- a/kdvi/dviRenderer.cpp +++ b/kdvi/dviRenderer.cpp @@ -277,7 +277,7 @@ void dviRenderer::showThatSourceInformationIsPresent() TQLabel *label2 = new TQLabel( i18n("<qt>This DVI file contains source file information. You may click into the text with the " "middle mouse button, and an editor will open the TeX-source file immediately.</qt>"), contents); - label2->setMinimumSize(label2->tqsizeHint()); + label2->setMinimumSize(label2->sizeHint()); lay->add( label2 ); lay->addStretch(1); TQSize extraSize = TQSize(50,30); diff --git a/kdvi/fontprogress.cpp b/kdvi/fontprogress.cpp index 24810714..07b61d91 100644 --- a/kdvi/fontprogress.cpp +++ b/kdvi/fontprogress.cpp @@ -42,7 +42,7 @@ fontProgressDialog::fontProgressDialog(const TQString& helpIndex, const TQString TQVBox *page = makeVBoxMainWidget(); TextLabel1 = new TQLabel( label, page, "TextLabel2" ); - TextLabel1->tqsetAlignment( int( TQLabel::AlignCenter ) ); + TextLabel1->setAlignment( int( TQLabel::AlignCenter ) ); TQWhatsThis::add( TextLabel1, whatsThis ); TQToolTip::add( TextLabel1, ttip ); @@ -55,7 +55,7 @@ fontProgressDialog::fontProgressDialog(const TQString& helpIndex, const TQString ProgressBar1 = NULL; TextLabel2 = new TQLabel( "", page, "TextLabel2" ); - TextLabel2->tqsetAlignment( int( TQLabel::AlignCenter ) ); + TextLabel2->setAlignment( int( TQLabel::AlignCenter ) ); TQWhatsThis::add( TextLabel2, whatsThis ); TQToolTip::add( TextLabel2, ttip ); diff --git a/kdvi/optionDialogFontsWidget_base.ui b/kdvi/optionDialogFontsWidget_base.ui index 766f6b98..bb7e18f4 100644 --- a/kdvi/optionDialogFontsWidget_base.ui +++ b/kdvi/optionDialogFontsWidget_base.ui @@ -44,7 +44,7 @@ <property name="sizeType"> <enum>Expanding</enum> </property> - <property name="tqsizeHint"> + <property name="sizeHint"> <size> <width>31</width> <height>121</height> diff --git a/kdvi/optionDialogSpecialWidget_base.ui b/kdvi/optionDialogSpecialWidget_base.ui index e821d761..00688f6a 100644 --- a/kdvi/optionDialogSpecialWidget_base.ui +++ b/kdvi/optionDialogSpecialWidget_base.ui @@ -186,7 +186,7 @@ <property name="sizeType"> <enum>Expanding</enum> </property> - <property name="tqsizeHint"> + <property name="sizeHint"> <size> <width>390</width> <height>21</height> diff --git a/kdvi/special.cpp b/kdvi/special.cpp index 918b7352..11046ca3 100644 --- a/kdvi/special.cpp +++ b/kdvi/special.cpp @@ -453,7 +453,7 @@ void dviRenderer::TPIC_flushPath_special() TQPen pen(TQt::black, (int)(penWidth_in_mInch*resolutionInDPI/1000.0 + 0.5)); // Sets the pen size in milli-inches foreGroundPainter->setPen(pen); - foreGroundPainter->tqdrawPolyline(TPIC_path, 0, number_of_elements_in_path); + foreGroundPainter->drawPolyline(TPIC_path, 0, number_of_elements_in_path); number_of_elements_in_path = 0; } |