Browse Source

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/kdebase@1240522 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
v3.5.13-sru
tpearson 11 years ago
parent
commit
bee265d855
  1. 2
      kate/app/kateconfigdialog.cpp
  2. 4
      kate/app/kateconsole.cpp
  3. 2
      kate/app/kategrepdialog.cpp
  4. 2
      kate/app/katemainwindow.cpp
  5. 4
      kate/app/katemdi.cpp
  6. 2
      kate/app/katemdi.h
  7. 4
      kate/app/kateviewspace.cpp
  8. 28
      kate/app/kateviewspacecontainer.cpp
  9. 6
      kcontrol/colors/widgetcanvas.cpp
  10. 6
      kcontrol/filetypes/filegroupdetails.cpp
  11. 6
      kcontrol/kcontrol/modules.cpp
  12. 4
      kcontrol/kdm/kdm-appear.cpp
  13. 2
      kcontrol/kdm/kdm-users.cpp
  14. 12
      kcontrol/kfontinst/viewpart/FontViewPart.cpp
  15. 2
      kcontrol/randr/ktimerdialog.cpp
  16. 2
      kcontrol/screensaver/kswidget.cpp
  17. 4
      kdeprint/kdeprint_part/printpart.cpp
  18. 2
      kdeprint/kdeprint_part/printpart.h
  19. 8
      kdeprint/kdeprintfax/confsystem.cpp
  20. 4
      kdeprint/kdeprintfax/faxctrl.cpp
  21. 10
      kdesktop/minicli.cpp
  22. 2
      kdm/kfrontend/kfdialog.cpp
  23. 4
      kdm/kfrontend/themer/kdmitem.cpp
  24. 2
      kdm/kfrontend/themer/kdmitem.h
  25. 2
      kdm/kfrontend/themer/kdmlabel.cpp
  26. 2
      kdm/kfrontend/themer/kdmthemer.h
  27. 10
      kdmlib/kgreet_pam.cpp
  28. 2
      kdmlib/kgreet_pam.h
  29. 4
      kfind/kfindpart.cpp
  30. 2
      kfind/kfindpart.h
  31. 6
      kfind/kfwin.cpp
  32. 4
      khelpcenter/view.cpp
  33. 2
      khelpcenter/view.h
  34. 4
      kicker/applets/menu/menuapplet.cpp
  35. 2
      kicker/applets/naughty/NaughtyApplet.h
  36. 4
      kicker/applets/systemtray/systemtrayapplet.cpp
  37. 2
      kicker/extensions/kasbar/kasbar.cpp
  38. 2
      kicker/extensions/kasbar/kasbar.h
  39. 2
      kicker/extensions/kasbar/kasbarextension.cpp
  40. 4
      kicker/extensions/kasbar/kasgroupitem.cpp
  41. 2
      kicker/kicker/core/container_applet.cpp
  42. 2
      kicker/kicker/core/container_applet.h
  43. 2
      kicker/kicker/core/container_base.cpp
  44. 2
      kicker/kicker/core/container_base.h
  45. 10
      kicker/kicker/core/container_extension.cpp
  46. 2
      kicker/kicker/core/container_extension.h
  47. 2
      kicker/kicker/ui/itemview.cpp
  48. 8
      kicker/kicker/ui/k_new_mnu.cpp
  49. 2
      kicker/kicker/ui/kickoff_bar.cpp
  50. 6
      kicker/taskbar/taskbar.cpp
  51. 4
      kioslave/man/kmanpart.cpp
  52. 2
      kioslave/man/kmanpart.h
  53. 4
      klipper/toplevel.cpp
  54. 10
      konqueror/about/konq_aboutpage.cc
  55. 4
      konqueror/about/konq_aboutpage.h
  56. 8
      konqueror/iconview/konq_iconview.cc
  57. 2
      konqueror/iconview/konq_iconview.h
  58. 2
      konqueror/keditbookmarks/toplevel.cpp
  59. 10
      konqueror/konq_factory.cc
  60. 2
      konqueror/konq_factory.h
  61. 4
      konqueror/listview/konq_infolistviewwidget.cc
  62. 2
      konqueror/listview/konq_infolistviewwidget.h
  63. 14
      konqueror/listview/konq_listview.cc
  64. 4
      konqueror/listview/konq_listview.h
  65. 2
      konqueror/listview/konq_listviewitems.cc
  66. 4
      konqueror/listview/konq_listviewwidget.cc
  67. 2
      konqueror/listview/konq_listviewwidget.h
  68. 4
      konqueror/listview/konq_textviewwidget.cc
  69. 2
      konqueror/listview/konq_textviewwidget.h
  70. 4
      konqueror/listview/konq_treeviewwidget.cc
  71. 2
      konqueror/listview/konq_treeviewwidget.h
  72. 8
      konqueror/sidebar/konqsidebar.cpp
  73. 4
      konqueror/sidebar/konqsidebar.h
  74. 6
      konqueror/sidebar/sidebar_widget.cpp
  75. 4
      konqueror/sidebar/trees/konq_sidebartree.cpp
  76. 2
      konqueror/sidebar/trees/konq_sidebartree.h
  77. 4
      konsole/konsole/TEWidget.cpp
  78. 32
      konsole/konsole/konsole_part.cpp
  79. 6
      konsole/konsole/konsole_part.h
  80. 2
      konsole/konsole/main.cpp
  81. 2
      ksysguard/gui/SensorDisplayLib/FancyPlotterSettings.cc
  82. 2
      ksysguard/gui/SensorDisplayLib/ProcessController.cc
  83. 4
      ksysguard/gui/SensorDisplayLib/SensorDisplay.cc
  84. 4
      kwin/client.h
  85. 2
      kwin/layers.cpp
  86. 2
      libkonq/kfileivi.cc
  87. 4
      libkonq/kfileivi.h
  88. 16
      libkonq/knewmenu.cc
  89. 2
      libkonq/knewmenu.h
  90. 2
      libkonq/konq_iconviewwidget.cc
  91. 6
      libkonq/konq_operations.cc
  92. 2
      libkonq/konq_operations.h
  93. 26
      libkonq/konq_popupmenu.cc
  94. 10
      libkonq/konq_popupmenu.h
  95. 8
      nsplugins/plugin_part.cpp
  96. 4
      nsplugins/plugin_part.h
  97. 4
      nsplugins/sdk/npupp.h
  98. 4
      nsplugins/viewer/nsplugin.cpp
  99. 16
      nsplugins/wrapper/wrapper.c

