summaryrefslogtreecommitdiffstats
path: root/src/bookmarksdlg.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-16 09:56:01 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-16 09:56:01 -0600
commit2e6cc1659d2bc9d8013cab1541cc1cc32dd2301b (patch)
tree8b66104e451843ea8b711010033ccfb0e2225754 /src/bookmarksdlg.cpp
parente0dc67e60c2050d70a7a15c6e5f84ea651294d7c (diff)
downloadkbookreader-2e6cc1659d2bc9d8013cab1541cc1cc32dd2301b.tar.gz
kbookreader-2e6cc1659d2bc9d8013cab1541cc1cc32dd2301b.zip
Revert "Rename a number of old tq methods that are no longer tq specific"
This reverts commit e0dc67e60c2050d70a7a15c6e5f84ea651294d7c.
Diffstat (limited to 'src/bookmarksdlg.cpp')
-rw-r--r--src/bookmarksdlg.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/src/bookmarksdlg.cpp b/src/bookmarksdlg.cpp
index b4f8f63..5a9907d 100644
--- a/src/bookmarksdlg.cpp
+++ b/src/bookmarksdlg.cpp
@@ -22,7 +22,7 @@
#include <tqpushbutton.h>
#include <tqheader.h>
#include <tqtable.h>
-#include <layout.h>
+#include <tqlayout.h>
#include <tqtooltip.h>
#include <tqwhatsthis.h>
@@ -45,7 +45,7 @@ BookmarksDlg::BookmarksDlg(const Bookmarks& bms, TQWidget* parent,
setSizeGripEnabled(TRUE);
BookmarksDlgLayout = new TQVBoxLayout( this, 11, 6, "BookmarksDlgLayout");
- layout3 = new TQHBoxLayout( 0, 0, 6, "layout3");
+ tqlayout3 = new TQHBoxLayout( 0, 0, 6, "tqlayout3");
bookmarksTable = new TQTable(3, 2, this, "bookmarksList" );
bookmarksTable->horizontalHeader()->setLabel(0, "Title");
@@ -53,19 +53,19 @@ BookmarksDlg::BookmarksDlg(const Bookmarks& bms, TQWidget* parent,
// bookmarksTable->setLeftMargin(0);
bookmarksTable->setColumnStretchable(0, true);
bookmarksTable->setSelectionMode(TQTable::SingleRow);
- layout3->addWidget( bookmarksTable );
+ tqlayout3->addWidget( bookmarksTable );
- layout2 = new TQVBoxLayout( 0, 0, 6, "layout2");
+ tqlayout2 = new TQVBoxLayout( 0, 0, 6, "tqlayout2");
addButton = new TQPushButton( this, "addButton" );
- layout2->addWidget( addButton );
+ tqlayout2->addWidget( addButton );
deleteButton = new TQPushButton( this, "deleteButton" );
- layout2->addWidget( deleteButton );
+ tqlayout2->addWidget( deleteButton );
Horizontal_Spacing2_2 = new TQSpacerItem( 20, 60, TQSizePolicy::Minimum, TQSizePolicy::Expanding );
- layout2->addItem( Horizontal_Spacing2_2 );
- layout3->addLayout( layout2 );
- BookmarksDlgLayout->addLayout( layout3 );
+ tqlayout2->addItem( Horizontal_Spacing2_2 );
+ tqlayout3->addLayout( tqlayout2 );
+ BookmarksDlgLayout->addLayout( tqlayout3 );
Layout1 = new TQHBoxLayout( 0, 0, 6, "Layout1");
@@ -85,7 +85,7 @@ BookmarksDlg::BookmarksDlg(const Bookmarks& bms, TQWidget* parent,
Layout1->addWidget( buttonCancel );
BookmarksDlgLayout->addLayout( Layout1 );
languageChange();
- resize( TQSize(400, 267).expandedTo(minimumSizeHint()) );
+ resize( TQSize(400, 267).expandedTo(tqminimumSizeHint()) );
clearWState( WState_Polished );
updateBookmarks();