Remove the tq in front of these incorrectly TQt4-converted methods/data members:

tqrepaint[...]
tqinvalidate[...]
tqparent[...]
tqmask[...]
tqlayout[...]
tqalignment[...]


git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/yakuake@1240522 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
v3.5.13-sru
tpearson 13 years ago
parent f9a9340723
commit 63a986d8c5

@ -157,8 +157,8 @@
</spacer> </spacer>
</grid> </grid>
</widget> </widget>
<tqlayoutdefaults spacing="6" margin="11"/> <layoutdefaults spacing="6" margin="11"/>
<tqlayoutfunctions spacing="KDialog::spacingHint" margin="KDialog::marginHint"/> <layoutfunctions spacing="KDialog::spacingHint" margin="KDialog::marginHint"/>
<includehints> <includehints>
<includehint>kseparator.h</includehint> <includehint>kseparator.h</includehint>
<includehint>kkeybutton.h</includehint> <includehint>kkeybutton.h</includehint>

@ -536,8 +536,8 @@
<tabstop>kcfg_location</tabstop> <tabstop>kcfg_location</tabstop>
<tabstop>kcfg_screen</tabstop> <tabstop>kcfg_screen</tabstop>
</tabstops> </tabstops>
<tqlayoutdefaults spacing="6" margin="11"/> <layoutdefaults spacing="6" margin="11"/>
<tqlayoutfunctions spacing="KDialog::spacingHint" margin="KDialog::marginHint"/> <layoutfunctions spacing="KDialog::spacingHint" margin="KDialog::marginHint"/>
<includehints> <includehints>
<includehint>knuminput.h</includehint> <includehint>knuminput.h</includehint>
<includehint>knuminput.h</includehint> <includehint>knuminput.h</includehint>

@ -314,8 +314,8 @@ void MainWindow::updateWindowMask()
{ {
TQRegion tqmask = title_bar->getWidgetMask(); TQRegion tqmask = title_bar->getWidgetMask();
tqmask.translate(0, tqmask_height); tqmask.translate(0, mask_height);
tqmask += TQRegion(0, 0, width(), tqmask_height); tqmask += TQRegion(0, 0, width(), mask_height);
setMask(tqmask); setMask(tqmask);
} }
@ -951,7 +951,7 @@ void MainWindow::slotIncreaseHeight()
int steps = (Settings::steps() == 0) ? 1 : Settings::steps(); int steps = (Settings::steps() == 0) ? 1 : Settings::steps();
tqmask_height = (step++ * max_height) / steps; mask_height = (step++ * max_height) / steps;
if (step >= steps) if (step >= steps)
{ {
@ -959,7 +959,7 @@ void MainWindow::slotIncreaseHeight()
timer.stop(); timer.stop();
disconnect(&timer, TQT_SIGNAL(timeout()), 0, 0); disconnect(&timer, TQT_SIGNAL(timeout()), 0, 0);
tqmask_height = max_height; mask_height = max_height;
if (background_changed) if (background_changed)
{ {
@ -971,7 +971,7 @@ void MainWindow::slotIncreaseHeight()
} }
updateWindowMask(); updateWindowMask();
title_bar->move(0, tqmask_height); title_bar->move(0, mask_height);
} }
void MainWindow::slotDecreaseHeight() void MainWindow::slotDecreaseHeight()
@ -980,7 +980,7 @@ void MainWindow::slotDecreaseHeight()
int steps = (Settings::steps() == 0) ? 1 : Settings::steps(); int steps = (Settings::steps() == 0) ? 1 : Settings::steps();
tqmask_height = (--step * max_height) / steps; mask_height = (--step * max_height) / steps;
if (step <= 0) if (step <= 0)
{ {
@ -995,7 +995,7 @@ void MainWindow::slotDecreaseHeight()
} }
updateWindowMask(); updateWindowMask();
title_bar->move(0, tqmask_height); title_bar->move(0, mask_height);
} }
void MainWindow::slotInitSkin() void MainWindow::slotInitSkin()
@ -1048,7 +1048,7 @@ void MainWindow::slotUpdateSize(int new_width, int new_height, int new_location)
back_widget->setGeometry(0, 0, width(), height()); back_widget->setGeometry(0, 0, width(), height());
// Update the window tqmask. // Update the window tqmask.
tqmask_height = (isVisible()) ? max_height : 0; mask_height = (isVisible()) ? max_height : 0;
updateWindowMask(); updateWindowMask();
} }

@ -167,7 +167,7 @@ class MainWindow : public KMainWindow, virtual public DCOPInterface
/* Maximum height value. */ /* Maximum height value. */
int max_height; int max_height;
int tqmask_height; int mask_height;
/* Application border. */ /* Application border. */
int margin; int margin;

@ -302,7 +302,7 @@ void Session::createInitialSplits(SessionType type)
void Session::split(TQWidget* active_terminal, Qt::Orientation o) void Session::split(TQWidget* active_terminal, Qt::Orientation o)
{ {
TerminalSplitter* splitter = static_cast<TerminalSplitter*>(active_terminal->tqparentWidget()); TerminalSplitter* splitter = static_cast<TerminalSplitter*>(active_terminal->parentWidget());
if (!splitter) return; if (!splitter) return;
// If the tqparent splitter of this terminal has only this one child, // If the tqparent splitter of this terminal has only this one child,

@ -115,8 +115,8 @@
</widget> </widget>
<customwidgets> <customwidgets>
</customwidgets> </customwidgets>
<tqlayoutdefaults spacing="6" margin="11"/> <layoutdefaults spacing="6" margin="11"/>
<tqlayoutfunctions spacing="KDialog::spacingHint" margin="KDialog::marginHint"/> <layoutfunctions spacing="KDialog::spacingHint" margin="KDialog::marginHint"/>
<includehints> <includehints>
<includehint>klineedit.h</includehint> <includehint>klineedit.h</includehint>
<includehint>kcolorbutton.h</includehint> <includehint>kcolorbutton.h</includehint>

Loading…
Cancel
Save