2
kate/app/kateconfigdialog.cpp

@ -334,7 +334,7 @@ void KateConfigDialog::removePluginPage (Kate::Plugin *plugin)
{
if ( pluginPages.tqat(i)->plugin == plugin )
{
TQWidget *w = pluginPages.tqat(i)->page->tqparentWidget();
TQWidget *w = pluginPages.tqat(i)->page->parentWidget();
delete pluginPages.tqat(i)->page;
delete w;
pluginPages.remove(pluginPages.tqat(i));

4
kate/app/kateconsole.cpp

@ -57,7 +57,7 @@ void KateConsole::loadConsoleIfNeeded()
{
if (m_part) return;
if (!tqtopLevelWidget() || !tqparentWidget()) return;
if (!tqtopLevelWidget() || !parentWidget()) return;
if (!tqtopLevelWidget() || !isVisibleTo(tqtopLevelWidget())) return;
KLibFactory *factory = KLibLoader::self()->factory("libkonsolepart");
@ -86,7 +86,7 @@ void KateConsole::slotDestroyed ()
m_part = 0;
// hide the dockwidget
if (tqparentWidget())
if (parentWidget())
{
m_mw->hideToolView (m_toolView);
m_mw->centralWidget()->setFocus ();

2
kate/app/kategrepdialog.cpp

@ -476,7 +476,7 @@ void GrepTool::childExited()
if ( ! errbuf.isEmpty() )
{
KMessageBox::information( tqparentWidget(), i18n("<strong>Error:</strong><p>") + errbuf, i18n("Grep Tool Error") );
KMessageBox::information( parentWidget(), i18n("<strong>Error:</strong><p>") + errbuf, i18n("Grep Tool Error") );
errbuf.truncate(0);
}
else

2
kate/app/katemainwindow.cpp

@ -101,7 +101,7 @@ KateMainWindow::KateMainWindow (KConfig *sconfig, const TQString &sgroup)
// here we go, set some usable default sizes
if (!initialGeometrySet())
{
int scnum = TQApplication::desktop()->screenNumber(tqparentWidget());
int scnum = TQApplication::desktop()->screenNumber(parentWidget());
TQRect desk = TQApplication::desktop()->screenGeometry(scnum);
TQSize size;

4
kate/app/katemdi.cpp

@ -660,8 +660,8 @@ void Sidebar::saveSession (KConfig *config)
//BEGIN MAIN WINDOW
MainWindow::MainWindow (TQWidget* tqparentWidget, const char* name)
: KParts::MainWindow( tqparentWidget, name)
MainWindow::MainWindow (TQWidget* parentWidget, const char* name)
: KParts::MainWindow( parentWidget, name)
, m_sidebarsVisible(true)
, m_restoreConfig (0)
, m_guiClient (new GUIClient (this))

2
kate/app/katemdi.h

@ -264,7 +264,7 @@ class MainWindow : public KParts::MainWindow
/**
* Constructor
*/
MainWindow (TQWidget* tqparentWidget = 0, const char* name = 0);
MainWindow (TQWidget* parentWidget = 0, const char* name = 0);
/**
* Destructor

4
kate/app/kateviewspace.cpp

@ -69,7 +69,7 @@ protected:
TQPainter p( this );
p.setPen( tqcolorGroup().shadow() );
p.drawLine( e->rect().left(), 0, e->rect().right(), 0 );
p.setPen( ((KateViewSpace*)tqparentWidget())->isActiveSpace() ? tqcolorGroup().light() : tqcolorGroup().midlight() );
p.setPen( ((KateViewSpace*)parentWidget())->isActiveSpace() ? tqcolorGroup().light() : tqcolorGroup().midlight() );
p.drawLine( e->rect().left(), 1, e->rect().right(), 1 );
}
};
@ -228,7 +228,7 @@ bool KateViewSpace::event( TQEvent *e )
void KateViewSpace::slotStatusChanged (Kate::View *view, int r, int c, int ovr, bool block, int mod, const TQString &msg)
{
if ((TQWidgetStack *)view->tqparentWidget() != stack)
if ((TQWidgetStack *)view->parentWidget() != stack)
return;
mStatusBar->setStatus( r, c, ovr, block, mod, msg );
}

28
kate/app/kateviewspacecontainer.cpp

@ -141,7 +141,7 @@ bool KateViewSpaceContainer::deleteView (Kate::View *view, bool delViewSpace)
{
if (!view) return true;
KateViewSpace *viewspace = (KateViewSpace *)view->tqparentWidget()->tqparentWidget();
KateViewSpace *viewspace = (KateViewSpace *)view->parentWidget()->parentWidget();
viewspace->removeView (view);
@ -241,7 +241,7 @@ void KateViewSpaceContainer::activateSpace (Kate::View* v)
{
if (!v) return;
KateViewSpace* vs = (KateViewSpace*)v->tqparentWidget()->tqparentWidget();
KateViewSpace* vs = (KateViewSpace*)v->parentWidget()->parentWidget();
if (!vs->isActiveSpace()) {
setActiveSpace (vs);
@ -446,23 +446,23 @@ void KateViewSpaceContainer::splitViewSpace( KateViewSpace* vs,
if (!activeView()) return;
if (!vs) vs = activeViewSpace();
bool isFirstTime = vs->tqparentWidget() == this;
bool isFirstTime = vs->parentWidget() == this;
TQValueList<int> psizes;
if ( ! isFirstTime )
if ( TQSplitter *ps = static_cast<TQSplitter*>(vs->tqparentWidget()->qt_cast(TQSPLITTER_OBJECT_NAME_STRING)) )
if ( TQSplitter *ps = static_cast<TQSplitter*>(vs->parentWidget()->qt_cast(TQSPLITTER_OBJECT_NAME_STRING)) )
psizes = ps->sizes();
Qt::Orientation o = isHoriz ? Qt::Vertical : Qt::Horizontal;
KateMDI::Splitter* s = new KateMDI::Splitter(o, vs->tqparentWidget());
KateMDI::Splitter* s = new KateMDI::Splitter(o, vs->parentWidget());
s->setOpaqueResize( KGlobalSettings::opaqueResize() );
if (! isFirstTime) {
// anders: make sure the split' viewspace is always
// correctly positioned.
// If viewSpace is the first child, the new splitter must be moveToFirst'd
if ( !((KateMDI::Splitter*)vs->tqparentWidget())->isLastChild( vs ) )
((KateMDI::Splitter*)s->tqparentWidget())->moveToFirst( s );
if ( !((KateMDI::Splitter*)vs->parentWidget())->isLastChild( vs ) )
((KateMDI::Splitter*)s->parentWidget())->moveToFirst( s );
}
vs->reparent( s, 0, TQPoint(), true );
KateViewSpace* vsNew = new KateViewSpace( this, s );
@ -471,13 +471,13 @@ void KateViewSpaceContainer::splitViewSpace( KateViewSpace* vs,
s->moveToFirst( vsNew );
if (!isFirstTime)
if (TQSplitter *ps = static_cast<TQSplitter*>(s->tqparentWidget()->qt_cast(TQSPLITTER_OBJECT_NAME_STRING)) )
if (TQSplitter *ps = static_cast<TQSplitter*>(s->parentWidget()->qt_cast(TQSPLITTER_OBJECT_NAME_STRING)) )
ps->setSizes( psizes );
s->show();
TQValueList<int> sizes;
int space = 50;//isHoriz ? s->tqparentWidget()->height()/2 : s->tqparentWidget()->width()/2;
int space = 50;//isHoriz ? s->parentWidget()->height()/2 : s->parentWidget()->width()/2;
sizes << space << space;
s->setSizes( sizes );
@ -503,7 +503,7 @@ void KateViewSpaceContainer::removeViewSpace (KateViewSpace *viewspace)
// abort if this is the last viewspace
if (m_viewSpaceList.count() < 2) return;
KateMDI::Splitter* p = (KateMDI::Splitter*)viewspace->tqparentWidget();
KateMDI::Splitter* p = (KateMDI::Splitter*)viewspace->parentWidget();
// find out if it is the first child for repositioning
// see below
@ -512,9 +512,9 @@ void KateViewSpaceContainer::removeViewSpace (KateViewSpace *viewspace)
// save some size information
KateMDI::Splitter* pp=0L;
TQValueList<int> ppsizes;
if (m_viewSpaceList.count() > 2 && p->tqparentWidget() != this)
if (m_viewSpaceList.count() > 2 && p->parentWidget() != this)
{
pp = (KateMDI::Splitter*)p->tqparentWidget();
pp = (KateMDI::Splitter*)p->parentWidget();
ppsizes = pp->sizes();
pIsFirst = !pp->isLastChild( p ); // simple logic, right-
}
@ -554,10 +554,10 @@ void KateViewSpaceContainer::removeViewSpace (KateViewSpace *viewspace)
{
TQWidget* other = ((TQWidget *)(( TQPtrList<TQObject>)p->childrenListObject()).first());
other->reparent( p->tqparentWidget(), 0, TQPoint(), true );
other->reparent( p->parentWidget(), 0, TQPoint(), true );
// We also need to find the right viewspace to become active
if (pIsFirst)
((KateMDI::Splitter*)p->tqparentWidget())->moveToFirst( other );
((KateMDI::Splitter*)p->parentWidget())->moveToFirst( other );
if ( other->isA("KateViewSpace") ) {
setActiveSpace( (KateViewSpace*)other );
}

6
kcontrol/colors/widgetcanvas.cpp

@ -337,8 +337,8 @@ void WidgetCanvas::drawSampleWidgets()
// Initialize the pixmap which we draw sample widgets into.
smplw.resize(width(), height());
//smplw.fill( tqparentWidget()->back() );
smplw.fill( tqparentWidget()->tqcolorGroup().mid() );
//smplw.fill( parentWidget()->back() );
smplw.fill( parentWidget()->tqcolorGroup().mid() );
// Actually start painting in
@ -585,7 +585,7 @@ void WidgetCanvas::drawSampleWidgets()
// Valance
qDrawWinPanel ( &paint, 0, 0, width(), height(),
tqparentWidget()->tqcolorGroup(), TRUE, 0);
parentWidget()->tqcolorGroup(), TRUE, 0);
// Stop the painting

6
kcontrol/filetypes/filegroupdetails.cpp

@ -27,11 +27,11 @@
FileGroupDetails::FileGroupDetails(TQWidget *parent, const char *name )
: TQWidget( parent, name )
{
TQWidget * tqparentWidget = this;
TQVBoxLayout *secondLayout = new TQVBoxLayout(tqparentWidget,
TQWidget * parentWidget = this;
TQVBoxLayout *secondLayout = new TQVBoxLayout(parentWidget,
0, KDialog::spacingHint());
m_autoEmbed = new TQVButtonGroup( i18n("Left Click Action"), tqparentWidget );
m_autoEmbed = new TQVButtonGroup( i18n("Left Click Action"), parentWidget );
m_autoEmbed->layout()->setSpacing( KDialog::spacingHint() );
secondLayout->addWidget( m_autoEmbed );
// The order of those two items is very important. If you change it, fix typeslistitem.cpp !

6
kcontrol/kcontrol/modules.cpp

@ -142,12 +142,12 @@ void ConfigModule::runAsRoot()
// create an embed widget that will embed the
// kcmshell running as root
_embedLayout = new TQVBoxLayout(_module->tqparentWidget());
_embedFrame = new TQVBox( _module->tqparentWidget() );
_embedLayout = new TQVBoxLayout(_module->parentWidget());
_embedFrame = new TQVBox( _module->parentWidget() );
_embedFrame->setFrameStyle( TQFrame::Box | TQFrame::Raised );
TQPalette pal( red );
pal.setColor( TQColorGroup::Background,
_module->tqparentWidget()->tqcolorGroup().background() );
_module->parentWidget()->tqcolorGroup().background() );
_embedFrame->setPalette( pal );
_embedFrame->setLineWidth( 2 );
_embedFrame->setMidLineWidth( 2 );

4
kcontrol/kdm/kdm-appear.cpp

@ -392,7 +392,7 @@ void KDMAppearanceWidget::iconLoaderDropEvent(TQDropEvent *e)
if(!url->isLocalFile()) {
pixurl.setPath(KGlobal::dirs()->resourceDirs("data").last() +
"kdm/pics/" + url->fileName());
KIO::NetAccess::copy(*url, pixurl, tqparentWidget());
KIO::NetAccess::copy(*url, pixurl, parentWidget());
istmp = true;
} else {
pixurl = *url;
@ -401,7 +401,7 @@ void KDMAppearanceWidget::iconLoaderDropEvent(TQDropEvent *e)
// By now url should be "file:/..."
if (!setLogo(pixurl.path())) {
KIO::NetAccess::del(pixurl, tqparentWidget());
KIO::NetAccess::del(pixurl, parentWidget());
TQString msg = i18n("There was an error loading the image:\n"
"%1\n"
"It will not be saved.")

2
kcontrol/kdm/kdm-users.cpp

@ -346,7 +346,7 @@ void KDMUsersWidget::userButtonDropEvent(TQDropEvent *e)
KURL *url = decodeImgDrop(e, this);
if (url) {
TQString pixpath;
KIO::NetAccess::download(*url, pixpath, tqparentWidget());
KIO::NetAccess::download(*url, pixpath, parentWidget());
changeUserPix( pixpath );
KIO::NetAccess::removeTempFile(pixpath);
delete url;

12
kcontrol/kfontinst/viewpart/FontViewPart.cpp

@ -165,17 +165,17 @@ void CFontViewPart::timeout()
if(Misc::root())
{
destUrl=TQString("fonts:/")+itsPreview->engine().getName(m_url);
itsShowInstallButton=!KIO::NetAccess::exists(destUrl, true, itsFrame->tqparentWidget());
itsShowInstallButton=!KIO::NetAccess::exists(destUrl, true, itsFrame->parentWidget());
}
else
{
destUrl=TQString("fonts:/")+i18n(KFI_KIO_FONTS_SYS)+TQChar('/')+itsPreview->engine().getName(m_url);
if(KIO::NetAccess::exists(destUrl, true, itsFrame->tqparentWidget()))
if(KIO::NetAccess::exists(destUrl, true, itsFrame->parentWidget()))
itsShowInstallButton=false;
else
{
destUrl=TQString("fonts:/")+i18n(KFI_KIO_FONTS_USER)+TQChar('/')+itsPreview->engine().getName(m_url);
itsShowInstallButton=!KIO::NetAccess::exists(destUrl, true, itsFrame->tqparentWidget());
itsShowInstallButton=!KIO::NetAccess::exists(destUrl, true, itsFrame->parentWidget());
}
}
}
@ -220,7 +220,7 @@ void CFontViewPart::install()
{
KURL destUrl(getDest(m_url, KMessageBox::No==resp));
if(KIO::NetAccess::copy(m_url, destUrl, itsFrame->tqparentWidget()))
if(KIO::NetAccess::copy(m_url, destUrl, itsFrame->parentWidget()))
{
//
// OK file copied, now look for any AFM or PFM file...
@ -236,7 +236,7 @@ void CFontViewPart::install()
for(it=urls.begin(); it!=end; ++it)
{
destUrl=getDest(*it, KMessageBox::No==resp);
KIO::NetAccess::copy(*it, destUrl, itsFrame->tqparentWidget());
KIO::NetAccess::copy(*it, destUrl, itsFrame->parentWidget());
}
}
@ -274,7 +274,7 @@ void CFontViewPart::print()
items.append(itsPreview->engine().getName(m_url));
Print::printItems(items, 0, itsFrame->tqparentWidget(), itsPreview->engine());
Print::printItems(items, 0, itsFrame->parentWidget(), itsPreview->engine());
}
}

2
kcontrol/randr/ktimerdialog.cpp

@ -95,7 +95,7 @@ void KTimerDialog::setMainWidget( QWidget *widget )
// yuck, here goes.
QVBox *newWidget = new QVBox( this );
if ( widget->tqparentWidget() != mainWidget ) {
if ( widget->parentWidget() != mainWidget ) {
widget->reparent( newWidget, 0, QPoint(0,0) );
} else {
newWidget->insertChild( widget );

2
kcontrol/screensaver/kswidget.cpp

@ -54,7 +54,7 @@ KSWidget::KSWidget( TQWidget* parent, const char* name, int f )
}
}
}
Window w = XCreateWindow( x11Display(), tqparentWidget() ? tqparentWidget()->winId() : RootWindow( x11Display(), x11Screen()),
Window w = XCreateWindow( x11Display(), parentWidget() ? parentWidget()->winId() : RootWindow( x11Display(), x11Screen()),
x(), y(), width(), height(), 0, x11Depth(), InputOutput, visual, flags, &attrs );
create( w );
#endif

4
kdeprint/kdeprint_part/printpart.cpp

@ -33,7 +33,7 @@
typedef KParts::GenericFactory<PrintPart> PrintPartFactory;
K_EXPORT_COMPONENT_FACTORY( libkdeprint_part, PrintPartFactory )
PrintPart::PrintPart(TQWidget *tqparentWidget, const char * /*widgetName*/ ,
PrintPart::PrintPart(TQWidget *parentWidget, const char * /*widgetName*/ ,
TQObject *parent, const char *name,
const TQStringList & /*args*/ )
: KParts::ReadOnlyPart(parent, name)
@ -42,7 +42,7 @@ PrintPart::PrintPart(TQWidget *tqparentWidget, const char * /*widgetName*/ ,
instance()->iconLoader()->addAppDir("kdeprint");
m_extension = new PrintPartExtension(this);
m_view = new KMMainView(tqparentWidget, "MainView", actionCollection());
m_view = new KMMainView(parentWidget, "MainView", actionCollection());
m_view->setFocusPolicy(TQ_ClickFocus);
m_view->enableToolbar(false);
setWidget(m_view);

2
kdeprint/kdeprint_part/printpart.h

@ -31,7 +31,7 @@ class PrintPart : public KParts::ReadOnlyPart
{
Q_OBJECT
public:
PrintPart(TQWidget *tqparentWidget, const char *widgetName,
PrintPart(TQWidget *parentWidget, const char *widgetName,
TQObject *parent, const char *name,
const TQStringList & );
virtual ~PrintPart();

8
kdeprint/kdeprintfax/confsystem.cpp

@ -178,13 +178,13 @@ void ConfSystem::slotSystemChanged(int ID)
m_commands[m_current] = m_command->text();
m_current = ID;
if (ID == EFAX_ID)
m_device->tqparentWidget()->show();
m_device->parentWidget()->show();
else
m_device->tqparentWidget()->hide();
m_device->parentWidget()->hide();
if (ID == HYLAFAX_ID)
m_server->tqparentWidget()->show();
m_server->parentWidget()->show();
else
m_server->tqparentWidget()->hide();
m_server->parentWidget()->hide();
m_command->setText(m_commands[m_current]);
}

4
kdeprint/kdeprintfax/faxctrl.cpp

@ -553,7 +553,7 @@ void FaxCtrl::viewLog(TQWidget *)
}
else
{
KWin::activateWindow(m_logview->tqparentWidget()->winId());
KWin::activateWindow(m_logview->parentWidget()->winId());
}
}
@ -605,7 +605,7 @@ void FaxCtrl::slotCloseLog()
TQTextEdit *view = m_logview;
m_logview = 0;
if (obj && obj->inherits(TQPUSHBUTTON_OBJECT_NAME_STRING))
delete view->tqparentWidget();
delete view->parentWidget();
kdDebug() << "slotClose()" << endl;
}
}

10
kdesktop/minicli.cpp

@ -558,7 +558,7 @@ int Minicli::runCommand()
case KURIFilterData::HELP:
{
// No need for kfmclient, KRun does it all (David)
(void) new KRun( m_filterData->uri(), tqparentWidget(), asn );
(void) new KRun( m_filterData->uri(), parentWidget(), asn );
return 0;
}
case KURIFilterData::EXECUTABLE:
@ -570,7 +570,7 @@ int Minicli::runCommand()
if (service && service->isValid() && service->type() == "Application")
{
notifyServiceStarted(service);
KRun::run(*service, KURL::List(), tqparentWidget(), asn );
KRun::run(*service, KURL::List(), parentWidget(), asn );
return 0;
}
}
@ -605,7 +605,7 @@ int Minicli::runCommand()
if (service && service->isValid() && service->type() == "Application")
{
notifyServiceStarted(service);
KRun::run(*service, KURL::List(), tqparentWidget(), asn );
KRun::run(*service, KURL::List(), parentWidget(), asn );
return 0;
}
@ -613,7 +613,7 @@ int Minicli::runCommand()
if (service && service->isValid() && service->type() == "Application")
{
notifyServiceStarted(service);
KRun::run(*service, KURL::List(), tqparentWidget(), asn );
KRun::run(*service, KURL::List(), parentWidget(), asn );
return 0;
}
@ -625,7 +625,7 @@ int Minicli::runCommand()
}
}
if ( KRun::runCommand( cmd, exec, m_iconName, tqparentWidget(), asn ) )
if ( KRun::runCommand( cmd, exec, m_iconName, parentWidget(), asn ) )
return 0;
else
{

2
kdm/kfrontend/kfdialog.cpp

@ -74,7 +74,7 @@ FDialog::adjustGeometry()
adjustSize();
}
if (tqparentWidget())
if (parentWidget())
return;
TQRect grt( rect() );

