|
|
@ -224,11 +224,11 @@ void BookWidget::mousePressEvent(TQMouseEvent * event)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
if (event->button() == Qt::LeftButton)
|
|
|
|
if (event->button() == Qt::LeftButton)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
if (rectLeftPage().tqcontains(event->pos()))
|
|
|
|
if (rectLeftPage().contains(event->pos()))
|
|
|
|
{
|
|
|
|
{
|
|
|
|
prevPage();
|
|
|
|
prevPage();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
else if (rectRightPage().tqcontains(event->pos()))
|
|
|
|
else if (rectRightPage().contains(event->pos()))
|
|
|
|
{
|
|
|
|
{
|
|
|
|
nextPage();
|
|
|
|
nextPage();
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -408,7 +408,7 @@ void BookWidget::setEncodings(const TQStringList & a_encodings)
|
|
|
|
|
|
|
|
|
|
|
|
void BookWidget::setEncoding(const TQString & a_encoding)
|
|
|
|
void BookWidget::setEncoding(const TQString & a_encoding)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
m_encoding = (m_encodings.tqfindIndex(a_encoding));
|
|
|
|
m_encoding = (m_encodings.findIndex(a_encoding));
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
void BookWidget::addBookmark(const TQString& name)
|
|
|
|
void BookWidget::addBookmark(const TQString& name)
|
|
|
|