Rename old tq methods that no longer need a unique name

(cherry picked from commit 566fa57d98)
v3.5.13-sru
Timothy Pearson 13 years ago committed by Slávek Banko
parent 3db5fa06ba
commit ff734eeec1

@ -33,7 +33,7 @@ class Bookmark
{ {
public: public:
Bookmark(int page, const TQString& name = TQString(), Bookmark(int page, const TQString& name = TQString(),
TQDateTime dateTime = TQDateTime::tqcurrentDateTime()); TQDateTime dateTime = TQDateTime::currentDateTime());
~Bookmark(); ~Bookmark();
void setPage(unsigned int page) { m_page = page; } void setPage(unsigned int page) { m_page = page; }

@ -85,7 +85,7 @@ BookmarksDlg::BookmarksDlg(const Bookmarks& bms, TQWidget* parent,
Layout1->addWidget( buttonCancel ); Layout1->addWidget( buttonCancel );
BookmarksDlgLayout->addLayout( Layout1 ); BookmarksDlgLayout->addLayout( Layout1 );
languageChange(); languageChange();
resize( TQSize(400, 267).expandedTo(tqminimumSizeHint()) ); resize( TQSize(400, 267).expandedTo(minimumSizeHint()) );
clearWState( WState_Polished ); clearWState( WState_Polished );
updateBookmarks(); updateBookmarks();

@ -304,7 +304,7 @@ void BookReader::optionsPreferences()
TQString curEncoding(encodings[Settings::defaultEncoding()]); TQString curEncoding(encodings[Settings::defaultEncoding()]);
if (curEncoding.isEmpty()) if (curEncoding.isEmpty())
curEncoding = TQString::tqfromLatin1(KGlobal::locale()->encoding()); curEncoding = TQString::fromLatin1(KGlobal::locale()->encoding());
general->kcfg_DefaultEncoding->clear(); general->kcfg_DefaultEncoding->clear();
general->kcfg_DefaultEncoding->insertStringList(encodings); general->kcfg_DefaultEncoding->insertStringList(encodings);

@ -296,7 +296,7 @@ void BookWidget::resizeEvent(TQResizeEvent * e)
TQWidget::resizeEvent(e); TQWidget::resizeEvent(e);
} }
TQSize BookWidget::tqminimumSizeHint() const TQSize BookWidget::minimumSizeHint() const
{ {
return TQSize(400, 300); return TQSize(400, 300);
} }

@ -59,7 +59,7 @@ public:
void prevPage(); void prevPage();
void firstPage(); void firstPage();
void lastPage(); void lastPage();
TQSize tqminimumSizeHint () const; TQSize minimumSizeHint () const;
void setupPageSize(); void setupPageSize();
void setEncoding(int); void setEncoding(int);
void setEncoding(const TQString & a_encoding); void setEncoding(const TQString & a_encoding);

@ -138,7 +138,7 @@
<property name="sizeType"> <property name="sizeType">
<enum>Expanding</enum> <enum>Expanding</enum>
</property> </property>
<property name="tqsizeHint"> <property name="sizeHint">
<size> <size>
<width>20</width> <width>20</width>
<height>30</height> <height>30</height>

Loading…
Cancel
Save