4
kdm/kfrontend/themer/kdmitem.cpp

@ -614,7 +614,7 @@ KdmItem::setFixedLayout( const TQDomNode &node )
}
TQWidget *
KdmItem::tqparentWidget() const
KdmItem::parentWidget() const
{
if (myWidget)
return myWidget;
@ -623,7 +623,7 @@ KdmItem::tqparentWidget() const
if (tqparent()->qt_cast(TQWIDGET_OBJECT_NAME_STRING))
return (TQWidget*)parent();
return ((KdmItem*)parent())->tqparentWidget();
return ((KdmItem*)parent())->parentWidget();
}
#include "kdmitem.moc"

2
kdm/kfrontend/themer/kdmitem.h

@ -163,7 +163,7 @@ public:
bool isExplicitlyHidden() const { return isShown == ExplicitlyHidden; }
TQRect rect() const { return area; }
TQWidget *tqparentWidget() const;
TQWidget *parentWidget() const;
TQString getId() const { return id; }
signals:

2
kdm/kfrontend/themer/kdmlabel.cpp

@ -115,7 +115,7 @@ KdmLabel::setTextInt( const TQString &txt)
myAccel = 0;
if (cAccel != -1) {
cText.remove('&');
myAccel = new TQAccel(tqparentWidget());
myAccel = new TQAccel(parentWidget());
myAccel->insertItem(ALT + UNICODE_ACCEL + cText.tqat(cAccel).lower().tqunicode());
connect(myAccel, TQT_SIGNAL(activated(int)), TQT_SLOT(slotAccel()));
}

