Rename old tq methods that no longer need a unique name

pull/1/head
Timothy Pearson 13 years ago
parent 2e6cc1659d
commit 566fa57d98

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

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

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

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

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

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

Loading…
Cancel
Save