summaryrefslogtreecommitdiffstats
path: root/keduca/keducabuilder/keducabuilder.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-15 15:47:17 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-15 15:47:17 -0600
commit6c3f7a55fb7888efc80a7350ef0c2f46ee02baa3 (patch)
treecc90a09df2d1fd6d956cc084529a62d354316ad3 /keduca/keducabuilder/keducabuilder.cpp
parent174fd5e23c68598774706ea9b571d3d178e36b81 (diff)
downloadtdeedu-6c3f7a55fb7888efc80a7350ef0c2f46ee02baa3.tar.gz
tdeedu-6c3f7a55fb7888efc80a7350ef0c2f46ee02baa3.zip
Rename a number of old tq methods that are no longer tq specific
Diffstat (limited to 'keduca/keducabuilder/keducabuilder.cpp')
-rw-r--r--keduca/keducabuilder/keducabuilder.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/keduca/keducabuilder/keducabuilder.cpp b/keduca/keducabuilder/keducabuilder.cpp
index 6af778b8..d0832d29 100644
--- a/keduca/keducabuilder/keducabuilder.cpp
+++ b/keduca/keducabuilder/keducabuilder.cpp
@@ -32,7 +32,7 @@
#include <kmessagebox.h>
#include <kprinter.h>
-#include <tqlayout.h>
+#include <layout.h>
#include <tqcheckbox.h>
#include <tqpaintdevicemetrics.h>
#include <tqpainter.h>
@@ -91,7 +91,7 @@ void KEducaBuilder::init()
_split->setOrientation( Qt::Vertical );
_listAnswer = new KListBox( _split, "_listAnswer" );
- _listAnswer->tqsetSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)7, (TQSizePolicy::SizeType)7, _listAnswer->sizePolicy().hasHeightForWidth() ) );
+ _listAnswer->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)7, (TQSizePolicy::SizeType)7, _listAnswer->sizePolicy().hasHeightForWidth() ) );
connect( _listAnswer, TQT_SIGNAL( highlighted(TQListBoxItem *) ), TQT_TQOBJECT(this), TQT_SLOT( slotPreview(TQListBoxItem *) ) );
connect( _listAnswer, TQT_SIGNAL( doubleClicked(TQListBoxItem *) ), TQT_TQOBJECT(this), TQT_SLOT( slotEditbyList(TQListBoxItem *) ) );
@@ -103,7 +103,7 @@ void KEducaBuilder::init()
setCentralWidget( mainView );
if (!initialGeometrySet())
- resize( TQSize(500, 400).expandedTo(tqminimumSizeHint()));
+ resize( TQSize(500, 400).expandedTo(minimumSizeHint()));
setupGUI( ToolBar | Keys | StatusBar | Create, "keducabuilderui.rc" );
setAutoSaveSettings();
}
@@ -284,7 +284,7 @@ bool KEducaBuilder::currentFileMayBeReplaced()
int res = KMessageBox::warningYesNoCancel( widget(),
// ask the user to save
i18n( "The document \"%1\" has been modified.\n"
- "Do you want to save it?" ).tqarg( _keducaFile->getCurrentURL().fileName() ),
+ "Do you want to save it?" ).arg( _keducaFile->getCurrentURL().fileName() ),
i18n( "Save Document?" ), KStdGuiItem::save(), KStdGuiItem::discard() );
switch (res)
{
@@ -485,7 +485,7 @@ void KEducaBuilder::slotFilePrint()
TQString file = _keducaFile->getCurrentURL().fileName();
if (file.isEmpty())
file = i18n("Test");
- if(printer->setup(this, i18n("Print %1").tqarg(file)))
+ if(printer->setup(this, i18n("Print %1").arg(file)))
{
TQPaintDeviceMetrics metrics(printer);
TQPainter p;