2
kdm/kfrontend/themer/kdmthemer.h

@ -62,7 +62,7 @@ public:
/*
* Gives a tqsizeHint to the widget (parent size)
*/
//TQSize tqsizeHint() const{ return tqparentWidget()->size(); }
//TQSize tqsizeHint() const{ return parentWidget()->size(); }
/*
* Takes a shot of the current widget

10
kdmlib/kgreet_pam.cpp

@ -94,7 +94,7 @@ KPamGreeter::KPamGreeter( KGreeterPluginHandler *_handler,
kg_debug("KPamGreeter constructed\n");
m_tqparentWidget = parent;
m_parentWidget = parent;
KdmItem *user_entry = 0, *pw_entry = 0;
int line = 0;
@ -314,7 +314,7 @@ KPamGreeter::textMessage( const char *text, bool err )
return false;
if (getLayoutItem()) {
TQLabel* label = new TQLabel(TQString::fromUtf8(text), m_tqparentWidget);
TQLabel* label = new TQLabel(TQString::fromUtf8(text), m_parentWidget);
getLayoutItem()->addWidget(label, state+1, 0, 0);
}
@ -341,7 +341,7 @@ KPamGreeter::textPrompt( const char *prompt, bool echo, bool nonBlocking )
}
else if (state >= authEdit.size()) {
if (getLayoutItem()) {
TQLabel* label = new TQLabel(TQString::fromUtf8(prompt), m_tqparentWidget);
TQLabel* label = new TQLabel(TQString::fromUtf8(prompt), m_parentWidget);
getLayoutItem()->addWidget(label, state+1, 0, 0);
kg_debug("added label widget to layout");
}
@ -361,9 +361,9 @@ KPamGreeter::textPrompt( const char *prompt, bool echo, bool nonBlocking )
KDMPasswordEdit* passwdEdit;
if (echoMode == -1)
passwdEdit = new KDMPasswordEdit( m_tqparentWidget );
passwdEdit = new KDMPasswordEdit( m_parentWidget );
else
passwdEdit = new KDMPasswordEdit( echoMode, m_tqparentWidget);
passwdEdit = new KDMPasswordEdit( echoMode, m_parentWidget);
connect( passwdEdit, TQT_SIGNAL(textChanged( const TQString & )),
TQT_SLOT(slotActivity()) );
connect( passwdEdit, TQT_SIGNAL(lostFocus()), TQT_SLOT(slotActivity()) );

2
kdmlib/kgreet_pam.h

@ -78,7 +78,7 @@ class KPamGreeter : public TQObject, public KGreeterPlugin {
TQLabel *loginLabel;
TQValueList<TQLabel*> authLabel;
KLineEdit *loginEdit;
TQWidget* m_tqparentWidget;
TQWidget* m_parentWidget;
TQValueList<KPasswordEdit*> authEdit;
KSimpleConfig *stsFile;
KdmThemer *m_themer;

4
kfind/kfindpart.cpp

@ -33,7 +33,7 @@ class KonqDirPart;
typedef KParts::GenericFactory<KFindPart> KFindFactory;
K_EXPORT_COMPONENT_FACTORY( libkfindpart, KFindFactory )
KFindPart::KFindPart( TQWidget * tqparentWidget, const char *widgetName,
KFindPart::KFindPart( TQWidget * parentWidget, const char *widgetName,
TQObject *parent, const char *name ,
const TQStringList & /*args*/ )
: KonqDirPart (parent, name )/*KParts::ReadOnlyPart*/
@ -43,7 +43,7 @@ KFindPart::KFindPart( TQWidget * tqparentWidget, const char *widgetName,
setBrowserExtension( new KonqDirPartBrowserExtension( this ) );
kdDebug() << "KFindPart::KFindPart " << this << endl;
m_kfindWidget = new Kfind( tqparentWidget, widgetName );
m_kfindWidget = new Kfind( parentWidget, widgetName );
m_kfindWidget->setMaximumHeight(m_kfindWidget->tqminimumSizeHint().height());
const KFileItem *item = ((KonqDirPart*)parent)->currentItem();
kdDebug() << "Kfind: currentItem: " << ( item ? item->url().path().local8Bit() : TQString("null") ) << endl;

2
kfind/kfindpart.h

@ -44,7 +44,7 @@ class KFindPart : public KonqDirPart//KParts::ReadOnlyPart
Q_OBJECT
Q_PROPERTY( bool showsResult READ showsResult )
public:
KFindPart( TQWidget * tqparentWidget, const char *widgetName,
KFindPart( TQWidget * parentWidget, const char *widgetName,
TQObject *parent, const char *name, const TQStringList & /*args*/ );
virtual ~KFindPart();

6
kfind/kfwin.cpp

@ -215,7 +215,7 @@ void KfindWindow::saveResults()
TQFile file(filename);
if ( !file.open(IO_WriteOnly) )
KMessageBox::error(tqparentWidget(),
KMessageBox::error(parentWidget(),
i18n("Unable to save results."));
else {
TQTextStream stream( &file );
@ -255,7 +255,7 @@ void KfindWindow::saveResults()
}
file.close();
KMessageBox::information(tqparentWidget(),
KMessageBox::information(parentWidget(),
i18n("Results were saved to file\n")+
filename);
}
@ -287,7 +287,7 @@ void KfindWindow::deleteFiles()
{
TQString tmp = i18n("Do you really want to delete the selected file?",
"Do you really want to delete the %n selected files?",selectedItems().count());
if (KMessageBox::warningContinueCancel(tqparentWidget(), tmp, "", KGuiItem( i18n("&Delete"), "editdelete")) == KMessageBox::Cancel)
if (KMessageBox::warningContinueCancel(parentWidget(), tmp, "", KGuiItem( i18n("&Delete"), "editdelete")) == KMessageBox::Cancel)
return;
// Iterate on all selected elements

4
khelpcenter/view.cpp

@ -20,9 +20,9 @@
using namespace KHC;
View::View( TQWidget *tqparentWidget, const char *widgetName,
View::View( TQWidget *parentWidget, const char *widgetName,
TQObject *parent, const char *name, KHTMLPart::GUIProfile prof, KActionCollection *col )
: KHTMLPart( tqparentWidget, widgetName, parent, name, prof ), mState( Docu ), mActionCollection(col)
: KHTMLPart( parentWidget, widgetName, parent, name, prof ), mState( Docu ), mActionCollection(col)
{
setJScriptEnabled(false);
setJavaEnabled(false);

2
khelpcenter/view.h

@ -20,7 +20,7 @@ class View : public KHTMLPart
{
Q_OBJECT
public:
View( TQWidget *tqparentWidget, const char *widgetName,
View( TQWidget *parentWidget, const char *widgetName,
TQObject *parent, const char *name, KHTMLPart::GUIProfile prof,
KActionCollection *col );

4
kicker/applets/menu/menuapplet.cpp

@ -487,12 +487,12 @@ void MenuEmbed::setMinimumSize( int w, int h )
void MenuEmbed::setBackground()
{
const TQPixmap *pbg = tqparentWidget()->backgroundPixmap();
const TQPixmap *pbg = parentWidget()->backgroundPixmap();
if (pbg)
{
TQPixmap bg(width(), height());
bg.fill(tqparentWidget(), pos());
bg.fill(parentWidget(), pos());
setPaletteBackgroundPixmap(bg);
setBackgroundOrigin(WidgetOrigin);
}

2
kicker/applets/naughty/NaughtyApplet.h

@ -51,7 +51,7 @@ class NaughtyApplet : public KPanelApplet
signals:
void tqlayoutChanged();
void layoutChanged();
protected slots:

4
kicker/applets/systemtray/systemtrayapplet.cpp

@ -1067,12 +1067,12 @@ void TrayEmbed::getIconSize(int defaultIconSize)
void TrayEmbed::setBackground()
{
const TQPixmap *pbg = tqparentWidget()->backgroundPixmap();
const TQPixmap *pbg = parentWidget()->backgroundPixmap();
if (pbg)
{
TQPixmap bg(width(), height());
bg.fill(tqparentWidget(), pos());
bg.fill(parentWidget(), pos());
setPaletteBackgroundPixmap(bg);
setBackgroundOrigin(WidgetOrigin);
}

2
kicker/extensions/kasbar/kasbar.cpp

@ -622,7 +622,7 @@ void KasBar::resizeEvent(TQResizeEvent *ev)
TQPainter p( &offscreen );
paintBackground( &p, TQRect(TQPoint(0,0),size()) );
TQWidget::resizeEvent(ev);
emit tqlayoutChanged();
emit layoutChanged();
}

2
kicker/extensions/kasbar/kasbar.h

@ -251,7 +251,7 @@ signals:
void directionChanged();
/** Emitted when kasbar wants to resize. This happens when a new window is added. */
void tqlayoutChanged();
void layoutChanged();
/** Emitted when the item size is changed. */
void itemSizeChanged( int );

2
kicker/extensions/kasbar/kasbarextension.cpp

@ -97,7 +97,7 @@ KasBarExtension::KasBarExtension( const TQString& configFile,
// setBackgroundMode( NoBackground );
kasbar = new KasTasker( orientation(), this, name );
connect( kasbar, TQT_SIGNAL( tqlayoutChanged() ), this, TQT_SIGNAL( updateLayout() ) );
connect( kasbar, TQT_SIGNAL( layoutChanged() ), this, TQT_SIGNAL( updateLayout() ) );
connect( kasbar, TQT_SIGNAL( detachedChanged(bool) ), this, TQT_SLOT( setDetached(bool) ) );
kasbar->setConfig( config() );

4
kicker/extensions/kasbar/kasgroupitem.cpp

@ -83,8 +83,8 @@ KasGroupItem::KasGroupItem( KasTasker *parent )
setGroupItem( true );
setText( i18n("Group") );
connect( parent, TQT_SIGNAL( tqlayoutChanged() ), this, TQT_SLOT( hidePopup() ) );
connect( parent, TQT_SIGNAL( tqlayoutChanged() ), this, TQT_SLOT( update() ) );
connect( parent, TQT_SIGNAL( layoutChanged() ), this, TQT_SLOT( hidePopup() ) );
connect( parent, TQT_SIGNAL( layoutChanged() ), this, TQT_SLOT( update() ) );
connect( this, TQT_SIGNAL(leftButtonClicked(TQMouseEvent *)), TQT_SLOT(togglePopup()) );
connect( this, TQT_SIGNAL(rightButtonClicked(TQMouseEvent *)), TQT_SLOT(showGroupMenuAt(TQMouseEvent *) ) );
}

2
kicker/kicker/core/container_applet.cpp

@ -354,7 +354,7 @@ void AppletContainer::slotDelayedDestruct()
delete this;
}
void AppletContainer::tqalignmentChange(KPanelExtension::Alignment a)
void AppletContainer::alignmentChange(KPanelExtension::Alignment a)
{
if (!_applet)
{

2
kicker/kicker/core/container_applet.h

@ -84,7 +84,7 @@ public slots:
protected:
virtual void doLoadConfiguration( KConfigGroup& );
virtual void doSaveConfiguration( KConfigGroup&, bool layoutOnly ) const;
virtual void tqalignmentChange(KPanelExtension::Alignment a);
virtual void alignmentChange(KPanelExtension::Alignment a);
virtual TQPopupMenu* createOpMenu();

2
kicker/kicker/core/container_base.cpp

@ -118,7 +118,7 @@ void BaseContainer::tqsetAlignment(KPanelExtension::Alignment a)
}
_tqalignment = a;
tqalignmentChange(a);
alignmentChange(a);
}
TQPopupMenu* BaseContainer::opMenu()

2
kicker/kicker/core/container_base.h

@ -111,7 +111,7 @@ protected:
virtual void doLoadConfiguration( KConfigGroup& ) {}
virtual void doSaveConfiguration( KConfigGroup&,
bool /* layoutOnly */ ) const {}
virtual void tqalignmentChange(KPanelExtension::Alignment) {}
virtual void alignmentChange(KPanelExtension::Alignment) {}
virtual TQPopupMenu* createOpMenu() = 0;
TQPopupMenu *appletOpMenu() const { return _appletOpMnu; }

10
kicker/kicker/core/container_extension.cpp

@ -293,7 +293,7 @@ void ExtensionContainer::readConfig()
}
positionChange(position());
tqalignmentChange(tqalignment());
alignmentChange(tqalignment());
setSize(static_cast<KPanelExtension::Size>(m_settings.size()),
m_settings.customSize());
@ -471,7 +471,7 @@ void ExtensionContainer::moveMe()
KPanelExtension::Right,
KPanelExtension::Top,
KPanelExtension::Bottom };
KPanelExtension::Alignment tqalignments[] = { KPanelExtension::LeftTop,
KPanelExtension::Alignment alignments[] = { KPanelExtension::LeftTop,
KPanelExtension::Center,
KPanelExtension::RightBottom };
@ -494,8 +494,8 @@ void ExtensionContainer::moveMe()
// they don't get their "you're changing position" signals through
// heightForWidth/widthForHeight
rects.append(UserRectSel::PanelStrut(initialGeometry(positions[i],
tqalignments[j], s),
s, positions[i], tqalignments[j]));
alignments[j], s),
s, positions[i], alignments[j]));
}
}
}
@ -1368,7 +1368,7 @@ void ExtensionContainer::leaveEvent(TQEvent*)
maybeStartAutoHideTimer();
}
void ExtensionContainer::tqalignmentChange(KPanelExtension::Alignment a)
void ExtensionContainer::alignmentChange(KPanelExtension::Alignment a)
{
if (!m_extension)
{

2
kicker/kicker/core/container_extension.h

@ -159,7 +159,7 @@ private:
int XineramaScreen, const TQSize &s, TQRect workArea,
bool autohidden = false, UserHidden userHidden = Unhidden) const;
void positionChange(KPanelExtension::Position p);
void tqalignmentChange(KPanelExtension::Alignment a);
void alignmentChange(KPanelExtension::Alignment a);
void xineramaScreenChange(int /*XineramaScreen*/) {}
int arrangeHideButtons();
int setupBorderSpace();

2
kicker/kicker/ui/itemview.cpp

@ -762,7 +762,7 @@ void ItemView::slotMoveContent()
TQListViewItemIterator it( this );
while ( it.current() ) {
if ( !dynamic_cast<KMenuSpacer*>( it.current() ) && !it.current()->tqparent() && it.current()->isVisible() ) {
it.current()->tqinvalidateHeight();
it.current()->invalidateHeight();
item_height += it.current()->totalHeight();
}
++it;

8
kicker/kicker/ui/k_new_mnu.cpp

@ -495,7 +495,7 @@ bool KMenu::eventFilter ( TQObject * receiver, TQEvent* e)
if(raiseWidget)
break;
if(receiver->isWidgetType())
receiver = TQT_TQOBJECT(TQT_TQWIDGET(receiver)->tqparentWidget(true));
receiver = TQT_TQOBJECT(TQT_TQWIDGET(receiver)->parentWidget(true));
else
break;
}
@ -1556,7 +1556,7 @@ bool KMenu::runCommand()
case KURIFilterData::HELP:
{
// No need for kfmclient, KRun does it all (David)
(void) new KRun( m_filterData->uri(), tqparentWidget());
(void) new KRun( m_filterData->uri(), parentWidget());
return false;
}
case KURIFilterData::EXECUTABLE:
@ -2715,7 +2715,7 @@ void KMenu::slotStartURL(const TQString& u)
}
kapp->propagateSessionManager();
(void) new KRun( u, tqparentWidget());
(void) new KRun( u, parentWidget());
}
}
@ -3280,7 +3280,7 @@ void KMenu::searchActionClicked(TQListViewItem* item)
data.setData(file.readEntry("Query").tqreplace("\\{@}", m_kcommand->currentText()));
}
(void) new KRun( data.uri(), tqparentWidget());
(void) new KRun( data.uri(), parentWidget());
}
}

2
kicker/kicker/ui/kickoff_bar.cpp

@ -130,7 +130,7 @@ TQSize KickoffTabBar::tqsizeHint() const
void KickoffTabBar::layoutTabs()
{
TQTabBar::tqlayoutTabs();
TQTabBar::layoutTabs();
TQFontMetrics fm = fontMetrics();
int fh = ((KickerSettings::kickoffTabBarFormat() != KickerSettings::IconOnly) ? fm.height() : 0) + 4;

6
kicker/taskbar/taskbar.cpp

@ -818,12 +818,12 @@ void TaskBar::reLayout()
void TaskBar::setViewportBackground()
{
const TQPixmap *bg = tqparentWidget()->backgroundPixmap();
const TQPixmap *bg = parentWidget()->backgroundPixmap();
if (bg)
{
TQPixmap pm(tqparentWidget()->size());
pm.fill(tqparentWidget(), pos() + viewport()->pos());
TQPixmap pm(parentWidget()->size());
pm.fill(parentWidget(), pos() + viewport()->pos());
viewport()->setPaletteBackgroundPixmap(pm);
viewport()->setBackgroundOrigin(WidgetOrigin);
}

4
kioslave/man/kmanpart.cpp

@ -50,10 +50,10 @@ KManPartFactory::~KManPartFactory()
delete s_about;
}
KParts::Part* KManPartFactory::createPartObject( TQWidget * tqparentWidget, const char* /*widgetName*/, TQObject *,
KParts::Part* KManPartFactory::createPartObject( TQWidget * parentWidget, const char* /*widgetName*/, TQObject *,
const char* name, const char* /*className*/,const TQStringList & )
{
KManPart* part = new KManPart(tqparentWidget, name );
KManPart* part = new KManPart(parentWidget, name );
return part;
}

2
kioslave/man/kmanpart.h

@ -44,7 +44,7 @@ class KManPartFactory: public KParts::Factory
KManPartFactory( TQObject * parent = 0, const char * name = 0 );
virtual ~KManPartFactory();
virtual KParts::Part* createPartObject( TQWidget * tqparentWidget, const char * widgetName ,
virtual KParts::Part* createPartObject( TQWidget * parentWidget, const char * widgetName ,
TQObject* parent, const char* name, const char * classname,
const TQStringList &args);

4
klipper/toplevel.cpp

@ -1017,9 +1017,9 @@ bool KlipperWidget::ignoreClipboardChanges() const
if ( tqfocusWidget )
{
if ( tqfocusWidget->inherits( TQSPINBOX_OBJECT_NAME_STRING ) ||
(tqfocusWidget->tqparentWidget() &&
(tqfocusWidget->parentWidget() &&
tqfocusWidget->inherits(TQLINEEDIT_OBJECT_NAME_STRING) &&
tqfocusWidget->tqparentWidget()->inherits(TQSPINWIDGET_OBJECT_NAME_STRING)) )
tqfocusWidget->parentWidget()->inherits(TQSPINWIDGET_OBJECT_NAME_STRING)) )
{
return true;
}

10
konqueror/about/konq_aboutpage.cc

@ -50,15 +50,15 @@ KonqAboutPageFactory::~KonqAboutPageFactory()
s_plugins_html = 0;
}
KParts::Part *KonqAboutPageFactory::createPartObject( TQWidget *tqparentWidget, const char *widgetName,
KParts::Part *KonqAboutPageFactory::createPartObject( TQWidget *parentWidget, const char *widgetName,
TQObject *parent, const char *name,
const char *, const TQStringList & )
{
//KonqFrame *frame = tqt_dynamic_cast<KonqFrame *>( tqparentWidget );
//KonqFrame *frame = tqt_dynamic_cast<KonqFrame *>( parentWidget );
//if ( !frame ) return 0;
return new KonqAboutPage( //frame->childView()->mainWindow(),
tqparentWidget, widgetName, parent, name );