Rename obsolete tq methods to standard names

pull/1/head
Timothy Pearson 13 years ago
parent 1de96857f5
commit 8a143ab9f8

@ -91,7 +91,7 @@ and reappear on the right-hand side, as UNIX users which are not Samba users.
</property>
<widget class="TQLayoutWidget">
<property name="name">
<cstring>tqlayout38</cstring>
<cstring>layout38</cstring>
</property>
<hbox>
<property name="name">
@ -259,7 +259,7 @@ and reappear on the right-hand side, as UNIX users which are not Samba users.
</property>
<widget class="TQLayoutWidget">
<property name="name">
<cstring>tqlayout33</cstring>
<cstring>layout33</cstring>
</property>
<vbox>
<property name="name">
@ -461,7 +461,7 @@ and reappear on the right-hand side, as UNIX users which are not Samba users.
</widget>
<widget class="TQLayoutWidget" row="2" column="1">
<property name="name">
<cstring>tqlayout39</cstring>
<cstring>layout39</cstring>
</property>
<hbox>
<property name="name">
@ -954,7 +954,7 @@ and reappear on the right-hand side, as UNIX users which are not Samba users.
</property>
<widget class="TQLayoutWidget">
<property name="name">
<cstring>tqlayout56</cstring>
<cstring>layout56</cstring>
</property>
<hbox>
<property name="name">
@ -1044,7 +1044,7 @@ and reappear on the right-hand side, as UNIX users which are not Samba users.
</widget>
<widget class="TQLayoutWidget">
<property name="name">
<cstring>tqlayout55</cstring>
<cstring>layout55</cstring>
</property>
<vbox>
<property name="name">
@ -1202,7 +1202,7 @@ and reappear on the right-hand side, as UNIX users which are not Samba users.
</widget>
<widget class="TQLayoutWidget">
<property name="name">
<cstring>tqlayout55</cstring>
<cstring>layout55</cstring>
</property>
<hbox>
<property name="name">
@ -4776,7 +4776,7 @@ Only change something if you know what you are doing.</string>
</widget>
<widget class="TQCheckBox" row="0" column="0" rowspan="1" colspan="2">
<property name="name">
<cstring>tqunicodeChk</cstring>
<cstring>unicodeChk</cstring>
</property>
<property name="text">
<string>U&amp;nicode</string>
@ -8243,7 +8243,7 @@ This is only available if the SSL libraries have been compiled on your system an
<tabstop>logonDriveEdit</tabstop>
<tabstop>logonPathUrlRq</tabstop>
<tabstop>logonHomeUrlRq</tabstop>
<tabstop>tqunicodeChk</tabstop>
<tabstop>unicodeChk</tabstop>
<tabstop>displayCharsetEdit</tabstop>
<tabstop>unixCharsetEdit</tabstop>
<tabstop>dosCharsetEdit</tabstop>

@ -919,7 +919,7 @@ void KcmSambaConf::loadCharset(SambaShare* )
_dictMngr->add("character set", _interface->characterSetEdit);
_dictMngr->add("valid chars", _interface->validCharsEdit);
_dictMngr->add("tqunicode",_interface->tqunicodeChk);
_dictMngr->add("unicode",_interface->unicodeChk);
}
void KcmSambaConf::loadWinbind(SambaShare* )

@ -227,14 +227,14 @@ void PrinterDlgImpl::printersChkToggled(bool b)
pix.setMask(mask);
printerPixLbl->setPixmap(pix);
pixFrame->tqlayout()->setMargin( 2 );
pixFrame->layout()->setMargin( 2 );
}
else
{
shareNameEdit->setEnabled(true);
shareNameEdit->setText( _share->getName() );
printerPixLbl->setPixmap(DesktopIcon("printer1"));
pixFrame->tqlayout()->setMargin( 11 );
pixFrame->layout()->setMargin( 11 );
}
}

@ -735,7 +735,7 @@
</property>
<widget class="TQLayoutWidget">
<property name="name">
<cstring>tqlayout18</cstring>
<cstring>layout18</cstring>
</property>
<grid>
<property name="name">
@ -799,7 +799,7 @@
</widget>
<widget class="TQLayoutWidget">
<property name="name">
<cstring>tqlayout52</cstring>
<cstring>layout52</cstring>
</property>
<grid>
<property name="name">
@ -2453,7 +2453,7 @@ Only change something if you know what you are doing.</string>
</widget>
<widget class="TQLayoutWidget" row="0" column="0">
<property name="name">
<cstring>tqlayout9</cstring>
<cstring>layout9</cstring>
</property>
<hbox>
<property name="name">

@ -43,7 +43,7 @@ SmbConfConfigWidget::SmbConfConfigWidget(TQWidget* parent)
: TQWidget(parent,"configWidget")
{
TQVBoxLayout *tqlayout = new TQVBoxLayout(this,5);
TQVBoxLayout *layout = new TQVBoxLayout(this,5);
TQLabel *lbl = new TQLabel(i18n("<p>The SAMBA configuration file <strong>'smb.conf'</strong>" \
" could not be found;</p>" \
@ -59,9 +59,9 @@ SmbConfConfigWidget::SmbConfConfigWidget(TQWidget* parent)
hbox->addStretch();
hbox->addWidget(btn);
tqlayout->addWidget(lbl);
tqlayout->addLayout(hbox);
tqlayout->addStretch();
layout->addWidget(lbl);
layout->addLayout(hbox);
layout->addStretch();
}
void SmbConfConfigWidget::btnPressed() {

@ -348,7 +348,7 @@ Map requests from uid/gid 0 to the anonymous uid/gid. Note that this does not ap
</widget>
<widget class="TQLayoutWidget">
<property name="name">
<cstring>tqlayout15</cstring>
<cstring>layout15</cstring>
</property>
<hbox>
<property name="name">
@ -394,7 +394,7 @@ Map requests from uid/gid 0 to the anonymous uid/gid. Note that this does not ap
</widget>
<widget class="TQLayoutWidget">
<property name="name">
<cstring>tqlayout16</cstring>
<cstring>layout16</cstring>
</property>
<hbox>
<property name="name">

@ -62,8 +62,8 @@ void NFSDialog::initGUI() {
TQWidget* page = plainPage();
m_gui = new NFSDialogGUI(page);
TQVBoxLayout *tqlayout = new TQVBoxLayout( page );
tqlayout->addWidget( m_gui );
TQVBoxLayout *layout = new TQVBoxLayout( page );
layout->addWidget( m_gui );
KAccel* accel = new KAccel( m_gui->listView );
accel->insert( "Delete", TQt::Key_Delete, TQT_TQOBJECT(this), TQT_SLOT(slotRemoveHost()));

@ -41,8 +41,8 @@ NFSHostDlg::NFSHostDlg(TQWidget* parent, HostList* hosts, NFSEntry* entry)
m_gui = new HostProps(page);
TQVBoxLayout *tqlayout = new TQVBoxLayout( page, 0, 6 );
tqlayout->addWidget( m_gui );
TQVBoxLayout *layout = new TQVBoxLayout( page, 0, 6 );
layout->addWidget( m_gui );
connect( m_gui, TQT_SIGNAL(modified()), this, TQT_SLOT(setModified()));

@ -21,7 +21,7 @@
</property>
<widget class="TQLayoutWidget">
<property name="name">
<cstring>tqlayout6</cstring>
<cstring>layout6</cstring>
</property>
<hbox>
<property name="name">
@ -108,7 +108,7 @@
</property>
<widget class="TQLayoutWidget">
<property name="name">
<cstring>tqlayout6</cstring>
<cstring>layout6</cstring>
</property>
<hbox>
<property name="name">
@ -157,7 +157,7 @@
</widget>
<widget class="TQLayoutWidget">
<property name="name">
<cstring>tqlayout4</cstring>
<cstring>layout4</cstring>
</property>
<hbox>
<property name="name">
@ -216,7 +216,7 @@
</property>
<widget class="TQLayoutWidget">
<property name="name">
<cstring>tqlayout3</cstring>
<cstring>layout3</cstring>
</property>
<hbox>
<property name="name">
@ -239,7 +239,7 @@
</widget>
<widget class="TQLayoutWidget">
<property name="name">
<cstring>tqlayout5</cstring>
<cstring>layout5</cstring>
</property>
<hbox>
<property name="name">
@ -288,7 +288,7 @@
</widget>
<widget class="TQLayoutWidget">
<property name="name">
<cstring>tqlayout3</cstring>
<cstring>layout3</cstring>
</property>
<hbox>
<property name="name">

@ -66,7 +66,7 @@
</widget>
<widget class="TQLayoutWidget">
<property name="name">
<cstring>tqlayout4</cstring>
<cstring>layout4</cstring>
</property>
<hbox>
<property name="name">
@ -131,7 +131,7 @@
</widget>
<widget class="TQLayoutWidget">
<property name="name">
<cstring>tqlayout4_2</cstring>
<cstring>layout4_2</cstring>
</property>
<hbox>
<property name="name">
@ -185,7 +185,7 @@
</widget>
<widget class="TQLayoutWidget">
<property name="name">
<cstring>tqlayout3</cstring>
<cstring>layout3</cstring>
</property>
<grid>
<property name="name">
@ -251,7 +251,7 @@
</widget>
<widget class="TQLayoutWidget">
<property name="name">
<cstring>tqlayout10</cstring>
<cstring>layout10</cstring>
</property>
<hbox>
<property name="name">

@ -65,13 +65,13 @@ KFileShareConfig::KFileShareConfig(TQWidget *parent, const char *name, const TQS
{
KGlobal::locale()->insertCatalogue("kfileshare");
TQBoxLayout* tqlayout = new TQVBoxLayout(this,0,
TQBoxLayout* layout = new TQVBoxLayout(this,0,
KDialog::spacingHint());
/*
TQVButtonGroup *box = new TQVButtonGroup( i18n("File Sharing"), this );
box->tqlayout()->setSpacing( KDialog::spacingHint() );
tqlayout->addWidget(box);
box->layout()->setSpacing( KDialog::spacingHint() );
layout->addWidget(box);
noSharing=new TQRadioButton( i18n("Do &not allow users to share files"), box );
sharing=new TQRadioButton( i18n("&Allow users to share files from their HOME folder"), box);
*/
@ -106,7 +106,7 @@ KFileShareConfig::KFileShareConfig(TQWidget *parent, const char *name, const TQS
}
m_ccgui->infoLbl->hide();
tqlayout->addWidget(m_ccgui);
layout->addWidget(m_ccgui);
updateShareListView();
connect( KNFSShare::instance(), TQT_SIGNAL( changed()),
this, TQT_SLOT(updateShareListView()));

@ -124,7 +124,7 @@
</widget>
<widget class="TQLayoutWidget">
<property name="name">
<cstring>tqlayout2</cstring>
<cstring>layout2</cstring>
</property>
<hbox>
<property name="name">

@ -24,7 +24,7 @@
#include <tdelibs_export.h>
/**
* @short A replacement for TQLabel that supports richtext and proper tqlayout management
* @short A replacement for TQLabel that supports richtext and proper layout management
*
* @author Waldo Bastian <bastian@kde.org>
*/

@ -388,14 +388,14 @@ void MatchView::buildPopupMenu(TQListViewItem *i, const TQPoint &_point, int)
rightBtnMenu->insertSeparator();
}
kapp->tqclipboard()->setSelectionMode(false);
TQString text = kapp->tqclipboard()->text();
kapp->clipboard()->setSelectionMode(false);
TQString text = kapp->clipboard()->text();
if (text.isEmpty()) {
kapp->tqclipboard()->setSelectionMode(true);
text = kapp->tqclipboard()->text();
kapp->clipboard()->setSelectionMode(true);
text = kapp->clipboard()->text();
}
if (!text.isEmpty()) {
popupClip = kapp->tqclipboard()->text();
popupClip = kapp->clipboard()->text();
rightBtnMenu->insertItem(i18n("Match &Clipboard Content"),this,TQT_SLOT(popupMatchClip()));
rightBtnMenu->insertItem(SmallIcon("define_clip"),i18n("D&efine Clipboard Content"),this,TQT_SLOT(popupDefineClip()));
rightBtnMenu->insertSeparator();

@ -276,7 +276,7 @@ void QueryView::selectAll()
void QueryView::copySelection()
{
kapp->tqclipboard()->setText(part->selectedText());
kapp->clipboard()->setText(part->selectedText());
}
@ -441,14 +441,14 @@ void QueryView::buildPopupMenu(const TQString &url, const TQPoint &point)
this,TQT_SLOT(popupMatchSelect()));
rightBtnMenu->insertSeparator();
} else {
kapp->tqclipboard()->setSelectionMode(false);
TQString text = kapp->tqclipboard()->text();
kapp->clipboard()->setSelectionMode(false);
TQString text = kapp->clipboard()->text();
if (text.isEmpty()) {
kapp->tqclipboard()->setSelectionMode(true);
text = kapp->tqclipboard()->text();
kapp->clipboard()->setSelectionMode(true);
text = kapp->clipboard()->text();
}
if (!text.isEmpty()) {
popupSelect = TQApplication::tqclipboard()->text();
popupSelect = TQApplication::clipboard()->text();
rightBtnMenu->insertItem(SmallIcon("define_clip"),
i18n("&Define Clipboard Content"),
this,TQT_SLOT(popupDefineSelect()));

@ -260,11 +260,11 @@ void TopLevel::define(const TQString &query)
void TopLevel::defineClipboard()
{
kdDebug(5004) << "TopLevel::defineClipboard()" << endl;
kapp->tqclipboard()->setSelectionMode(true);
TQString text = kapp->tqclipboard()->text();
kapp->clipboard()->setSelectionMode(true);
TQString text = kapp->clipboard()->text();
if (text.isEmpty()) {
kapp->tqclipboard()->setSelectionMode(false);
text = kapp->tqclipboard()->text();
kapp->clipboard()->setSelectionMode(false);
text = kapp->clipboard()->text();
}
define(text);
}
@ -281,11 +281,11 @@ void TopLevel::match(const TQString &query)
void TopLevel::matchClipboard()
{
kdDebug(5004) << "TopLevel::matchClipboard()" << endl;
kapp->tqclipboard()->setSelectionMode(true);
TQString text = kapp->tqclipboard()->text();
kapp->clipboard()->setSelectionMode(true);
TQString text = kapp->clipboard()->text();
if (text.isEmpty()) {
kapp->tqclipboard()->setSelectionMode(false);
text = kapp->tqclipboard()->text();
kapp->clipboard()->setSelectionMode(false);
text = kapp->clipboard()->text();
}
match(text);
}

@ -21,7 +21,7 @@
</property>
<widget class="TQLayoutWidget" row="0" column="0" rowspan="1" colspan="2">
<property name="name">
<cstring>tqlayout1</cstring>
<cstring>layout1</cstring>
</property>
<grid>
<property name="name">
@ -106,7 +106,7 @@
</widget>
<widget class="TQLayoutWidget" row="3" column="0" rowspan="1" colspan="2">
<property name="name">
<cstring>tqlayout12</cstring>
<cstring>layout12</cstring>
</property>
<hbox>
<property name="name">

@ -56,7 +56,7 @@ KGetLinkView::KGetLinkView( TQWidget *parent, const char *name )
actionSelectAll->plug( toolBar() );
TQWidget *mainWidget = new TQWidget( this );
TQVBoxLayout *tqlayout = new TQVBoxLayout( mainWidget );
TQVBoxLayout *layout = new TQVBoxLayout( mainWidget );
setCentralWidget( mainWidget );
m_view = new KListView( mainWidget, "listview" );
@ -68,8 +68,8 @@ KGetLinkView::KGetLinkView( TQWidget *parent, const char *name )
m_view->setShowSortIndicator( true );
KListViewSearchLineWidget *line = new KListViewSearchLineWidget( m_view, mainWidget, "search line" );
tqlayout->addWidget( line );
tqlayout->addWidget( m_view );
layout->addWidget( line );
layout->addWidget( m_view );
// setting a fixed (not floating) toolbar
toolBar()->setMovingEnabled( false );

@ -151,7 +151,7 @@ KMainWidget::KMainWidget(bool bStartDocked)
logFileName = locateLocal("appdata", "logs/");
logFileName += tmp;
lastClipboard = TQApplication::tqclipboard()->text( TQClipboard::Clipboard ).stripWhiteSpace();
lastClipboard = TQApplication::clipboard()->text( TQClipboard::Clipboard ).stripWhiteSpace();
// Load all settings from KConfig
ksettings.load();
@ -997,7 +997,7 @@ void KMainWidget::slotCheckClipboard()
//sDebugIn << endl;
#endif
TQString clipData = TQApplication::tqclipboard()->text( TQClipboard::Clipboard ).stripWhiteSpace();
TQString clipData = TQApplication::clipboard()->text( TQClipboard::Clipboard ).stripWhiteSpace();
if (clipData != lastClipboard) {
sDebug << "New clipboard event" << endl;
@ -1026,7 +1026,7 @@ void KMainWidget::slotPasteTransfer()
TQString newtransfer;
newtransfer = TQApplication::tqclipboard()->text();
newtransfer = TQApplication::clipboard()->text();
newtransfer = newtransfer.stripWhiteSpace();
if (!ksettings.b_expertMode) {
@ -1593,7 +1593,7 @@ void KMainWidget::slotCopyToClipboard()
if (item) {
TQString url = item->getSrc().url();
TQClipboard *cb = TQApplication::tqclipboard();
TQClipboard *cb = TQApplication::clipboard();
cb->setText( url, TQClipboard::Selection );
cb->setText( url, TQClipboard::Clipboard);
myTransferList->clearSelection();

@ -75,7 +75,7 @@ TransferList::TransferList(TQWidget * parent, const char *name)
jobid=1;
// initial tqlayout
// initial layout
KConfig *config = KGlobal::config();
config->setGroup("ListView");
if ( config->readListEntry("ColumnWidths").isEmpty() )

@ -47,7 +47,7 @@ KNewsTicker::KNewsTicker(const TQString &cfgFile, Type t, int actions, TQWidget
I18N_NOOP("A news ticker applet."), KAboutData::License_BSD,
I18N_NOOP("(c) 2000, 2001 The KNewsTicker developers")))
{
TQHBoxLayout *tqlayout = new TQHBoxLayout(this);
TQHBoxLayout *layout = new TQHBoxLayout(this);
m_contextMenu = new KNewsTickerMenu(this);
connect(m_contextMenu, TQT_SIGNAL(aboutToHide()),
@ -59,10 +59,10 @@ KNewsTicker::KNewsTicker(const TQString &cfgFile, Type t, int actions, TQWidget
connect(m_arrowButton, TQT_SIGNAL(clicked()), TQT_SLOT(slotArrowButtonPressed()));
m_arrowButton->setFocusPolicy(TQ_NoFocus);
setupArrowButton();
tqlayout->addWidget(m_arrowButton);
layout->addWidget(m_arrowButton);
m_scroller = new NewsScroller(this, m_cfg);
tqlayout->addWidget(m_scroller);
layout->addWidget(m_scroller);
m_dcopClient->registerAs("knewsticker", false);
@ -257,21 +257,21 @@ void KNewsTicker::slotArrowButtonPressed()
void KNewsTicker::positionChange(Position)
{
delete tqlayout();
delete layout();
TQBoxLayout *tqlayout;
TQBoxLayout *layout;
if (orientation() ==Qt::Horizontal)
tqlayout = new TQHBoxLayout(this);
layout = new TQHBoxLayout(this);
else
tqlayout = new TQVBoxLayout(this);
layout = new TQVBoxLayout(this);
if (m_arrowButton) {
tqlayout->addWidget(m_arrowButton);
layout->addWidget(m_arrowButton);
setupArrowButton();
}
tqlayout->addWidget(m_scroller);
layout->addWidget(m_scroller);
}
void KNewsTicker::slotContextMenuAboutToHide()

@ -30,7 +30,7 @@
</property>
<widget class="TQLayoutWidget" row="0" column="0" rowspan="2" colspan="1">
<property name="name">
<cstring>tqlayout8</cstring>
<cstring>layout8</cstring>
</property>
<vbox>
<property name="name">

@ -44,7 +44,7 @@
</widget>
<widget class="TQLayoutWidget" row="1" column="1">
<property name="name">
<cstring>tqlayout3</cstring>
<cstring>layout3</cstring>
</property>
<hbox>
<property name="name">

@ -46,7 +46,7 @@
</widget>
<widget class="TQLayoutWidget" row="1" column="1">
<property name="name">
<cstring>tqlayout3</cstring>
<cstring>layout3</cstring>
</property>
<hbox>
<property name="name">

@ -28,7 +28,7 @@
</property>
<widget class="TQLayoutWidget">
<property name="name">
<cstring>tqlayout21</cstring>
<cstring>layout21</cstring>
</property>
<vbox>
<property name="name">
@ -66,7 +66,7 @@
</widget>
<widget class="TQLayoutWidget">
<property name="name">
<cstring>tqlayout19</cstring>
<cstring>layout19</cstring>
</property>
<vbox>
<property name="name">
@ -130,7 +130,7 @@
</property>
<widget class="TQLayoutWidget">
<property name="name">
<cstring>tqlayout21_2</cstring>
<cstring>layout21_2</cstring>
</property>
<vbox>
<property name="name">
@ -168,7 +168,7 @@
</widget>
<widget class="TQLayoutWidget">
<property name="name">
<cstring>tqlayout25</cstring>
<cstring>layout25</cstring>
</property>
<vbox>
<property name="name">

@ -955,13 +955,13 @@ void ChatMessagePart::copy(bool justselection /* default false */)
htmltextdrag->setSubtype("html");
drag->addDragObject( htmltextdrag );
}
TQApplication::tqclipboard()->setData( drag, TQClipboard::Clipboard );
TQApplication::clipboard()->setData( drag, TQClipboard::Clipboard );
}
TQApplication::tqclipboard()->setText( text, TQClipboard::Selection );
TQApplication::clipboard()->setText( text, TQClipboard::Selection );
#else
if(!justselection)
TQApplication::tqclipboard()->setText( text, TQClipboard::Clipboard );
TQApplication::tqclipboard()->setText( text, TQClipboard::Selection );
TQApplication::clipboard()->setText( text, TQClipboard::Clipboard );
TQApplication::clipboard()->setText( text, TQClipboard::Selection );
#endif
connect( kapp->clipboard(), TQT_SIGNAL( selectionChanged()), TQT_SLOT( slotClearSelection()));
@ -1130,7 +1130,7 @@ TQString ChatMessagePart::formatStyleKeywords( const TQString &sourceHTML, const
// hash contactId to deterministically pick a color for the contact
int hash = 0;
for( uint f = 0; f < contactId.length(); ++f )
hash += contactId[f].tqunicode() * f;
hash += contactId[f].unicode() * f;
const TQString colorName = nameColors[ hash % nameColorsLen ];
TQString lightColorName; // Do not initialize, TQColor::name() is expensive!
kdDebug(14000) << k_funcinfo << "Hash " << hash << " has color " << colorName << endl;

@ -317,7 +317,7 @@ void ChatView::makeVisible()
if ( !m_mainWindow->isVisible() )
{
m_mainWindow->show();
// scroll down post show and tqlayout, otherwise the geometry is wrong to scroll to the bottom.
// scroll down post show and layout, otherwise the geometry is wrong to scroll to the bottom.
m_messagePart->keepScrolledDown();
}

@ -140,7 +140,7 @@ The icon of every contact of this account will be coloured with this color. Usef
</spacer>
<widget class="TQLayoutWidget" row="7" column="1" rowspan="1" colspan="2">
<property name="name">
<cstring>tqlayout27</cstring>
<cstring>layout27</cstring>
</property>
<grid>
<property name="name">

@ -96,7 +96,7 @@
</widget>
<widget class="TQLayoutWidget" row="2" column="0" rowspan="1" colspan="2">
<property name="name">
<cstring>tqlayout10</cstring>
<cstring>layout10</cstring>
</property>
<hbox>
<property name="name">

@ -203,7 +203,7 @@
</widget>
<widget class="TQLayoutWidget">
<property name="name">
<cstring>tqlayout9</cstring>
<cstring>layout9</cstring>
</property>
<hbox>
<property name="name">
@ -228,7 +228,7 @@
</spacer>
<widget class="TQLayoutWidget">
<property name="name">
<cstring>tqlayout8</cstring>
<cstring>layout8</cstring>
</property>
<vbox>
<property name="name">
@ -236,7 +236,7 @@
</property>
<widget class="TQLayoutWidget">
<property name="name">
<cstring>tqlayout5</cstring>
<cstring>layout5</cstring>
</property>
<hbox>
<property name="name">
@ -265,7 +265,7 @@
</widget>
<widget class="TQLayoutWidget">
<property name="name">
<cstring>tqlayout6</cstring>
<cstring>layout6</cstring>
</property>
<hbox>
<property name="name">
@ -294,7 +294,7 @@
</widget>
<widget class="TQLayoutWidget">
<property name="name">
<cstring>tqlayout7</cstring>
<cstring>layout7</cstring>
</property>
<hbox>
<property name="name">
@ -327,7 +327,7 @@
</widget>
<widget class="TQLayoutWidget">
<property name="name">
<cstring>tqlayout6</cstring>
<cstring>layout6</cstring>
</property>
<grid>
<property name="name">

@ -21,7 +21,7 @@
</property>
<widget class="TQLayoutWidget">
<property name="name">
<cstring>tqlayout4</cstring>
<cstring>layout4</cstring>
</property>
<hbox>
<property name="name">
@ -56,7 +56,7 @@
</widget>
<widget class="TQLayoutWidget">
<property name="name">
<cstring>tqlayout3</cstring>
<cstring>layout3</cstring>
</property>
<hbox>
<property name="name">
@ -248,7 +248,7 @@
</widget>
<widget class="TQLayoutWidget">
<property name="name">
<cstring>tqlayout2</cstring>
<cstring>layout2</cstring>
</property>
<hbox>
<property name="name">
@ -328,7 +328,7 @@
</widget>
<widget class="TQLayoutWidget">
<property name="name">
<cstring>tqlayout8</cstring>
<cstring>layout8</cstring>
</property>
<hbox>
<property name="name">

@ -92,7 +92,7 @@
</widget>
<widget class="TQLayoutWidget">
<property name="name">
<cstring>tqlayout2</cstring>
<cstring>layout2</cstring>
</property>
<hbox>
<property name="name">

@ -21,7 +21,7 @@
</property>
<widget class="TQLayoutWidget" row="0" column="1">
<property name="name">
<cstring>tqlayout5</cstring>
<cstring>layout5</cstring>
</property>
<vbox>
<property name="name">

@ -59,7 +59,7 @@
</widget>
<widget class="TQLayoutWidget" row="3" column="0">
<property name="name">
<cstring>tqlayout5</cstring>
<cstring>layout5</cstring>
</property>
<hbox>
<property name="name">
@ -89,7 +89,7 @@
</widget>
<widget class="TQLayoutWidget">
<property name="name">
<cstring>tqlayout4</cstring>
<cstring>layout4</cstring>
</property>
<vbox>
<property name="name">
@ -114,7 +114,7 @@
</spacer>
<widget class="TQLayoutWidget">
<property name="name">
<cstring>tqlayout1</cstring>
<cstring>layout1</cstring>
</property>
<grid>
<property name="name">

@ -198,7 +198,7 @@
</property>
<widget class="TQLayoutWidget" row="0" column="0">
<property name="name">
<cstring>tqlayout11</cstring>
<cstring>layout11</cstring>
</property>
<hbox>
<property name="name">
@ -206,7 +206,7 @@
</property>
<widget class="TQLayoutWidget">
<property name="name">
<cstring>tqlayout9</cstring>
<cstring>layout9</cstring>
</property>
<vbox>
<property name="name">
@ -296,7 +296,7 @@
</widget>
<widget class="TQLayoutWidget">
<property name="name">
<cstring>tqlayout10</cstring>
<cstring>layout10</cstring>
</property>
<vbox>
<property name="name">
@ -448,7 +448,7 @@
</property>
<widget class="TQLayoutWidget" row="0" column="0">
<property name="name">
<cstring>tqlayout8</cstring>
<cstring>layout8</cstring>
</property>
<vbox>
<property name="name">
@ -536,7 +536,7 @@
</widget>
<widget class="TQLayoutWidget" row="0" column="0">
<property name="name">
<cstring>tqlayout19</cstring>
<cstring>layout19</cstring>
</property>
<hbox>
<property name="name">

@ -182,7 +182,7 @@
</widget>
<widget class="TQLayoutWidget" row="6" column="0">
<property name="name">
<cstring>tqlayout3</cstring>
<cstring>layout3</cstring>
</property>
<hbox>
<property name="name">
@ -231,7 +231,7 @@
</widget>
<widget class="TQLayoutWidget" row="7" column="0">
<property name="name">
<cstring>tqlayout4</cstring>
<cstring>layout4</cstring>
</property>
<hbox>
<property name="name">

@ -46,7 +46,7 @@
</widget>
<widget class="TQLayoutWidget">
<property name="name">
<cstring>tqlayout11_2</cstring>
<cstring>layout11_2</cstring>
</property>
<hbox>
<property name="name">
@ -104,7 +104,7 @@
</widget>
<widget class="TQLayoutWidget">
<property name="name">
<cstring>tqlayout11</cstring>
<cstring>layout11</cstring>
</property>
<hbox>
<property name="name">
@ -148,7 +148,7 @@
</widget>
<widget class="TQLayoutWidget">
<property name="name">
<cstring>tqlayout7</cstring>
<cstring>layout7</cstring>
</property>
<hbox>
<property name="name">

@ -111,7 +111,7 @@
</widget>
<widget class="TQLayoutWidget">
<property name="name">
<cstring>tqlayout3</cstring>
<cstring>layout3</cstring>
</property>
<hbox>
<property name="name">
@ -226,7 +226,7 @@
</widget>
<widget class="TQLayoutWidget">
<property name="name">
<cstring>tqlayout3</cstring>
<cstring>layout3</cstring>
</property>
<hbox>
<property name="name">

@ -27,7 +27,7 @@
</widget>
<widget class="TQLayoutWidget">
<property name="name">
<cstring>tqlayout6</cstring>
<cstring>layout6</cstring>
</property>
<hbox>
<property name="name">
@ -61,7 +61,7 @@
</widget>
<widget class="TQLayoutWidget">
<property name="name">
<cstring>tqlayout7</cstring>
<cstring>layout7</cstring>
</property>
<hbox>
<property name="name">
@ -138,7 +138,7 @@
</property>
<widget class="TQLayoutWidget" row="0" column="0">
<property name="name">
<cstring>tqlayout12</cstring>
<cstring>layout12</cstring>
</property>
<vbox>
<property name="name">
@ -242,7 +242,7 @@
</property>
<widget class="TQLayoutWidget">
<property name="name">
<cstring>tqlayout7</cstring>
<cstring>layout7</cstring>
</property>
<grid>
<property name="name">
@ -316,7 +316,7 @@
</widget>
<widget class="TQLayoutWidget">
<property name="name">
<cstring>tqlayout11</cstring>
<cstring>layout11</cstring>
</property>
<vbox>
<property name="name">
@ -424,7 +424,7 @@
</property>
<widget class="TQLayoutWidget">
<property name="name">
<cstring>tqlayout7</cstring>
<cstring>layout7</cstring>
</property>
<hbox>
<property name="name">

@ -18,7 +18,7 @@
</property>
<widget class="TQLayoutWidget">
<property name="name">
<cstring>tqlayout13</cstring>
<cstring>layout13</cstring>
</property>
<hbox>
<property name="name">
@ -47,7 +47,7 @@
</widget>
<widget class="TQLayoutWidget">
<property name="name">
<cstring>tqlayout12</cstring>
<cstring>layout12</cstring>
</property>
<grid>
<property name="name">

@ -135,7 +135,7 @@
</widget>
<widget class="TQLayoutWidget">
<property name="name">
<cstring>tqlayout3</cstring>
<cstring>layout3</cstring>
</property>
<hbox>
<property name="name">

@ -36,7 +36,7 @@
</property>
<widget class="TQLayoutWidget">
<property name="name">
<cstring>tqlayout7</cstring>
<cstring>layout7</cstring>
</property>
<hbox>
<property name="name">

@ -157,10 +157,10 @@ KopeteMetaLVIProps::KopeteMetaLVIProps(KopeteMetaContactLVI *lvi, TQWidget *pare
mNotificationProps = new CustomNotificationProps( this, lvi->metaContact() );
// add a button to the notification props to get the sound from KABC
// the widget's vert box tqlayout, horiz box tqlayout containing button, spacer, followed by a spacer
TQBoxLayout * vb = static_cast<TQVBoxLayout*>( mNotificationProps->widget()->tqlayout() );
// the widget's vert box layout, horiz box layout containing button, spacer, followed by a spacer
TQBoxLayout * vb = static_cast<TQVBoxLayout*>( mNotificationProps->widget()->layout() );
TQHBoxLayout* hb = new TQHBoxLayout( vb, -1, "soundFromKABCtqlayout" );
TQHBoxLayout* hb = new TQHBoxLayout( vb, -1, "soundFromKABClayout" );
mFromKABC = new TQPushButton( i18n( "Sync KABC..." ), mNotificationProps->widget(), "getSoundFromKABC" );
hb->addWidget( mFromKABC ); // [ [Button] <-xxxxx-> ]
hb->addStretch();

@ -60,7 +60,7 @@
</widget>
<widget class="TQLayoutWidget">
<property name="name">
<cstring>tqlayout8</cstring>
<cstring>layout8</cstring>
</property>
<hbox>
<property name="name">
@ -136,7 +136,7 @@
</widget>
<widget class="TQLayoutWidget">
<property name="name">
<cstring>tqlayout11</cstring>
<cstring>layout11</cstring>
</property>
<hbox>
<property name="name">
@ -187,7 +187,7 @@
</widget>
<widget class="TQLayoutWidget">
<property name="name">
<cstring>tqlayout12</cstring>
<cstring>layout12</cstring>
</property>
<hbox>
<property name="name">
@ -277,7 +277,7 @@
</widget>
<widget class="TQLayoutWidget" row="1" column="0">
<property name="name">
<cstring>tqlayout13</cstring>
<cstring>layout13</cstring>
</property>
<hbox>
<property name="name">
@ -328,7 +328,7 @@
</widget>
<widget class="TQLayoutWidget" row="2" column="0">
<property name="name">
<cstring>tqlayout7</cstring>
<cstring>layout7</cstring>
</property>
<hbox>
<property name="name">

@ -35,7 +35,7 @@
</widget>
<widget class="TQLayoutWidget">
<property name="name">
<cstring>tqlayout13</cstring>
<cstring>layout13</cstring>
</property>
<grid>
<property name="name">

@ -46,8 +46,8 @@ TQString cryptStr(const TQString &aStr)
{
TQString result;
for (unsigned int i = 0; i < aStr.length(); i++)
result += (aStr[i].tqunicode() < 0x20) ? aStr[i] :
TQChar(0x1001F - aStr[i].tqunicode());
result += (aStr[i].unicode() < 0x20) ? aStr[i] :
TQChar(0x1001F - aStr[i].unicode());
return result;
}

@ -193,7 +193,7 @@ void Protocol::slotMetaContactAboutToSave( MetaContact *metaContact )
{
// The Unicode chars E000-F800 are non-printable and reserved for
// private use in applications. For more details, see also
// http://www.tqunicode.org/charts/PDF/UE000.pdf.
// http://www.unicode.org/charts/PDF/UE000.pdf.
// Inside libkabc the use of TQChar( 0xE000 ) has been standardized
// as separator for the string lists, use this also for the 'normal'
// serialized data.

@ -21,7 +21,7 @@
</property>
<widget class="TQLayoutWidget">
<property name="name">
<cstring>tqlayout9</cstring>
<cstring>layout9</cstring>
</property>
<hbox>
<property name="name">

@ -128,7 +128,7 @@
</widget>
<widget class="TQLayoutWidget" row="1" column="0" rowspan="1" colspan="2">
<property name="name">
<cstring>tqlayout1</cstring>
<cstring>layout1</cstring>
</property>
<hbox>
<property name="name">

@ -30,7 +30,7 @@
</widget>
<widget class="TQLayoutWidget">
<property name="name">
<cstring>tqlayout2</cstring>
<cstring>layout2</cstring>
</property>
<hbox>
<property name="name">
@ -98,7 +98,7 @@
</property>
<widget class="TQLayoutWidget">
<property name="name">
<cstring>tqlayout19</cstring>
<cstring>layout19</cstring>
</property>
<hbox>
<property name="name">
@ -135,7 +135,7 @@ Leave it empty if you want to see the contact nickname as display name.</string>
</widget>
<widget class="TQLayoutWidget">
<property name="name">
<cstring>tqlayout6</cstring>
<cstring>layout6</cstring>
</property>
<hbox>
<property name="name">
@ -183,7 +183,7 @@ Leave it empty if you want to see the contact nickname as display name.</string>
</widget>
<widget class="TQLayoutWidget">
<property name="name">
<cstring>tqlayout11</cstring>
<cstring>layout11</cstring>
</property>
<hbox>
<property name="name">

@ -174,7 +174,7 @@ void ListView::setShowTreeLines( bool bShowAsTree )
setRootIsDecorated( false );
setTreeStepSize( 0 );
}
// TODO: retqlayout all items. their width may have changed, but they won't know about it.
// TODO: relayout all items. their width may have changed, but they won't know about it.
}
/* This is a small hack ensuring that only F2 triggers inline

@ -236,7 +236,7 @@ bool Component::setMinHeight( int height )
return true;
}
void Component::tqlayout( const TQRect &newRect )
void Component::layout( const TQRect &newRect )
{
if ( rect().isNull() )
d->startRect = TQRect( newRect.topLeft(), newRect.topLeft() );
@ -267,21 +267,21 @@ void Component::repaint()
d->parent->repaint();
}
void Component::retqlayout()
void Component::relayout()
{
d->parent->retqlayout();
d->parent->relayout();
}
void Component::componentAdded( Component *component )
{
ComponentBase::componentAdded( component );
//update( Retqlayout );
//update( Relayout );
}
void Component::componentRemoved( Component *component )
{
ComponentBase::componentRemoved( component );
//update( Retqlayout );
//update( Relayout );
}
// BoxComponent --------
@ -376,12 +376,12 @@ void BoxComponent::calcMinSize()
if ( sizeChanged )
repaint();
else
retqlayout();
relayout();
}
void BoxComponent::tqlayout( const TQRect &rect )
void BoxComponent::layout( const TQRect &rect )
{
Component::tqlayout( rect );
Component::layout( rect );
bool horiz = (d->direction ==Qt::Horizontal);
int fixedSize = 0;
@ -437,7 +437,7 @@ void BoxComponent::tqlayout( const TQRect &rect )
pos += rc.height();
remaining -= rc.height() - minHeight;
}
comp->tqlayout( rc & rect );
comp->layout( rc & rect );
pos += padding;
}
}
@ -518,7 +518,7 @@ void ContactBoxComponent::reloadTheme()
d->bottom_pixmap.load(str);
}
void ContactBoxComponent::tqlayout(const TQRect &rect)
void ContactBoxComponent::layout(const TQRect &rect)
{
d->sub.setLeft(rect.left() +
d->left_pixmap.width());
@ -529,8 +529,8 @@ void ContactBoxComponent::tqlayout(const TQRect &rect)
d->sub.setBottom(rect.bottom() -
d->bottom_pixmap.height());
BoxComponent::tqlayout(d->sub);
Component::tqlayout(rect);
BoxComponent::layout(d->sub);
Component::layout(rect);
}
int ContactBoxComponent::widthForHeight(int height)
@ -661,7 +661,7 @@ void GroupBoxComponent::reloadTheme()
d->bottom_pixmap.load(str);
}
void GroupBoxComponent::tqlayout(const TQRect &rect)
void GroupBoxComponent::layout(const TQRect &rect)
{
d->sub.setLeft(rect.left() +
d->left_pixmap.width());
@ -672,8 +672,8 @@ void GroupBoxComponent::tqlayout(const TQRect &rect)
d->sub.setBottom(rect.bottom() -
d->bottom_pixmap.height());
BoxComponent::tqlayout(d->sub);
Component::tqlayout(rect);
BoxComponent::layout(d->sub);
Component::layout(rect);
}
int GroupBoxComponent::widthForHeight(int height)
@ -881,7 +881,7 @@ void TextComponent::setText( const TQString &text )
{
if ( text == d->text ) return;
d->text = text;
retqlayout();
relayout();
calcMinSize();
}
@ -968,9 +968,9 @@ DisplayNameComponent::~DisplayNameComponent()
delete d;
}
void DisplayNameComponent::tqlayout( const TQRect &rect )
void DisplayNameComponent::layout( const TQRect &rect )
{
Component::tqlayout( rect );
Component::layout( rect );
// finally, lay everything out
TQRect rc;
@ -989,7 +989,7 @@ void DisplayNameComponent::tqlayout( const TQRect &rect )
if ( comp->rtti() == Rtti_TextComponent )
{
comp->show();
comp->tqlayout( TQRect( usedWidth+ rect.left(), rect.top(),
comp->layout( TQRect( usedWidth+ rect.left(), rect.top(),
totalWidth - usedWidth,
comp->heightForWidth( totalWidth - usedWidth ) ) );
} else {
@ -999,7 +999,7 @@ void DisplayNameComponent::tqlayout( const TQRect &rect )
else
{
comp->show();
comp->tqlayout( TQRect( usedWidth+ rect.left(), rect.top(),
comp->layout( TQRect( usedWidth+ rect.left(), rect.top(),
comp->widthForHeight( rect.height() ),
comp->heightForWidth( rect.width() ) ) );
}
@ -1316,13 +1316,13 @@ void Item::initLVI()
void Item::slotColumnResized()
{
scheduleLayout();
// if we've been resized, don't animate the tqlayout
// if we've been resized, don't animate the layout
d->animateLayout = false;
}
void Item::scheduleLayout()
{
// perform a delayed tqlayout in order to speed it all up
// perform a delayed layout in order to speed it all up
if ( ! d->layoutTimer.isActive() )
d->layoutTimer.start( 30, true );
}
@ -1341,7 +1341,7 @@ void Item::slotLayoutItems()
}
int height = component( n )->heightForWidth( width );
component( n )->tqlayout( TQRect( 0, 0, width, height ) );
component( n )->layout( TQRect( 0, 0, width, height ) );
//kdDebug(14000) << k_funcinfo << "Component " << n << " is " << width << " x " << height << endl;
}
@ -1456,13 +1456,13 @@ void Item::slotUpdateVisibility()
void Item::repaint()
{
// if we're about to retqlayout, don't bother painting yet.
// if we're about to relayout, don't bother painting yet.
if ( d->layoutTimer.isActive() )
return;
listView()->repaintItem( this );
}
void Item::retqlayout()
void Item::relayout()
{
scheduleLayout();
}
@ -1540,7 +1540,7 @@ void Item::paintCell( TQPainter *p, const TQColorGroup &cg, int column, int widt
if ( lv->isEnabled() )
how |= TQStyle::Style_Enabled;
lv->tqstyle().drawComplexControl( TQStyle::CC_ListView,
lv->style().drawComplexControl( TQStyle::CC_ListView,
p, lv, TQRect( 0, 0, width, height() ), lv->colorGroup(),
how, TQStyle::SC_ListView, TQStyle::SC_None,
opt );
@ -1565,7 +1565,7 @@ void Item::paintCell( TQPainter *p, const TQColorGroup &cg, int column, int widt
textheight++;
if ( textheight < height() ) {
int w = lv->treeStepSize() / 2;
lv->tqstyle().drawComplexControl( TQStyle::CC_ListView, p, lv,
lv->style().drawComplexControl( TQStyle::CC_ListView, p, lv,
TQRect( 0, textheight, w + 1, height() - textheight + 1 ), _cg,
lv->isEnabled() ? TQStyle::Style_Enabled : TQStyle::Style_Default,
TQStyle::SC_ListViewExpand,

@ -45,8 +45,8 @@ public:
/** Repaint this item */
virtual void repaint() = 0;
/** Retqlayout this item */
virtual void retqlayout() = 0;
/** Relayout this item */
virtual void relayout() = 0;
/**
* Get the tool tip string and rectangle for a tip request at position
@ -112,7 +112,7 @@ public:
* @param rect the new rectangle this component will paint in, relative to the painter
* passed to the paint() function by the parent item.
*/
virtual void tqlayout( const TQRect &rect );
virtual void layout( const TQRect &rect );
/**
* Paint this item, inside the rectangle returned by rect().
@ -121,7 +121,7 @@ public:
virtual void paint( TQPainter *painter, const TQColorGroup &cg );
void repaint();
void retqlayout();
void relayout();
/**
* @return the rect this component was allocated last time it was laid out
@ -196,19 +196,19 @@ public:
protected:
/**
* Change the minimum width, in pixels, this component requires in order
* to be at all useful. Note: do not call this from your tqlayout() function.
* to be at all useful. Note: do not call this from your layout() function.
* @param width the minimum width
* @return true if the size has actually changed, false if it's been set to
* the existing values. if it returns true, you do not need to retqlayout,
* the existing values. if it returns true, you do not need to relayout,
* since the parent component will do that for you.
*/
bool setMinWidth( int width );
/**
* Change the minimum height, in pixels, this component requires in order
* to be at all useful. Note: do not call this from your tqlayout() function.
* to be at all useful. Note: do not call this from your layout() function.
* @param height the minimum height
* @return true if the size has actually changed, false if it's been set to
* the existing values. If it returns true, you do not need to retqlayout,
* the existing values. If it returns true, you do not need to relayout,
* since the parent component will do that for you.
*/
bool setMinHeight( int height );
@ -236,7 +236,7 @@ public:
BoxComponent( ComponentBase *parent, Direction dir =Horizontal );
~BoxComponent();
virtual void tqlayout( const TQRect &rect );
virtual void layout( const TQRect &rect );
virtual int widthForHeight( int height );
virtual int heightForWidth( int width );
@ -267,7 +267,7 @@ public:
virtual void reloadTheme();
virtual void tqlayout(const TQRect &rect);
virtual void layout(const TQRect &rect);
virtual int widthForHeight(int height);
virtual int heightForWidth(int width);
@ -290,7 +290,7 @@ public:
virtual void reloadTheme();
virtual void tqlayout(const TQRect &rect);
virtual void layout(const TQRect &rect);
virtual int widthForHeight(int height);
virtual int heightForWidth(int width);
@ -406,7 +406,7 @@ public:
* Dtor
*/
~DisplayNameComponent();
void tqlayout( const TQRect& rect );
void layout( const TQRect& rect );
TQString text();
void setText( const TQString& text );
@ -461,7 +461,7 @@ public:
~Item();
void repaint();
void retqlayout();
void relayout();
void setup();
virtual void paintCell( TQPainter *p, const TQColorGroup &cg, int column, int width, int align );

@ -19,7 +19,7 @@
</property>
<widget class="TQLayoutWidget">
<property name="name">
<cstring>tqlayout3</cstring>
<cstring>layout3</cstring>
</property>
<hbox>
<property name="name">
@ -50,7 +50,7 @@
</widget>
<widget class="TQLayoutWidget">
<property name="name">
<cstring>tqlayout2</cstring>
<cstring>layout2</cstring>
</property>
<hbox>
<property name="name">

@ -42,7 +42,7 @@
</widget>
<widget class="TQLayoutWidget">
<property name="name">
<cstring>tqlayout2</cstring>
<cstring>layout2</cstring>
</property>
<hbox>
<property name="name">

@ -91,7 +91,7 @@
</property>
<widget class="TQLayoutWidget" row="1" column="1" rowspan="2" colspan="1">
<property name="name">
<cstring>tqlayout5</cstring>
<cstring>layout5</cstring>
</property>
<vbox>
<property name="name">
@ -157,7 +157,7 @@
</widget>
<widget class="TQLayoutWidget" row="0" column="0" rowspan="1" colspan="2">
<property name="name">
<cstring>tqlayout1</cstring>
<cstring>layout1</cstring>
</property>
<hbox>
<property name="name">

@ -137,7 +137,7 @@
</widget>
<widget class="TQLayoutWidget">
<property name="name">
<cstring>tqlayout3</cstring>
<cstring>layout3</cstring>
</property>
<hbox>
<property name="name">
@ -217,7 +217,7 @@
</property>
<widget class="TQLayoutWidget">
<property name="name">
<cstring>tqlayout4</cstring>
<cstring>layout4</cstring>
</property>
<hbox>
<property name="name">
@ -288,7 +288,7 @@
</widget>
<widget class="TQLayoutWidget">
<property name="name">
<cstring>tqlayout5</cstring>
<cstring>layout5</cstring>
</property>
<hbox>
<property name="name">
@ -339,7 +339,7 @@
</widget>
<widget class="TQLayoutWidget">
<property name="name">
<cstring>tqlayout6</cstring>
<cstring>layout6</cstring>
</property>
<hbox>
<property name="name">
@ -390,7 +390,7 @@
</widget>
<widget class="TQLayoutWidget">
<property name="name">
<cstring>tqlayout7</cstring>
<cstring>layout7</cstring>
</property>
<hbox>
<property name="name">
@ -413,7 +413,7 @@
</widget>
<widget class="TQLayoutWidget">
<property name="name">
<cstring>tqlayout8</cstring>
<cstring>layout8</cstring>
</property>
<hbox>
<property name="name">

@ -597,16 +597,16 @@ void HistoryDialog::slotCopy()
if ( qsSelection.isEmpty() ) return;
disconnect( kapp->clipboard(), TQT_SIGNAL( selectionChanged()), mHtmlPart, TQT_SLOT(slotClearSelection()));
TQApplication::tqclipboard()->setText(qsSelection, TQClipboard::Clipboard);
TQApplication::tqclipboard()->setText(qsSelection, TQClipboard::Selection);
TQApplication::clipboard()->setText(qsSelection, TQClipboard::Clipboard);
TQApplication::clipboard()->setText(qsSelection, TQClipboard::Selection);
connect( kapp->clipboard(), TQT_SIGNAL( selectionChanged()), mHtmlPart, TQT_SLOT(slotClearSelection()));
}
void HistoryDialog::slotCopyURL()
{
disconnect( kapp->clipboard(), TQT_SIGNAL( selectionChanged()), mHtmlPart, TQT_SLOT(slotClearSelection()));
TQApplication::tqclipboard()->setText( mURL, TQClipboard::Clipboard);
TQApplication::tqclipboard()->setText( mURL, TQClipboard::Selection);
TQApplication::clipboard()->setText( mURL, TQClipboard::Clipboard);
TQApplication::clipboard()->setText( mURL, TQClipboard::Selection);
connect( kapp->clipboard(), TQT_SIGNAL( selectionChanged()), mHtmlPart, TQT_SLOT(slotClearSelection()));
}

@ -35,7 +35,7 @@
</property>
<widget class="TQLayoutWidget" row="3" column="0">
<property name="name">
<cstring>tqlayout3</cstring>
<cstring>layout3</cstring>
</property>
<hbox>
<property name="name">
@ -64,7 +64,7 @@
</widget>
<widget class="TQLayoutWidget" row="2" column="0">
<property name="name">
<cstring>tqlayout8</cstring>
<cstring>layout8</cstring>
</property>
<hbox>
<property name="name">
@ -136,7 +136,7 @@
</property>
<widget class="TQLayoutWidget">
<property name="name">
<cstring>tqlayout5</cstring>
<cstring>layout5</cstring>
</property>
<vbox>
<property name="name">
@ -253,7 +253,7 @@
</widget>
<widget class="TQLayoutWidget" row="0" column="0">
<property name="name">
<cstring>tqlayout11</cstring>
<cstring>layout11</cstring>
</property>
<hbox>
<property name="name">

@ -59,7 +59,7 @@
</spacer>
<widget class="TQLayoutWidget" row="0" column="0">
<property name="name">
<cstring>tqlayout1</cstring>
<cstring>layout1</cstring>
</property>
<hbox>
<property name="name">
@ -94,7 +94,7 @@
</widget>
<widget class="TQLayoutWidget" row="1" column="0">
<property name="name">
<cstring>tqlayout2</cstring>
<cstring>layout2</cstring>
</property>
<hbox>
<property name="name">

@ -60,7 +60,7 @@
</property>
<widget class="TQLayoutWidget">
<property name="name">
<cstring>tqlayout21</cstring>
<cstring>layout21</cstring>
</property>
<hbox>
<property name="name">
@ -136,7 +136,7 @@
</property>
<widget class="TQLayoutWidget">
<property name="name">
<cstring>tqlayout5</cstring>
<cstring>layout5</cstring>
</property>
<hbox>
<property name="name">
@ -174,7 +174,7 @@
</widget>
<widget class="TQLayoutWidget">
<property name="name">
<cstring>tqlayout6</cstring>
<cstring>layout6</cstring>
</property>
<hbox>
<property name="name">
@ -212,7 +212,7 @@
</widget>
<widget class="TQLayoutWidget">
<property name="name">
<cstring>tqlayout16</cstring>
<cstring>layout16</cstring>
</property>
<hbox>
<property name="name">

@ -46,7 +46,7 @@ This is not the same as webcam chat you can find in the newer Windows Messenger
</widget>
<widget class="TQLayoutWidget">
<property name="name">
<cstring>tqlayout1</cstring>
<cstring>layout1</cstring>
</property>
<hbox>
<property name="name">

@ -64,7 +64,7 @@
</property>
<widget class="TQLayoutWidget">
<property name="name">
<cstring>tqlayout4</cstring>
<cstring>layout4</cstring>
</property>
<vbox>
<property name="name">
@ -92,7 +92,7 @@ Expressions in brackets depend on a substitution being made.</string>
</widget>
<widget class="TQLayoutWidget">
<property name="name">
<cstring>tqlayout2</cstring>
<cstring>layout2</cstring>
</property>
<vbox>
<property name="name">
@ -281,7 +281,7 @@ in place of your status message.</string>
</property>
<widget class="TQLayoutWidget">
<property name="name">
<cstring>tqlayout2_2</cstring>
<cstring>layout2_2</cstring>
</property>
<vbox>
<property name="name">

@ -37,7 +37,7 @@
</property>
<widget class="TQLayoutWidget">
<property name="name">
<cstring>tqlayout4</cstring>
<cstring>layout4</cstring>
</property>
<vbox>
<property name="name">

@ -60,7 +60,7 @@
</widget>
<widget class="TQLayoutWidget">
<property name="name">
<cstring>tqlayout14</cstring>
<cstring>layout14</cstring>
</property>
<hbox>
<property name="name">

@ -52,7 +52,7 @@
</property>
<widget class="TQLayoutWidget" row="0" column="0">
<property name="name">
<cstring>tqlayout11</cstring>
<cstring>layout11</cstring>
</property>
<hbox>
<property name="name">
@ -77,7 +77,7 @@
</spacer>
<widget class="TQLayoutWidget">
<property name="name">
<cstring>tqlayout9</cstring>
<cstring>layout9</cstring>
</property>
<vbox>
<property name="name">
@ -98,7 +98,7 @@
</widget>
<widget class="TQLayoutWidget">
<property name="name">
<cstring>tqlayout7</cstring>
<cstring>layout7</cstring>
</property>
<hbox>
<property name="name">
@ -172,7 +172,7 @@
</property>
<widget class="TQLayoutWidget" row="0" column="0">
<property name="name">
<cstring>tqlayout5</cstring>
<cstring>layout5</cstring>
</property>
<hbox>
<property name="name">

@ -17,7 +17,7 @@
* *
*************************************************************************
Patched by Francesco Rossi <redsh@email.it> in order to support new
google translation page tqlayout (13-sept-2007)
google translation page layout (13-sept-2007)
*/
#include <tqapplication.h>

@ -159,7 +159,7 @@ Note that some web browsers do not support XHTML. You should also make sure your
</widget>
<widget class="TQLayoutWidget">
<property name="name">
<cstring>tqlayout1</cstring>
<cstring>layout1</cstring>
</property>
<hbox>
<property name="name">
@ -260,7 +260,7 @@ images/winpopup_protocol.png</string>
</widget>
<widget class="TQLayoutWidget">
<property name="name">
<cstring>tqlayout2</cstring>
<cstring>layout2</cstring>
</property>
<hbox>
<property name="name">

@ -18,7 +18,7 @@
</property>
<widget class="TQLayoutWidget" row="0" column="0">
<property name="name">
<cstring>tqlayout39</cstring>
<cstring>layout39</cstring>
</property>
<hbox>
<property name="name">
@ -84,7 +84,7 @@
</widget>
<widget class="TQLayoutWidget" row="2" column="0">
<property name="name">
<cstring>tqlayout10</cstring>
<cstring>layout10</cstring>
</property>
<hbox>
<property name="name">
@ -92,7 +92,7 @@
</property>
<widget class="TQLayoutWidget">
<property name="name">
<cstring>tqlayout8</cstring>
<cstring>layout8</cstring>
</property>
<vbox>
<property name="name">
@ -223,7 +223,7 @@
</widget>
<widget class="TQLayoutWidget">
<property name="name">
<cstring>tqlayout9</cstring>
<cstring>layout9</cstring>
</property>
<vbox>
<property name="name">

@ -33,7 +33,7 @@
</property>
<widget class="TQLayoutWidget" row="0" column="0">
<property name="name">
<cstring>tqlayout3</cstring>
<cstring>layout3</cstring>
</property>
<vbox>
<property name="name">
@ -57,7 +57,7 @@ Choosing Offline status will disconnect you, with given description.</string>
</property>
<widget class="TQLayoutWidget" row="0" column="0">
<property name="name">
<cstring>tqlayout2</cstring>
<cstring>layout2</cstring>
</property>
<vbox>
<property name="name">
@ -137,7 +137,7 @@ Choosing Offline status will disconnect you, with given description.</string>
</widget>
<widget class="TQLayoutWidget">
<property name="name">
<cstring>tqlayout278</cstring>
<cstring>layout278</cstring>
</property>
<hbox>
<property name="name">

@ -58,7 +58,7 @@
</property>
<widget class="TQLayoutWidget">
<property name="name">
<cstring>tqlayout8</cstring>
<cstring>layout8</cstring>
</property>
<hbox>
<property name="name">
@ -265,7 +265,7 @@ If you do not currently have an account, please click the button to create one.<
</widget>
<widget class="TQLayoutWidget" row="3" column="0">
<property name="name">
<cstring>tqlayout65</cstring>
<cstring>layout65</cstring>
</property>
<hbox>
<property name="name">
@ -413,7 +413,7 @@ If you do not currently have an account, please click the button to create one.<
</property>
<widget class="TQLayoutWidget" row="0" column="0" rowspan="1" colspan="2">
<property name="name">
<cstring>tqlayout9</cstring>
<cstring>layout9</cstring>
</property>
<hbox>
<property name="name">
@ -421,7 +421,7 @@ If you do not currently have an account, please click the button to create one.<
</property>
<widget class="TQLayoutWidget">
<property name="name">
<cstring>tqlayout8</cstring>
<cstring>layout8</cstring>
</property>
<vbox>
<property name="name">
@ -479,7 +479,7 @@ If you do not currently have an account, please click the button to create one.<
</widget>
<widget class="TQLayoutWidget">
<property name="name">
<cstring>tqlayout7</cstring>
<cstring>layout7</cstring>
</property>
<vbox>
<property name="name">
@ -579,7 +579,7 @@ If you do not currently have an account, please click the button to create one.<
</spacer>
<widget class="TQLayoutWidget" row="2" column="0" rowspan="1" colspan="2">
<property name="name">
<cstring>tqlayout12</cstring>
<cstring>layout12</cstring>
</property>
<hbox>
<property name="name">
@ -587,7 +587,7 @@ If you do not currently have an account, please click the button to create one.<
</property>
<widget class="TQLayoutWidget">
<property name="name">
<cstring>tqlayout11</cstring>
<cstring>layout11</cstring>
</property>
<vbox>
<property name="name">
@ -613,7 +613,7 @@ If you do not currently have an account, please click the button to create one.<
</widget>
<widget class="TQLayoutWidget">
<property name="name">
<cstring>tqlayout10</cstring>
<cstring>layout10</cstring>
</property>
<vbox>
<property name="name">
@ -686,7 +686,7 @@ If you do not currently have an account, please click the button to create one.<
</widget>
<widget class="TQLayoutWidget">
<property name="name">
<cstring>tqlayout33</cstring>
<cstring>layout33</cstring>
</property>
<hbox>
<property name="name">
@ -694,7 +694,7 @@ If you do not currently have an account, please click the button to create one.<
</property>
<widget class="TQLayoutWidget">
<property name="name">
<cstring>tqlayout32</cstring>
<cstring>layout32</cstring>
</property>
<hbox>
<property name="name">

@ -21,7 +21,7 @@
</property>
<widget class="TQLayoutWidget">
<property name="name">
<cstring>tqlayout33</cstring>
<cstring>layout33</cstring>
</property>
<grid>
<property name="name">

@ -50,7 +50,7 @@
</property>
<widget class="TQLayoutWidget" row="1" column="0">
<property name="name">
<cstring>tqlayout38</cstring>
<cstring>layout38</cstring>
</property>
<vbox>
<property name="name">
@ -58,7 +58,7 @@
</property>
<widget class="TQLayoutWidget">
<property name="name">
<cstring>tqlayout36</cstring>
<cstring>layout36</cstring>
</property>
<vbox>
<property name="name">
@ -66,7 +66,7 @@
</property>
<widget class="TQLayoutWidget">
<property name="name">
<cstring>tqlayout31</cstring>
<cstring>layout31</cstring>
</property>
<hbox>
<property name="name">
@ -74,7 +74,7 @@
</property>
<widget class="TQLayoutWidget">
<property name="name">
<cstring>tqlayout29</cstring>
<cstring>layout29</cstring>
</property>
<vbox>
<property name="name">
@ -116,7 +116,7 @@
</widget>
<widget class="TQLayoutWidget">
<property name="name">
<cstring>tqlayout30</cstring>
<cstring>layout30</cstring>
</property>
<vbox>
<property name="name">
@ -148,7 +148,7 @@
</widget>
<widget class="TQLayoutWidget">
<property name="name">
<cstring>tqlayout34</cstring>
<cstring>layout34</cstring>
</property>
<hbox>
<property name="name">
@ -231,7 +231,7 @@
</widget>
<widget class="TQLayoutWidget">
<property name="name">
<cstring>tqlayout32</cstring>
<cstring>layout32</cstring>
</property>
<hbox>
<property name="name">
@ -282,7 +282,7 @@
</widget>
<widget class="TQLayoutWidget" row="3" column="0">
<property name="name">
<cstring>tqlayout37</cstring>
<cstring>layout37</cstring>
</property>
<vbox>
<property name="name">
@ -290,7 +290,7 @@
</property>
<widget class="TQLayoutWidget">
<property name="name">
<cstring>tqlayout33</cstring>
<cstring>layout33</cstring>
</property>
<hbox>
<property name="name">
@ -343,7 +343,7 @@
</widget>
<widget class="TQLayoutWidget" row="5" column="0">
<property name="name">
<cstring>tqlayout35</cstring>
<cstring>layout35</cstring>
</property>
<hbox>
<property name="name">

@ -24,7 +24,7 @@
</property>
<widget class="TQLayoutWidget">
<property name="name">
<cstring>tqlayout2</cstring>
<cstring>layout2</cstring>
</property>
<hbox>
<property name="name">

@ -254,7 +254,7 @@ TQString GroupWiseProtocol::rtfizeText( const TQString & plain )
}
index += bytesEncoded;
escapedUnicodeChar = TQString("\\u%1?").arg( ucs4Char );
kdDebug( GROUPWISE_DEBUG_GLOBAL ) << "tqunicode escaped char: " << escapedUnicodeChar << endl;
kdDebug( GROUPWISE_DEBUG_GLOBAL ) << "unicode escaped char: " << escapedUnicodeChar << endl;
outputText.append( escapedUnicodeChar );
}
}

@ -108,7 +108,7 @@ class Transfer;
* any of three ways -
* ascii text,
* latin1 as hexadecimal,
* escaped tqunicode code points (encoded/escaped as \uUNICODEVALUE?, with or without a space between the end of the tqunicode value and the ? )
* escaped unicode code points (encoded/escaped as \uUNICODEVALUE?, with or without a space between the end of the unicode value and the ? )
* Outgoing messages may contain rich text, and additionally the plain text encoded as UTF8, but this plain payload is apparently ignored by the server
*
*/

@ -50,7 +50,7 @@ class EventTransfer;
All Events contain an event code, and a source ( a DN )
NOTHANDLED indicates that there is no further data and we don't handle events of that type, because they are not sent by the server
NONE indicates there is no further data
STATUSTEXT, GUID, MESSAGE indicate a string encoded in the usual GroupWise binary string encoding: a UINT32 containing the string length in little-endian, followed by the string itself, as UTF-8 encoded tqunicode. The string length value includes a terminating NUL, so when converting to a TQString, subtract one from the string length.
STATUSTEXT, GUID, MESSAGE indicate a string encoded in the usual GroupWise binary string encoding: a UINT32 containing the string length in little-endian, followed by the string itself, as UTF-8 encoded unicode. The string length value includes a terminating NUL, so when converting to a TQString, subtract one from the string length.
FLAGS contains a UINT32 containing the server's flags for this conference. See gwerror.h for the possible values and meanings of these flags. Only Logging has been observed in practice.
All events are timestamped with the local time on receipt.

@ -248,7 +248,7 @@ bool ResponseProtocol::readFields( int fieldCount, Field::FieldList * list )
m_packetState = ProtocolError;
break;
}
// convert to tqunicode - ignore the terminating NUL, because TQt<3.3.2 doesn't sanity check val.
// convert to unicode - ignore the terminating NUL, because TQt<3.3.2 doesn't sanity check val.
TQString fieldValue = TQString::fromUtf8( rawData.data(), val - 1 );
debug( TQString( "- utf/dn single field: %1" ).arg( fieldValue ) );
// create singlefield

@ -53,7 +53,7 @@
</property>
<widget class="TQLayoutWidget">
<property name="name">
<cstring>tqlayout1</cstring>
<cstring>layout1</cstring>
</property>
<hbox>
<property name="name">
@ -121,7 +121,7 @@
</widget>
<widget class="TQLayoutWidget">
<property name="name">
<cstring>tqlayout66</cstring>
<cstring>layout66</cstring>
</property>
<hbox>
<property name="name">

@ -29,7 +29,7 @@
</widget>
<widget class="TQLayoutWidget">
<property name="name">
<cstring>tqlayout16</cstring>
<cstring>layout16</cstring>
</property>
<grid>
<property name="name">
@ -341,7 +341,7 @@
</widget>
<widget class="TQLayoutWidget">
<property name="name">
<cstring>tqlayout15</cstring>
<cstring>layout15</cstring>
</property>
<hbox>
<property name="name">

@ -65,7 +65,7 @@
</widget>
<widget class="TQLayoutWidget">
<property name="name">
<cstring>tqlayout2</cstring>
<cstring>layout2</cstring>
</property>
<hbox>
<property name="name">

@ -137,7 +137,7 @@ void GroupWiseContactProperties::slotCopy()
kdDebug( GROUPWISE_DEBUG_GLOBAL ) << k_funcinfo << endl;
if ( m_propsWidget->m_propsView->currentItem() )
{
TQClipboard *cb = kapp->tqclipboard();
TQClipboard *cb = kapp->clipboard();
cb->setText( m_propsWidget->m_propsView->currentItem()->text( 1 ) );
}
}

@ -48,7 +48,7 @@
</widget>
<widget class="TQLayoutWidget">
<property name="name">
<cstring>tqlayout15</cstring>
<cstring>layout15</cstring>
</property>
<grid>
<property name="name">

@ -21,7 +21,7 @@
</property>
<widget class="TQLayoutWidget">
<property name="name">
<cstring>tqlayout13</cstring>
<cstring>layout13</cstring>
</property>
<grid>
<property name="name">
@ -255,7 +255,7 @@
</widget>
<widget class="TQLayoutWidget">
<property name="name">
<cstring>tqlayout12</cstring>
<cstring>layout12</cstring>
</property>
<hbox>
<property name="name">
@ -318,7 +318,7 @@
</widget>
<widget class="TQLayoutWidget">
<property name="name">
<cstring>tqlayout8</cstring>
<cstring>layout8</cstring>
</property>
<vbox>
<property name="name">

@ -21,7 +21,7 @@
</property>
<widget class="TQLayoutWidget">
<property name="name">
<cstring>tqlayout3</cstring>
<cstring>layout3</cstring>
</property>
<grid>
<property name="name">

@ -54,7 +54,7 @@
</widget>
<widget class="TQLayoutWidget">
<property name="name">
<cstring>tqlayout2</cstring>
<cstring>layout2</cstring>
</property>
<vbox>
<property name="name">

@ -26,7 +26,7 @@
</widget>
<widget class="TQLayoutWidget">
<property name="name">
<cstring>tqlayout11</cstring>
<cstring>layout11</cstring>
</property>
<hbox>
<property name="name">
@ -34,7 +34,7 @@
</property>
<widget class="TQLayoutWidget">
<property name="name">
<cstring>tqlayout9</cstring>
<cstring>layout9</cstring>
</property>
<vbox>
<property name="name">
@ -60,7 +60,7 @@
</widget>
<widget class="TQLayoutWidget">
<property name="name">
<cstring>tqlayout8</cstring>
<cstring>layout8</cstring>
</property>
<vbox>
<property name="name">
@ -153,7 +153,7 @@
</widget>
<widget class="TQLayoutWidget">
<property name="name">
<cstring>tqlayout10</cstring>
<cstring>layout10</cstring>
</property>
<vbox>
<property name="name">

@ -21,7 +21,7 @@
</property>
<widget class="TQLayoutWidget">
<property name="name">
<cstring>tqlayout13</cstring>
<cstring>layout13</cstring>
</property>
<grid>
<property name="name">
@ -88,7 +88,7 @@
</widget>
<widget class="TQLayoutWidget">
<property name="name">
<cstring>tqlayout14</cstring>
<cstring>layout14</cstring>
</property>
<hbox>
<property name="name">

@ -118,7 +118,7 @@ void ChannelListItem::paintCell( TQPainter *p, const TQColorGroup &cg, int colum
if ( lv->isEnabled() )
how |= TQStyle::Style_Enabled;
lv->tqstyle().drawComplexControl( TQStyle::CC_ListView,
lv->style().drawComplexControl( TQStyle::CC_ListView,
p, lv, TQRect( 0, 0, width, height() ), lv->colorGroup(),
how, TQStyle::SC_ListView, TQStyle::SC_None,
opt );
@ -143,7 +143,7 @@ void ChannelListItem::paintCell( TQPainter *p, const TQColorGroup &cg, int colum
textheight++;
if ( textheight < height() ) {
int w = lv->treeStepSize() / 2;
lv->tqstyle().drawComplexControl( TQStyle::CC_ListView, p, lv,
lv->style().drawComplexControl( TQStyle::CC_ListView, p, lv,
TQRect( 0, textheight, w + 1, height() - textheight + 1 ), _cg,
lv->isEnabled() ? TQStyle::Style_Enabled : TQStyle::Style_Default,
TQStyle::SC_ListViewExpand,
@ -170,21 +170,21 @@ ChannelList::ChannelList( TQWidget* parent, KIRC::Engine *engine )
{
ChannelListLayout = new TQVBoxLayout( this, 11, 6, "ChannelListLayout");
tqlayout72_2 = new TQHBoxLayout( 0, 0, 6, "tqlayout72_2");
layout72_2 = new TQHBoxLayout( 0, 0, 6, "layout72_2");
textLabel1_2 = new TQLabel( this, "textLabel1_2" );
tqlayout72_2->addWidget( textLabel1_2 );
layout72_2->addWidget( textLabel1_2 );
channelSearch = new TQLineEdit( this, "channelSearch" );
tqlayout72_2->addWidget( channelSearch );
layout72_2->addWidget( channelSearch );
numUsers = new TQSpinBox( 0, 32767, 1, this, "num_users" );
numUsers->setSuffix( i18n(" members") );
tqlayout72_2->addWidget( numUsers );
layout72_2->addWidget( numUsers );
mSearchButton = new TQPushButton( this, "mSearchButton" );
tqlayout72_2->addWidget( mSearchButton );
ChannelListLayout->addLayout( tqlayout72_2 );
layout72_2->addWidget( mSearchButton );
ChannelListLayout->addLayout( layout72_2 );
mChannelList = new KListView( this, "mChannelList" );
mChannelList->addColumn( i18n( "Channel" ) );

@ -69,7 +69,7 @@ class ChannelList
TQPushButton* mSearchButton;
KListView* mChannelList;
TQVBoxLayout* ChannelListLayout;
TQHBoxLayout* tqlayout72_2;
TQHBoxLayout* layout72_2;
KIRC::Engine *m_engine;
bool mSearching;
TQString mSearch;

@ -45,7 +45,7 @@
</property>
<widget class="TQLayoutWidget">
<property name="name">
<cstring>tqlayout70</cstring>
<cstring>layout70</cstring>
</property>
<hbox>
<property name="name">

@ -261,7 +261,7 @@
</property>
<widget class="TQLayoutWidget">
<property name="name">
<cstring>tqlayout21</cstring>
<cstring>layout21</cstring>
</property>
<grid>
<property name="name">
@ -269,7 +269,7 @@
</property>
<widget class="TQLayoutWidget" row="1" column="1">
<property name="name">
<cstring>tqlayout19</cstring>
<cstring>layout19</cstring>
</property>
<hbox>
<property name="name">
@ -304,7 +304,7 @@
</widget>
<widget class="TQLayoutWidget" row="0" column="1">
<property name="name">
<cstring>tqlayout20</cstring>
<cstring>layout20</cstring>
</property>
<hbox>
<property name="name">
@ -395,7 +395,7 @@
</widget>
<widget class="TQLayoutWidget">
<property name="name">
<cstring>tqlayout25</cstring>
<cstring>layout25</cstring>
</property>
<hbox>
<property name="name">
@ -554,7 +554,7 @@
</widget>
<widget class="TQLayoutWidget" row="0" column="0">
<property name="name">
<cstring>tqlayout19</cstring>
<cstring>layout19</cstring>
</property>
<grid>
<property name="name">
@ -646,7 +646,7 @@
</widget>
<widget class="TQLayoutWidget" row="0" column="1">
<property name="name">
<cstring>tqlayout23</cstring>
<cstring>layout23</cstring>
</property>
<grid>
<property name="name">
@ -809,7 +809,7 @@
</widget>
<widget class="TQLayoutWidget">
<property name="name">
<cstring>tqlayout153</cstring>
<cstring>layout153</cstring>
</property>
<hbox>
<property name="name">
@ -886,7 +886,7 @@
</property>
<widget class="TQLayoutWidget" row="1" column="0">
<property name="name">
<cstring>tqlayout29</cstring>
<cstring>layout29</cstring>
</property>
<hbox>
<property name="name">

@ -31,7 +31,7 @@ JabberFormTranslator::JabberFormTranslator (const XMPP::Form & form, TQWidget *
emptyForm = privForm;
/* Add instructions to tqlayout. */
/* Add instructions to layout. */
TQVBoxLayout *innerLayout = new TQVBoxLayout (this, 0, 4);
TQLabel *label = new TQLabel (form.instructions (), this, "InstructionLabel");

@ -21,7 +21,7 @@
</property>
<widget class="TQLayoutWidget">
<property name="name">
<cstring>tqlayout8</cstring>
<cstring>layout8</cstring>
</property>
<vbox>
<property name="name">
@ -29,7 +29,7 @@
</property>
<widget class="TQLayoutWidget">
<property name="name">
<cstring>tqlayout5</cstring>
<cstring>layout5</cstring>
</property>
<hbox>
<property name="name">
@ -81,7 +81,7 @@
</widget>
<widget class="TQLayoutWidget">
<property name="name">
<cstring>tqlayout4</cstring>
<cstring>layout4</cstring>
</property>
<hbox>
<property name="name">
@ -147,7 +147,7 @@
</widget>
<widget class="TQLayoutWidget">
<property name="name">
<cstring>tqlayout7</cstring>
<cstring>layout7</cstring>
</property>
<hbox>
<property name="name">
@ -232,7 +232,7 @@
</widget>
<widget class="TQLayoutWidget">
<property name="name">
<cstring>tqlayout1</cstring>
<cstring>layout1</cstring>
</property>
<hbox>
<property name="name">
@ -309,7 +309,7 @@
</widget>
<widget class="TQLayoutWidget">
<property name="name">
<cstring>tqlayout3</cstring>
<cstring>layout3</cstring>
</property>
<hbox>
<property name="name">

@ -110,8 +110,8 @@ void LinphoneMediaChannel::OnPacketReceived(const void *data, int len) {
sendto(fd_, buf, len, 0, (struct sockaddr*)&sockaddr, sizeof(sockaddr));
}
void LinphoneMediaChannel::SetPtqlayout(bool ptqlayout) {
play_ = ptqlayout;
void LinphoneMediaChannel::SetPlayout(bool playout) {
play_ = playout;
}
void LinphoneMediaChannel::SetSend(bool send) {

@ -36,7 +36,7 @@ class LinphoneMediaChannel : public MediaChannel {
virtual void SetCodec(const char *codec);
virtual void OnPacketReceived(const void *data, int len);
virtual void SetPtqlayout(bool ptqlayout);
virtual void SetPlayout(bool playout);
virtual void SetSend(bool send);
virtual float GetCurrentQuality();

@ -41,7 +41,7 @@ class MediaChannel {
void SetInterface(NetworkInterface *iface) {network_interface_ = iface;}
virtual void SetCodec(const char *codec) = 0;
virtual void OnPacketReceived(const void *data, int len) = 0;
virtual void SetPtqlayout(bool ptqlayout) = 0;
virtual void SetPlayout(bool playout) = 0;
virtual void SetSend(bool send) = 0;
virtual float GetCurrentQuality() = 0;
virtual int GetOutputLevel() = 0;

@ -126,12 +126,12 @@ void PortAudioMediaChannel::OnPacketReceived(const void *data, int len)
}
}
void PortAudioMediaChannel::SetPtqlayout(bool ptqlayout)
void PortAudioMediaChannel::SetPlayout(bool playout)
{
if (!stream_)
return;
if (play_ && !ptqlayout) {
if (play_ && !playout) {
int err = Pa_StopStream(stream_);
if (err != paNoError) {
fprintf(stderr, "Error stopping PortAudio stream: %s\n", Pa_GetErrorText(err));
@ -139,7 +139,7 @@ void PortAudioMediaChannel::SetPtqlayout(bool ptqlayout)
}
play_ = false;
}
else if (!play_ && ptqlayout) {
else if (!play_ && playout) {
int err = Pa_StartStream(stream_);
if (err != paNoError) {
fprintf(stderr, "Error starting PortAudio stream: %s\n", Pa_GetErrorText(err));

@ -15,7 +15,7 @@ public:
virtual void SetCodec(const char *codec);
virtual void OnPacketReceived(const void *data, int len);
virtual void SetPtqlayout(bool ptqlayout);
virtual void SetPlayout(bool playout);
virtual void SetSend(bool send);
virtual float GetCurrentQuality();

@ -168,15 +168,15 @@ void VoiceChannel::SendPacket(const void *data, size_t len) {
void VoiceChannel::ChangeState() {
if (paused_ || !enabled_ || !socket_writable_) {
channel_->SetPtqlayout(false);
channel_->SetPlayout(false);
channel_->SetSend(false);
} else {
if (muted_) {
channel_->SetSend(false);
channel_->SetPtqlayout(true);
channel_->SetPlayout(true);
} else {
channel_->SetSend(true);
channel_->SetPtqlayout(true);
channel_->SetPlayout(true);
}
}
}

@ -27,7 +27,7 @@
</property>
<widget class="TQLayoutWidget">
<property name="name">
<cstring>tqlayout24</cstring>
<cstring>layout24</cstring>
</property>
<hbox>
<property name="name">

@ -57,7 +57,7 @@
</widget>
<widget class="TQLayoutWidget" row="3" column="1">
<property name="name">
<cstring>tqlayout3</cstring>
<cstring>layout3</cstring>
</property>
<hbox>
<property name="name">

@ -21,7 +21,7 @@
</property>
<widget class="TQLayoutWidget">
<property name="name">
<cstring>tqlayout4</cstring>
<cstring>layout4</cstring>
</property>
<hbox>
<property name="name">
@ -97,7 +97,7 @@
</widget>
<widget class="TQLayoutWidget">
<property name="name">
<cstring>tqlayout5</cstring>
<cstring>layout5</cstring>
</property>
<hbox>
<property name="name">

@ -68,7 +68,7 @@ void dlgJabberBrowse::slotGotForm ()
// translate the form and create it inside the display widget
translator = new JabberFormTranslator (task->form (), dynamicForm);
dynamicForm->tqlayout()->add( translator );
dynamicForm->layout()->add( translator );
translator->show();
// enable the send button

@ -57,7 +57,7 @@
</property>
<widget class="TQLayoutWidget">
<property name="name">
<cstring>tqlayout61</cstring>
<cstring>layout61</cstring>
</property>
<hbox>
<property name="name">
@ -312,7 +312,7 @@
</widget>
<widget class="TQLayoutWidget">
<property name="name">
<cstring>tqlayout66</cstring>
<cstring>layout66</cstring>
</property>
<hbox>
<property name="name">
@ -608,7 +608,7 @@ If two resources have the same priority, the messages will be sent to the one co
</property>
<widget class="TQLayoutWidget">
<property name="name">
<cstring>tqlayout70</cstring>
<cstring>layout70</cstring>
</property>
<grid>
<property name="name">
@ -632,7 +632,7 @@ If two resources have the same priority, the messages will be sent to the one co
</widget>
<widget class="TQLayoutWidget" row="0" column="1">
<property name="name">
<cstring>tqlayout68</cstring>
<cstring>layout68</cstring>
</property>
<hbox>
<property name="name">
@ -798,7 +798,7 @@ If two resources have the same priority, the messages will be sent to the one co
</widget>
<widget class="TQLayoutWidget">
<property name="name">
<cstring>tqlayout10</cstring>
<cstring>layout10</cstring>
</property>
<hbox>
<property name="name">
@ -823,7 +823,7 @@ If two resources have the same priority, the messages will be sent to the one co
</spacer>
<widget class="TQLayoutWidget">
<property name="name">
<cstring>tqlayout9</cstring>
<cstring>layout9</cstring>
</property>
<vbox>
<property name="name">

@ -59,7 +59,7 @@ void dlgJabberRegister::slotGotForm ()
// translate the form and create it inside the box widget
translator = new JabberFormTranslator (task->form (), grpForm);
static_cast<TQBoxLayout*>(grpForm->tqlayout())->insertWidget(1, translator);
static_cast<TQBoxLayout*>(grpForm->layout())->insertWidget(1, translator);
translator->show();
resize(sizeHint());

@ -247,7 +247,7 @@
</widget>
<widget class="TQLayoutWidget" row="6" column="0" rowspan="1" colspan="3">
<property name="name">
<cstring>tqlayout3</cstring>
<cstring>layout3</cstring>
</property>
<vbox>
<property name="name">

@ -21,7 +21,7 @@
</property>
<widget class="TQLayoutWidget">
<property name="name">
<cstring>tqlayout4</cstring>
<cstring>layout4</cstring>
</property>
<vbox>
<property name="name">
@ -102,7 +102,7 @@
</widget>
<widget class="TQLayoutWidget">
<property name="name">
<cstring>tqlayout3</cstring>
<cstring>layout3</cstring>
</property>
<hbox>
<property name="name">

@ -24,7 +24,7 @@
</property>
<widget class="TQLayoutWidget">
<property name="name">
<cstring>tqlayout2</cstring>
<cstring>layout2</cstring>
</property>
<hbox>
<property name="name">
@ -112,7 +112,7 @@
</widget>
<widget class="TQLayoutWidget">
<property name="name">
<cstring>tqlayout1</cstring>
<cstring>layout1</cstring>
</property>
<hbox>
<property name="name">

@ -33,7 +33,7 @@
</property>
<widget class="TQLayoutWidget" row="4" column="0" rowspan="1" colspan="2">
<property name="name">
<cstring>tqlayout13</cstring>
<cstring>layout13</cstring>
</property>
<hbox>
<property name="name">
@ -64,7 +64,7 @@
</widget>
<widget class="TQLayoutWidget" row="3" column="0" rowspan="1" colspan="2">
<property name="name">
<cstring>tqlayout12</cstring>
<cstring>layout12</cstring>
</property>
<hbox>
<property name="name">
@ -159,7 +159,7 @@
</widget>
<widget class="TQLayoutWidget" row="5" column="0" rowspan="1" colspan="2">
<property name="name">
<cstring>tqlayout14</cstring>
<cstring>layout14</cstring>
</property>
<hbox>
<property name="name">
@ -190,7 +190,7 @@
</widget>
<widget class="TQLayoutWidget" row="2" column="0" rowspan="1" colspan="2">
<property name="name">
<cstring>tqlayout11</cstring>
<cstring>layout11</cstring>
</property>
<hbox>
<property name="name">
@ -221,7 +221,7 @@
</widget>
<widget class="TQLayoutWidget" row="1" column="0" rowspan="1" colspan="2">
<property name="name">
<cstring>tqlayout10</cstring>
<cstring>layout10</cstring>
</property>
<hbox>
<property name="name">
@ -255,7 +255,7 @@
</widget>
<widget class="TQLayoutWidget" row="0" column="0" rowspan="1" colspan="2">
<property name="name">
<cstring>tqlayout9</cstring>
<cstring>layout9</cstring>
</property>
<hbox>
<property name="name">
@ -427,7 +427,7 @@
</property>
<widget class="TQLayoutWidget" row="0" column="0">
<property name="name">
<cstring>tqlayout36</cstring>
<cstring>layout36</cstring>
</property>
<grid>
<property name="name">
@ -625,7 +625,7 @@
</property>
<widget class="TQLayoutWidget" row="0" column="0">
<property name="name">
<cstring>tqlayout37</cstring>
<cstring>layout37</cstring>
</property>
<grid>
<property name="name">
@ -823,7 +823,7 @@
</property>
<widget class="TQLayoutWidget" row="0" column="0">
<property name="name">
<cstring>tqlayout57</cstring>
<cstring>layout57</cstring>
</property>
<grid>
<property name="name">
@ -915,7 +915,7 @@
</property>
<widget class="TQLayoutWidget" row="0" column="0">
<property name="name">
<cstring>tqlayout59</cstring>
<cstring>layout59</cstring>
</property>
<grid>
<property name="name">

@ -27,7 +27,7 @@
</property>
<widget class="TQLayoutWidget">
<property name="name">
<cstring>tqlayout53</cstring>
<cstring>layout53</cstring>
</property>
<hbox>
<property name="name">

@ -47,7 +47,7 @@
</property>
<widget class="TQLayoutWidget">
<property name="name">
<cstring>tqlayout81</cstring>
<cstring>layout81</cstring>
</property>
<hbox>
<property name="name">
@ -127,7 +127,7 @@
</property>
<widget class="TQLayoutWidget">
<property name="name">
<cstring>tqlayout21</cstring>
<cstring>layout21</cstring>
</property>
<hbox>
<property name="name">
@ -135,7 +135,7 @@
</property>
<widget class="TQLayoutWidget">
<property name="name">
<cstring>tqlayout56</cstring>
<cstring>layout56</cstring>
</property>
<hbox>
<property name="name">
@ -173,7 +173,7 @@
</widget>
<widget class="TQLayoutWidget">
<property name="name">
<cstring>tqlayout57</cstring>
<cstring>layout57</cstring>
</property>
<hbox>
<property name="name">
@ -241,7 +241,7 @@
</widget>
<widget class="TQLayoutWidget">
<property name="name">
<cstring>tqlayout17</cstring>
<cstring>layout17</cstring>
</property>
<grid>
<property name="name">
@ -271,7 +271,7 @@
</widget>
<widget class="TQLayoutWidget" row="1" column="1">
<property name="name">
<cstring>tqlayout13</cstring>
<cstring>layout13</cstring>
</property>
<hbox>
<property name="name">

@ -137,7 +137,7 @@
</widget>
<widget class="TQLayoutWidget">
<property name="name">
<cstring>tqlayout18</cstring>
<cstring>layout18</cstring>
</property>
<hbox>
<property name="name">

@ -762,7 +762,7 @@ TQString MSNSocket::escape( const TQString &str )
for ( int i = 0; i < old_length; i++ )
{
unsigned short character = str[i].tqunicode();
unsigned short character = str[i].unicode();
if( character <= 32 || character == '%' )
{

@ -24,7 +24,7 @@
</property>
<widget class="TQLayoutWidget">
<property name="name">
<cstring>tqlayout21</cstring>
<cstring>layout21</cstring>
</property>
<hbox>
<property name="name">

@ -128,7 +128,7 @@
</property>
<widget class="TQLayoutWidget" row="0" column="0">
<property name="name">
<cstring>tqlayout14</cstring>
<cstring>layout14</cstring>
</property>
<hbox>
<property name="name">
@ -265,7 +265,7 @@
</widget>
<widget class="TQLayoutWidget">
<property name="name">
<cstring>tqlayout13_2</cstring>
<cstring>layout13_2</cstring>
</property>
<hbox>
<property name="name">
@ -408,7 +408,7 @@ Only works for emoticons in the PNG format.</string>
</widget>
<widget class="TQLayoutWidget">
<property name="name">
<cstring>tqlayout28</cstring>
<cstring>layout28</cstring>
</property>
<hbox>
<property name="name">
@ -641,7 +641,7 @@ Only works for emoticons in the PNG format.</string>
</property>
<widget class="TQLayoutWidget">
<property name="name">
<cstring>tqlayout17</cstring>
<cstring>layout17</cstring>
</property>
<vbox>
<property name="name">
@ -679,7 +679,7 @@ Only works for emoticons in the PNG format.</string>
</widget>
<widget class="TQLayoutWidget">
<property name="name">
<cstring>tqlayout13</cstring>
<cstring>layout13</cstring>
</property>
<hbox>
<property name="name">
@ -736,7 +736,7 @@ Only works for emoticons in the PNG format.</string>
</widget>
<widget class="TQLayoutWidget">
<property name="name">
<cstring>tqlayout16</cstring>
<cstring>layout16</cstring>
</property>
<vbox>
<property name="name">
@ -865,7 +865,7 @@ Only works for emoticons in the PNG format.</string>
</widget>
<widget class="TQLayoutWidget">
<property name="name">
<cstring>tqlayout6</cstring>
<cstring>layout6</cstring>
</property>
<grid>
<property name="name">
@ -889,7 +889,7 @@ Only works for emoticons in the PNG format.</string>
</widget>
<widget class="TQLayoutWidget" row="1" column="1">
<property name="name">
<cstring>tqlayout4</cstring>
<cstring>layout4</cstring>
</property>
<vbox>
<property name="name">
@ -950,7 +950,7 @@ Only works for emoticons in the PNG format.</string>
</widget>
<widget class="TQLayoutWidget">
<property name="name">
<cstring>tqlayout58</cstring>
<cstring>layout58</cstring>
</property>
<hbox>
<property name="name">
@ -1005,7 +1005,7 @@ Only works for emoticons in the PNG format.</string>
</widget>
<widget class="TQLayoutWidget">
<property name="name">
<cstring>tqlayout59</cstring>
<cstring>layout59</cstring>
</property>
<hbox>
<property name="name">
@ -1124,7 +1124,7 @@ Only works for emoticons in the PNG format.</string>
</widget>
<widget class="TQLayoutWidget">
<property name="name">
<cstring>tqlayout20</cstring>
<cstring>layout20</cstring>
</property>
<hbox>
<property name="name">
@ -1132,7 +1132,7 @@ Only works for emoticons in the PNG format.</string>
</property>
<widget class="TQLayoutWidget">
<property name="name">
<cstring>tqlayout19</cstring>
<cstring>layout19</cstring>
</property>
<hbox>
<property name="name">
@ -1236,7 +1236,7 @@ Only check this option if the normal connection doesn't work.</string>
</widget>
<widget class="TQLayoutWidget">
<property name="name">
<cstring>tqlayout22</cstring>
<cstring>layout22</cstring>
</property>
<hbox>
<property name="name">

@ -98,7 +98,7 @@
</widget>
<widget class="TQLayoutWidget">
<property name="name">
<cstring>tqlayout3</cstring>
<cstring>layout3</cstring>
</property>
<hbox>
<property name="name">

@ -72,7 +72,7 @@
</property>
<widget class="TQLayoutWidget" row="0" column="0">
<property name="name">
<cstring>tqlayout4</cstring>
<cstring>layout4</cstring>
</property>
<hbox>
<property name="name">
@ -242,7 +242,7 @@
</widget>
<widget class="TQLayoutWidget">
<property name="name">
<cstring>tqlayout58</cstring>
<cstring>layout58</cstring>
</property>
<hbox>
<property name="name">

@ -29,7 +29,7 @@
</property>
<widget class="TQLayoutWidget">
<property name="name">
<cstring>tqlayout9</cstring>
<cstring>layout9</cstring>
</property>
<hbox>
<property name="name">
@ -92,7 +92,7 @@
</widget>
<widget class="TQLayoutWidget">
<property name="name">
<cstring>tqlayout10</cstring>
<cstring>layout10</cstring>
</property>
<hbox>
<property name="name">
@ -134,7 +134,7 @@
</widget>
<widget class="TQLayoutWidget">
<property name="name">
<cstring>tqlayout11</cstring>
<cstring>layout11</cstring>
</property>
<hbox>
<property name="name">

@ -24,7 +24,7 @@
</property>
<widget class="TQLayoutWidget">
<property name="name">
<cstring>tqlayout3</cstring>
<cstring>layout3</cstring>
</property>
<hbox>
<property name="name">
@ -47,7 +47,7 @@
</widget>
<widget class="TQLayoutWidget">
<property name="name">
<cstring>tqlayout4</cstring>
<cstring>layout4</cstring>
</property>
<hbox>
<property name="name">

@ -21,7 +21,7 @@
</property>
<widget class="TQLayoutWidget" row="3" column="0">
<property name="name">
<cstring>tqlayout22</cstring>
<cstring>layout22</cstring>
</property>
<hbox>
<property name="name">
@ -52,7 +52,7 @@
</widget>
<widget class="TQLayoutWidget" row="2" column="0">
<property name="name">
<cstring>tqlayout23</cstring>
<cstring>layout23</cstring>
</property>
<hbox>
<property name="name">
@ -150,7 +150,7 @@
</widget>
<widget class="TQLayoutWidget" row="1" column="0">
<property name="name">
<cstring>tqlayout24</cstring>
<cstring>layout24</cstring>
</property>
<hbox>
<property name="name">

@ -53,7 +53,7 @@
</property>
<widget class="TQLayoutWidget">
<property name="name">
<cstring>tqlayout5</cstring>
<cstring>layout5</cstring>
</property>
<hbox>
<property name="name">

@ -379,8 +379,8 @@ if ( !codec && ( contact->hasCap(CAP_UTF8) || !contact->encoding() ) )
utfMessage=new unsigned char[length];
for(unsigned int l=0; l<message.length(); l++)
{
utfMessage[l*2]=message.tqunicode()[l].row();
utfMessage[(l*2)+1]=message.tqunicode()[l].cell();
utfMessage[l*2]=message.unicode()[l].row();
utfMessage[(l*2)+1]=message.unicode()[l].cell();
}
charset=0x0002; // send UTF-16BE
}
@ -393,7 +393,7 @@ if(!codec && charset != 0x0002 && contact->encoding() != 0)
charset=0x0003; //send as ISO-8859-1
}
if(!codec && charset != 0x0002) // it's neither tqunicode nor did we find a codec so far!
if(!codec && charset != 0x0002) // it's neither unicode nor did we find a codec so far!
{
kdDebug(14151) << k_funcinfo <<
"Couldn't find suitable encoding for outgoing message, " <<

@ -348,12 +348,12 @@ void GSMLib::disconnect()
}
void GSMLib::setWidgetContainer(TQWidget* parent, TQGridLayout* tqlayout)
void GSMLib::setWidgetContainer(TQWidget* parent, TQGridLayout* layout)
{
m_parent = parent;
m_layout = tqlayout;
m_layout = layout;
TQWidget *configWidget = configureWidget(parent);
tqlayout->addMultiCellWidget(configWidget, 0, 1, 0, 1);
layout->addMultiCellWidget(configWidget, 0, 1, 0, 1);
configWidget->show();
}

@ -65,7 +65,7 @@
</widget>
<widget class="TQLayoutWidget">
<property name="name">
<cstring>tqlayout13</cstring>
<cstring>layout13</cstring>
</property>
<grid>
<property name="name">

@ -41,13 +41,13 @@ SMSClient::~SMSClient()
{
}
void SMSClient::setWidgetContainer(TQWidget* parent, TQGridLayout* tqlayout)
void SMSClient::setWidgetContainer(TQWidget* parent, TQGridLayout* layout)
{
kdWarning( 14160 ) << k_funcinfo << "ml: " << tqlayout << ", " << "mp: " << parent << endl;
kdWarning( 14160 ) << k_funcinfo << "ml: " << layout << ", " << "mp: " << parent << endl;
m_parent = parent;
m_layout = tqlayout;
m_layout = layout;
TQWidget *configWidget = configureWidget(parent);
tqlayout->addMultiCellWidget(configWidget, 0, 1, 0, 1);
layout->addMultiCellWidget(configWidget, 0, 1, 0, 1);
configWidget->show();
}

@ -65,7 +65,7 @@
</widget>
<widget class="TQLayoutWidget">
<property name="name">
<cstring>tqlayout13</cstring>
<cstring>layout13</cstring>
</property>
<grid>
<property name="name">

@ -73,16 +73,16 @@ void SMSSend::send(const Kopete::Message& msg)
m_provider->send(msg);
}
void SMSSend::setWidgetContainer(TQWidget* parent, TQGridLayout* tqlayout)
void SMSSend::setWidgetContainer(TQWidget* parent, TQGridLayout* layout)
{
kdWarning( 14160 ) << k_funcinfo << "ml: " << tqlayout << ", " << "mp: " << parent << endl;
kdWarning( 14160 ) << k_funcinfo << "ml: " << layout << ", " << "mp: " << parent << endl;
m_parent = parent;
m_layout = tqlayout;
m_layout = layout;
// could end up being deleted twice??
delete prefWidget;
prefWidget = new SMSSendPrefsUI(parent);
tqlayout->addMultiCellWidget(prefWidget, 0, 1, 0, 1);
layout->addMultiCellWidget(prefWidget, 0, 1, 0, 1);
prefWidget->program->setMode(KFile::Directory);

@ -65,7 +65,7 @@
</widget>
<widget class="TQLayoutWidget">
<property name="name">
<cstring>tqlayout12</cstring>
<cstring>layout12</cstring>
</property>
<grid>
<property name="name">

@ -46,10 +46,10 @@ public:
/**
* Called when the settings widget has a place to be. @param parent is the
* settings widget's parent and @param tqlayout is the 2xn grid tqlayout it may
* settings widget's parent and @param layout is the 2xn grid layout it may
* use.
*/
virtual void setWidgetContainer(TQWidget* parent, TQGridLayout* tqlayout) = 0;
virtual void setWidgetContainer(TQWidget* parent, TQGridLayout* layout) = 0;
virtual void send(const Kopete::Message& msg) = 0;
virtual int maxSize() = 0;

@ -118,7 +118,7 @@
</widget>
<widget class="TQLayoutWidget" row="1" column="1">
<property name="name">
<cstring>tqlayout35</cstring>
<cstring>layout35</cstring>
</property>
<hbox>
<property name="name">
@ -236,7 +236,7 @@
</property>
<widget class="TQLayoutWidget">
<property name="name">
<cstring>tqlayout119</cstring>
<cstring>layout119</cstring>
</property>
<hbox>
<property name="name">
@ -303,7 +303,7 @@
</widget>
<widget class="TQLayoutWidget">
<property name="name">
<cstring>tqlayout56</cstring>
<cstring>layout56</cstring>
</property>
<hbox>
<property name="name">

@ -32,7 +32,7 @@
</property>
<widget class="TQLayoutWidget">
<property name="name">
<cstring>tqlayout35</cstring>
<cstring>layout35</cstring>
</property>
<hbox>
<property name="name">
@ -40,7 +40,7 @@
</property>
<widget class="TQLayoutWidget">
<property name="name">
<cstring>tqlayout33</cstring>
<cstring>layout33</cstring>
</property>
<vbox>
<property name="name">
@ -84,7 +84,7 @@
</widget>
<widget class="TQLayoutWidget">
<property name="name">
<cstring>tqlayout34</cstring>
<cstring>layout34</cstring>
</property>
<vbox>
<property name="name">

@ -56,7 +56,7 @@
</widget>
<widget class="TQLayoutWidget">
<property name="name">
<cstring>tqlayout11</cstring>
<cstring>layout11</cstring>
</property>
<hbox>
<property name="name">

@ -53,7 +53,7 @@
</property>
<widget class="TQLayoutWidget">
<property name="name">
<cstring>tqlayout1_2</cstring>
<cstring>layout1_2</cstring>
</property>
<hbox>
<property name="name">

@ -18,7 +18,7 @@
</property>
<widget class="TQLayoutWidget">
<property name="name">
<cstring>tqlayout2</cstring>
<cstring>layout2</cstring>
</property>
<hbox>
<property name="name">

@ -28,7 +28,7 @@
</property>
<widget class="TQLayoutWidget">
<property name="name">
<cstring>tqlayout59</cstring>
<cstring>layout59</cstring>
</property>
<hbox>
<property name="name">
@ -36,7 +36,7 @@
</property>
<widget class="TQLayoutWidget">
<property name="name">
<cstring>tqlayout57</cstring>
<cstring>layout57</cstring>
</property>
<vbox>
<property name="name">
@ -80,7 +80,7 @@
</widget>
<widget class="TQLayoutWidget">
<property name="name">
<cstring>tqlayout58</cstring>
<cstring>layout58</cstring>
</property>
<vbox>
<property name="name">
@ -117,7 +117,7 @@
</widget>
<widget class="TQLayoutWidget">
<property name="name">
<cstring>tqlayout11</cstring>
<cstring>layout11</cstring>
</property>
<hbox>
<property name="name">

@ -64,7 +64,7 @@
</property>
<widget class="TQLayoutWidget">
<property name="name">
<cstring>tqlayout40</cstring>
<cstring>layout40</cstring>
</property>
<hbox>
<property name="name">
@ -266,7 +266,7 @@ However, the recommended way is to ask your administrator to create this directo
</widget>
<widget class="TQLayoutWidget" row="0" column="1" rowspan="2" colspan="1">
<property name="name">
<cstring>tqlayout6</cstring>
<cstring>layout6</cstring>
</property>
<vbox>
<property name="name">
@ -274,7 +274,7 @@ However, the recommended way is to ask your administrator to create this directo
</property>
<widget class="TQLayoutWidget">
<property name="name">
<cstring>tqlayout5</cstring>
<cstring>layout5</cstring>
</property>
<hbox>
<property name="name">

@ -26,7 +26,7 @@
</property>
<widget class="TQLayoutWidget" row="0" column="0">
<property name="name">
<cstring>tqlayout6</cstring>
<cstring>layout6</cstring>
</property>
<hbox>
<property name="name">
@ -34,7 +34,7 @@
</property>
<widget class="TQLayoutWidget">
<property name="name">
<cstring>tqlayout5</cstring>
<cstring>layout5</cstring>
</property>
<vbox>
<property name="name">
@ -120,7 +120,7 @@
</widget>
<widget class="TQLayoutWidget">
<property name="name">
<cstring>tqlayout4</cstring>
<cstring>layout4</cstring>
</property>
<vbox>
<property name="name">

@ -27,7 +27,7 @@
</property>
<widget class="TQLayoutWidget">
<property name="name">
<cstring>tqlayout53</cstring>
<cstring>layout53</cstring>
</property>
<hbox>
<property name="name">

@ -59,7 +59,7 @@
</property>
<widget class="TQLayoutWidget">
<property name="name">
<cstring>tqlayout81</cstring>
<cstring>layout81</cstring>
</property>
<hbox>
<property name="name">
@ -250,7 +250,7 @@
</widget>
<widget class="TQLayoutWidget">
<property name="name">
<cstring>tqlayout58</cstring>
<cstring>layout58</cstring>
</property>
<hbox>
<property name="name">

@ -21,7 +21,7 @@
</property>
<widget class="TQLayoutWidget" row="0" column="0">
<property name="name">
<cstring>tqlayout19</cstring>
<cstring>layout19</cstring>
</property>
<vbox>
<property name="name">
@ -40,7 +40,7 @@
</property>
<widget class="TQLayoutWidget" row="0" column="0">
<property name="name">
<cstring>tqlayout5</cstring>
<cstring>layout5</cstring>
</property>
<vbox>
<property name="name">
@ -74,7 +74,7 @@
</widget>
<widget class="TQLayoutWidget" row="0" column="2">
<property name="name">
<cstring>tqlayout4</cstring>
<cstring>layout4</cstring>
</property>
<vbox>
<property name="name">
@ -106,7 +106,7 @@
</widget>
<widget class="TQLayoutWidget">
<property name="name">
<cstring>tqlayout2</cstring>
<cstring>layout2</cstring>
</property>
<hbox>
<property name="name">
@ -131,7 +131,7 @@
</widget>
<widget class="TQLayoutWidget" row="0" column="1">
<property name="name">
<cstring>tqlayout10</cstring>
<cstring>layout10</cstring>
</property>
<vbox>
<property name="name">
@ -193,7 +193,7 @@
</widget>
<widget class="TQLayoutWidget">
<property name="name">
<cstring>tqlayout14</cstring>
<cstring>layout14</cstring>
</property>
<hbox>
<property name="name">
@ -233,7 +233,7 @@
</widget>
<widget class="TQLayoutWidget">
<property name="name">
<cstring>tqlayout18</cstring>
<cstring>layout18</cstring>
</property>
<hbox>
<property name="name">

@ -32,7 +32,7 @@
</widget>
<widget class="TQLayoutWidget">
<property name="name">
<cstring>tqlayout0</cstring>
<cstring>layout0</cstring>
</property>
<hbox>
<property name="name">
@ -89,7 +89,7 @@
</spacer>
<widget class="TQLayoutWidget">
<property name="name">
<cstring>tqlayout16</cstring>
<cstring>layout16</cstring>
</property>
<hbox>
<property name="name">

@ -57,9 +57,9 @@ namespace KPF
view_->addColumn(i18n("Resource"));
view_->addColumn(i18n("Host"));
TQVBoxLayout * tqlayout = new TQVBoxLayout(this);
TQVBoxLayout * layout = new TQVBoxLayout(this);
tqlayout->addWidget(view_);
layout->addWidget(view_);
connect
(

@ -93,13 +93,13 @@ namespace KPF
/**
* Called when a WebServer object has been created. Creates an
* AppletItem, associates it with the former, and updates the tqlayout.
* AppletItem, associates it with the former, and updates the layout.
*/
void slotServerCreated(WebServer *);
/**
* Called when a WebServer object has been disabled.
* Deletes the associated AppletItem and updates the tqlayout.
* Deletes the associated AppletItem and updates the layout.
*/
void slotServerDisabled(WebServer *);
@ -121,13 +121,13 @@ namespace KPF
virtual void about();
/**
* Overridden to keep track of orientation change and update tqlayout
* Overridden to keep track of orientation change and update layout
* accordingly.
*/
virtual void orientationChange(Qt::Orientation);
/**
* Overridden to update tqlayout accordingly.
* Overridden to update layout accordingly.
*/
virtual void moveEvent(TQMoveEvent *);
virtual void resizeEvent(TQResizeEvent *);
@ -138,7 +138,7 @@ namespace KPF
virtual void mousePressEvent(TQMouseEvent *);
/**
* Updates the tqlayout, moving AppletItem objects into proper positions.
* Updates the layout, moving AppletItem objects into proper positions.
*/
virtual void resetLayout();

@ -62,7 +62,7 @@ namespace KPF
TQFrame * w = makeMainWidget();
TQVBoxLayout * tqlayout =
TQVBoxLayout * layout =
new TQVBoxLayout(w, KDialog::marginHint(), KDialog::spacingHint());
TQLabel * info =
@ -84,9 +84,9 @@ namespace KPF
w
);
tqlayout->addWidget(info);
layout->addWidget(info);
TQGridLayout * grid = new TQGridLayout(tqlayout, codeList.count(), 2);
TQGridLayout * grid = new TQGridLayout(layout, codeList.count(), 2);
TQString pattern(i18n("%1 %2"));

@ -171,59 +171,59 @@ namespace KPF
sb_bandwidthLimit_ ->setSuffix(i18n(" kB/s"));
// sb_connectionLimit_ ->setValue(Config::DefaultConnectionLimit);
TQVBoxLayout * tqlayout1 =
TQVBoxLayout * layout1 =
new TQVBoxLayout(page1_, KDialog::marginHint(), KDialog::spacingHint());
TQVBoxLayout * tqlayout2 =
TQVBoxLayout * layout2 =
new TQVBoxLayout(page2_, KDialog::marginHint(), KDialog::spacingHint());
TQVBoxLayout * tqlayout3 =
TQVBoxLayout * layout3 =
new TQVBoxLayout(page3_, KDialog::marginHint(), KDialog::spacingHint());
// TQVBoxLayout * tqlayout4 =
// TQVBoxLayout * layout4 =
// new TQVBoxLayout(page4_, KDialog::marginHint(), KDialog::spacingHint());
TQVBoxLayout * tqlayout5 =
TQVBoxLayout * layout5 =
new TQVBoxLayout(page5_, KDialog::marginHint(), KDialog::spacingHint());
tqlayout1->addWidget(l_rootDirectoryHelp);
tqlayout2->addWidget(l_listenPortHelp);
tqlayout3->addWidget(l_bandwidthLimitHelp);
// tqlayout4->addWidget(l_connectionLimitHelp);
tqlayout5->addWidget(l_serverNameHelp);
layout1->addWidget(l_rootDirectoryHelp);
layout2->addWidget(l_listenPortHelp);
layout3->addWidget(l_bandwidthLimitHelp);
// layout4->addWidget(l_connectionLimitHelp);
layout5->addWidget(l_serverNameHelp);
TQHBoxLayout * tqlayout10 = new TQHBoxLayout(tqlayout1);
TQHBoxLayout * layout10 = new TQHBoxLayout(layout1);
tqlayout10->addWidget(l_root_);
tqlayout10->addWidget(kur_root_);
layout10->addWidget(l_root_);
layout10->addWidget(kur_root_);
tqlayout1->addStretch(1);
layout1->addStretch(1);
TQHBoxLayout * tqlayout20 = new TQHBoxLayout(tqlayout2);
TQHBoxLayout * layout20 = new TQHBoxLayout(layout2);
tqlayout20->addWidget(l_listenPort_);
tqlayout20->addWidget(sb_listenPort_);
layout20->addWidget(l_listenPort_);
layout20->addWidget(sb_listenPort_);
tqlayout2->addStretch(1);
layout2->addStretch(1);
TQHBoxLayout * tqlayout30 = new TQHBoxLayout(tqlayout3);
TQHBoxLayout * layout30 = new TQHBoxLayout(layout3);
tqlayout30->addWidget(l_bandwidthLimit_);
tqlayout30->addWidget(sb_bandwidthLimit_);
layout30->addWidget(l_bandwidthLimit_);
layout30->addWidget(sb_bandwidthLimit_);
tqlayout3->addStretch(1);
layout3->addStretch(1);
// TQHBoxLayout * tqlayout40 = new TQHBoxLayout(tqlayout4);
// TQHBoxLayout * layout40 = new TQHBoxLayout(layout4);
// tqlayout40->addWidget(l_connectionLimit_);
// tqlayout40->addWidget(sb_connectionLimit_);
// layout40->addWidget(l_connectionLimit_);
// layout40->addWidget(sb_connectionLimit_);
// tqlayout4->addStretch(1);
// layout4->addStretch(1);
TQHBoxLayout * tqlayout50 = new TQHBoxLayout(tqlayout5);
TQHBoxLayout * layout50 = new TQHBoxLayout(layout5);
tqlayout50->addWidget(l_serverName_);
tqlayout50->addWidget(le_serverName_);
layout50->addWidget(l_serverName_);
layout50->addWidget(le_serverName_);
addPage(page1_, i18n("Root Directory"));
addPage(page2_, i18n("Listen Port"));

@ -71,9 +71,9 @@ namespace KPF
mainWidget
);
TQVBoxLayout * tqlayout = new TQVBoxLayout(mainWidget);
TQVBoxLayout * layout = new TQVBoxLayout(mainWidget);
tqlayout->addWidget(about);
layout->addWidget(about);
kapp->dcopClient()->setNotifications(true);

@ -450,7 +450,7 @@ QueryReset::QueryReset(TQWidget *parent) : TQDialog(parent, 0, true) {
l1->activate();
// this activates the f-tqlayout and sets minimumSize()
// this activates the f-layout and sets minimumSize()
f->show();
tl->addWidget(f);
@ -466,7 +466,7 @@ QueryReset::QueryReset(TQWidget *parent) : TQDialog(parent, 0, true) {
connect(cancel, TQT_SIGNAL(clicked()),
this, TQT_SLOT(reject()));
bbox->tqlayout();
bbox->layout();
tl->addWidget(bbox);
// TODO: activate if KGroupBox is fixed

@ -118,11 +118,11 @@ void ConWindow::accounting(bool on) {
accountingEnabled = on;
volumeAccountingEnabled = gpppdata.VolAcctEnabled();
// delete old tqlayout
// delete old layout
if(tl1 != 0)
delete tl1;
// add tqlayout now
// add layout now
tl1 = new TQVBoxLayout(this, 10, 10);
tl1->addSpacing(5);
TQHBoxLayout *tl = new TQHBoxLayout;

@ -892,7 +892,7 @@ ScriptWidget::ScriptWidget( TQWidget *parent, bool isnewaccount, const char *nam
bbox->addStretch(1);
remove = bbox->addButton(i18n("&Remove"));
connect(remove, TQT_SIGNAL(clicked()), TQT_SLOT(removeButton()));
bbox->tqlayout();
bbox->layout();
tl->addWidget(bbox);
TQHBoxLayout *l12 = new TQHBoxLayout(0);

@ -515,7 +515,7 @@ void KPPPWidget::resetmodems() {
}
label7->setShown(m_bModemCShown);
modem_c->setShown(m_bModemCShown);
tqlayout()->invalidate();
layout()->invalidate();
setFixedSize(sizeHint());
//set the default modem
@ -1046,7 +1046,7 @@ void KPPPWidget::showNews() {
dlg.connect(ok, TQT_SIGNAL(clicked()),
&dlg, TQT_SLOT(accept()));
bbox->addStretch(1);
bbox->tqlayout();
bbox->layout();
l2->addWidget(l);
l2->addWidget(cb);

@ -246,7 +246,7 @@ MonthlyWidget::MonthlyWidget(TQWidget *parent) :
this, TQT_SLOT(exportWizard()));
bbox->addStretch(8);
bbox->tqlayout();
bbox->layout();
currentMonth();
layoutWidget();

@ -79,11 +79,11 @@ MiniTerm::MiniTerm(TQWidget *parent, const char *name)
setupToolbar();
TQVBoxLayout *tqlayout=new TQVBoxLayout(this);
tqlayout->addWidget(menubar);
tqlayout->addWidget(toolbar);
tqlayout->addWidget(terminal);
tqlayout->addWidget(statusbar);
TQVBoxLayout *layout=new TQVBoxLayout(this);
layout->addWidget(menubar);
layout->addWidget(toolbar);
layout->addWidget(terminal);
layout->addWidget(statusbar);
inittimer = new TQTimer(this);
connect(inittimer,TQT_SIGNAL(timeout()),this,TQT_SLOT(init()));

@ -55,7 +55,7 @@ ModemCommands::ModemCommands(TQWidget *parent, const char *name)
const int GRIDROWS = 22;
int row = 0;
// toplevel tqlayout
// toplevel layout
TQVBoxLayout *tl = new TQVBoxLayout(dummyWidget, 10, 4);
// add grid + frame

@ -73,7 +73,7 @@ ModemSelector::ModemSelector(TQWidget *parent) : TQDialog(parent, 0, true) {
ok->setDefault(true);
ok->setEnabled(false);
cancel = bbox->addButton(KStdGuiItem::cancel());
bbox->tqlayout();
bbox->layout();
tl->addWidget(bbox);
setFixedSize(sizeHint());

@ -1,6 +1,6 @@
/////////////////////////////////////////////////////////////////////////////
//
// functions generating tqlayout-aware widgets
// functions generating layout-aware widgets
//
/////////////////////////////////////////////////////////////////////////////

@ -1,6 +1,6 @@
/////////////////////////////////////////////////////////////////////////////
//
// functions generating tqlayout-aware widgets
// functions generating layout-aware widgets
//
/////////////////////////////////////////////////////////////////////////////

@ -95,7 +95,7 @@ PPPdArguments::PPPdArguments(TQWidget *parent, const char *name)
TQPushButton *cancel = bbox->addButton(KStdGuiItem::cancel());
connect(cancel, TQT_SIGNAL(clicked()),
this, TQT_SLOT(reject()));
bbox->tqlayout();
bbox->layout();
l->addWidget(bbox);
setFixedSize(sizeHint());

@ -249,7 +249,7 @@ void PPPL_ShowLog() {
bbox->addStretch(1);
TQPushButton *write = bbox->addButton(i18n("Write to File"));
TQPushButton *close = bbox->addButton(KStdGuiItem::close());
bbox->tqlayout();
bbox->layout();
edit->setMinimumSize(600, 250);
label->setMinimumSize(600, 15);
diagnosis->setMinimumSize(600, 60);

@ -144,7 +144,7 @@ PPPStatsDlg::PPPStatsDlg(TQWidget *parent, const char *name, TQWidget *,
labela2[i]->setText("");
labelb2[i]->setText("");
// add to tqlayout
// add to layout
l112->addWidget(labela1[i], i, 0);
l112->addWidget(labela2[i], i, 1);
l112->addWidget(labelb1[i], i, 2);

@ -461,7 +461,7 @@ void urlEncode(TQString &s) {
if(TQString(UNENCODED_CHARS).find(s[i]) >= 0)
s1 += s[i];
else {
tmp.sprintf("%%%03i", s[i].tqunicode());
tmp.sprintf("%%%03i", s[i].unicode());
s1 += tmp;
}
}

@ -50,10 +50,10 @@ KeyCaptureDialog::KeyCaptureDialog(TQWidget *parent, const char *name)
: KDialogBase(parent, name, true, i18n( "Enter Key Combination" ),
Cancel, Cancel, true), m_grabbed(false) {
TQFrame *main = makeMainWidget();
TQVBoxLayout *tqlayout = new TQVBoxLayout( main, 0, KDialog::spacingHint() );
TQVBoxLayout *layout = new TQVBoxLayout( main, 0, KDialog::spacingHint() );
m_captureWidget = new KeyCaptureWidget( main, "m_captureWidget" );
tqlayout->addWidget( m_captureWidget );
tqlayout->addStretch();
layout->addWidget( m_captureWidget );
layout->addStretch();
}
KeyCaptureDialog::~KeyCaptureDialog() {

@ -66,7 +66,7 @@ class KRDC : public TQWidget
TQ_OBJECT
private:
SmartPtr<KProgressDialog> m_progressDialog; // dialog, displayed while connecting
TQVBoxLayout *m_layout; // the tqlayout for autosizing the scrollview
TQVBoxLayout *m_layout; // the layout for autosizing the scrollview
TQScrollView *m_scrollView; // scrollview that contains the remote widget
KProgress *m_progress; // progress bar for the dialog
KRemoteView *m_view; // the remote widget (e.g. KVncView)

@ -80,7 +80,7 @@ void PreferencesDialog::load()
m_rdpPrefs->setShowPrefs( m_rdpDefaults->askOnConnect() );
m_rdpPrefs->setUseKWallet( m_rdpDefaults->useKWallet() );
m_rdpPrefs->setColorDepth( m_rdpDefaults->colorDepth() );
m_rdpPrefs->setKbLayout( keymap2int( m_rdpDefaults->tqlayout() ));
m_rdpPrefs->setKbLayout( keymap2int( m_rdpDefaults->layout() ));
m_rdpPrefs->setResolution();
}

@ -164,7 +164,7 @@ bool KRdpView::editPreferences( HostPrefPtr host )
int wv = hp->width();
int hv = hp->height();
int cd = hp->colorDepth();
TQString kl = hp->tqlayout();
TQString kl = hp->layout();
bool kwallet = hp->useKWallet();
// show preferences dialog
@ -243,7 +243,7 @@ bool KRdpView::start()
*m_process << "-g" << (TQString::number(hp->width()) + "x" + TQString::number(hp->height()));
}
}
*m_process << "-k" << hp->tqlayout();
*m_process << "-k" << hp->layout();
if(!m_user.isEmpty()) { *m_process << "-u" << m_user; }
if(m_password.isEmpty() && useKWallet ) {

@ -48,7 +48,7 @@ void RdpHostPref::save()
m_config->writeEntry(p+"width", m_width);
m_config->writeEntry(p+"height", m_height);
m_config->writeEntry(p+"colorDepth", m_colorDepth);
m_config->writeEntry(p+"tqlayout", m_layout);
m_config->writeEntry(p+"layout", m_layout);
m_config->writeEntry(p+"askOnConnect", m_askOnConnect);
m_config->writeEntry(p+"useKWallet", m_useKWallet);
}
@ -73,7 +73,7 @@ void RdpHostPref::load()
m_width = m_config->readNumEntry(p+"width", 0);
m_height = m_config->readNumEntry(p+"height", 0);
m_colorDepth = m_config->readNumEntry(p+"colorDepth", 24);
m_layout = m_config->readEntry(p+"tqlayout", "en-us");
m_layout = m_config->readEntry(p+"layout", "en-us");
m_askOnConnect = m_config->readBoolEntry(p+"askOnConnect", true);
m_useKWallet = m_config->readBoolEntry(p+"useKWallet", true);
}
@ -91,7 +91,7 @@ void RdpHostPref::remove()
m_config->deleteEntry(p+"width");
m_config->deleteEntry(p+"height");
m_config->deleteEntry(p+"colorDepth");
m_config->deleteEntry(p+"tqlayout");
m_config->deleteEntry(p+"layout");
m_config->deleteEntry(p+"askOnConnect");
m_config->deleteEntry(p+"useKWallet");
}
@ -154,7 +154,7 @@ void RdpHostPref::setLayout(const TQString &l)
save();
}
TQString RdpHostPref::tqlayout() const
TQString RdpHostPref::layout() const
{
return m_layout;
}

@ -60,29 +60,29 @@ static const int rdpDefaultKeymap = 6; // en-us
inline int keymap2int(const TQString &keymap)
{
int tqlayout;
for(tqlayout = 0; tqlayout < rdpNumKeymaps; tqlayout++)
int layout;
for(layout = 0; layout < rdpNumKeymaps; layout++)
{
if(keymap == rdpKeymaps[tqlayout])
if(keymap == rdpKeymaps[layout])
{
break;
}
}
if(tqlayout == rdpNumKeymaps)
if(layout == rdpNumKeymaps)
{
tqlayout = rdpDefaultKeymap;
layout = rdpDefaultKeymap;
}
return tqlayout;
return layout;
}
inline TQString int2keymap(int tqlayout)
inline TQString int2keymap(int layout)
{
if(tqlayout < 0 || tqlayout >= rdpNumKeymaps)
if(layout < 0 || layout >= rdpNumKeymaps)
{
return rdpKeymaps[rdpDefaultKeymap];
}
return rdpKeymaps[tqlayout];
return rdpKeymaps[layout];
}
class RdpHostPref : public HostPref
@ -117,7 +117,7 @@ class RdpHostPref : public HostPref
void setColorDepth(int depth);
int colorDepth() const;
void setLayout(const TQString &l);
TQString tqlayout() const;
TQString layout() const;
void setAskOnConnect(bool ask);
bool askOnConnect() const;
bool useKWallet() const;

@ -338,7 +338,7 @@
<number>4</number>
</property>
<property name="whatsThis" stdset="0">
<string>Use this to specify your keyboard tqlayout. This tqlayout setting is used to send the correct keyboard codes to the server.</string>
<string>Use this to specify your keyboard layout. This layout setting is used to send the correct keyboard codes to the server.</string>
</property>
</widget>
<widget class="TQLabel" row="3" column="0">
@ -354,7 +354,7 @@
</sizepolicy>
</property>
<property name="text">
<string>&amp;Keyboard tqlayout:</string>
<string>&amp;Keyboard layout:</string>
</property>
<property name="buddy" stdset="0">
<cstring>cmbKbLayout</cstring>

@ -92,7 +92,7 @@ KVncView::KVncView(TQWidget *parent,
setFixedSize(16,16);
setFocusPolicy(TQ_StrongFocus);
m_cb = TQApplication::tqclipboard();
m_cb = TQApplication::clipboard();
connect(m_cb, TQT_SIGNAL(selectionChanged()), this, TQT_SLOT(selectionChanged()));
connect(m_cb, TQT_SIGNAL(dataChanged()), this, TQT_SLOT(clipboardChanged()));

@ -25,8 +25,8 @@
TQString cryptStr(const TQString &aStr) {
TQString result;
for (unsigned int i = 0; i < aStr.length(); i++)
result += (aStr[i].tqunicode() < 0x20) ? aStr[i] :
TQChar(0x1001F - aStr[i].tqunicode());
result += (aStr[i].unicode() < 0x20) ? aStr[i] :
TQChar(0x1001F - aStr[i].unicode());
return result;
}

@ -361,7 +361,7 @@ RFBController::RFBController(Configuration *c) :
connect(&initIdleTimer, TQT_SIGNAL(timeout()), TQT_SLOT(checkAsyncEvents()));
connect(&idleTimer, TQT_SIGNAL(timeout()), TQT_SLOT(idleSlot()));
clipboard = TQApplication::tqclipboard();
clipboard = TQApplication::clipboard();
connect(clipboard, TQT_SIGNAL(selectionChanged()), this, TQT_SLOT(selectionChanged()));
connect(clipboard, TQT_SIGNAL(dataChanged()), this, TQT_SLOT(clipboardChanged()));

@ -90,7 +90,7 @@
</property>
<widget class="TQLayoutWidget">
<property name="name">
<cstring>tqlayout13</cstring>
<cstring>layout13</cstring>
</property>
<hbox>
<property name="name">
@ -98,7 +98,7 @@
</property>
<widget class="TQLayoutWidget">
<property name="name">
<cstring>tqlayout9</cstring>
<cstring>layout9</cstring>
</property>
<vbox>
<property name="name">
@ -121,7 +121,7 @@
</widget>
<widget class="TQLayoutWidget">
<property name="name">
<cstring>tqlayout12</cstring>
<cstring>layout12</cstring>
</property>
<vbox>
<property name="name">
@ -147,7 +147,7 @@
</widget>
<widget class="TQLayoutWidget">
<property name="name">
<cstring>tqlayout11</cstring>
<cstring>layout11</cstring>
</property>
<vbox>
<property name="name">
@ -170,7 +170,7 @@
</widget>
<widget class="TQLayoutWidget">
<property name="name">
<cstring>tqlayout15</cstring>
<cstring>layout15</cstring>
</property>
<vbox>
<property name="name">
@ -201,7 +201,7 @@
</widget>
<widget class="TQLayoutWidget">
<property name="name">
<cstring>tqlayout12</cstring>
<cstring>layout12</cstring>
</property>
<hbox>
<property name="name">
@ -209,7 +209,7 @@
</property>
<widget class="TQLayoutWidget">
<property name="name">
<cstring>tqlayout3</cstring>
<cstring>layout3</cstring>
</property>
<vbox>
<property name="name">
@ -235,7 +235,7 @@
</widget>
<widget class="TQLayoutWidget">
<property name="name">
<cstring>tqlayout9</cstring>
<cstring>layout9</cstring>
</property>
<vbox>
<property name="name">
@ -263,7 +263,7 @@
</widget>
<widget class="TQLayoutWidget">
<property name="name">
<cstring>tqlayout17</cstring>
<cstring>layout17</cstring>
</property>
<hbox>
<property name="name">

@ -566,7 +566,7 @@
</property>
<widget class="TQLayoutWidget">
<property name="name">
<cstring>tqlayout12</cstring>
<cstring>layout12</cstring>
</property>
<hbox>
<property name="name">
@ -618,7 +618,7 @@
</widget>
<widget class="TQLayoutWidget">
<property name="name">
<cstring>tqlayout11</cstring>
<cstring>layout11</cstring>
</property>
<hbox>
<property name="name">
@ -683,7 +683,7 @@
</widget>
<widget class="TQLayoutWidget">
<property name="name">
<cstring>tqlayout10</cstring>
<cstring>layout10</cstring>
</property>
<hbox>
<property name="name">

@ -3,9 +3,9 @@
PageFont::PageFont( TQWidget *parent, const char *name ) :
TQWidget( parent, name)
{
tqlayout = new TQHBoxLayout(this);
layout = new TQHBoxLayout(this);
fontchooser = new KFontChooser(this);
tqlayout->addWidget(fontchooser);
layout->addWidget(fontchooser);
connect(fontchooser,TQT_SIGNAL(fontSelected ( const TQFont&)), this, TQT_SLOT(update()));
}

@ -57,7 +57,7 @@ class PageFont : public TQWidget
private:
KFontChooser* fontchooser; /** The font choosing widget from kdelib */
TQHBoxLayout* tqlayout;
TQHBoxLayout* layout;
};
#endif

@ -357,7 +357,7 @@
</widget>
<widget class="TQLayoutWidget" row="4" column="0" rowspan="1" colspan="2">
<property name="name">
<cstring>tqlayout2</cstring>
<cstring>layout2</cstring>
</property>
<hbox>
<property name="name">

@ -22,7 +22,7 @@ PageShortcuts::PageShortcuts( TQWidget *parent, const char *name ) : PageShortcu
m_key = new KKeyChooser(servercontroller::self()->getGlobalAccel(), globalGB);
connect(m_key, TQT_SIGNAL(keyChange()), this, TQT_SLOT(changed()));
globalGB->tqlayout()->add(m_key);
globalGB->layout()->add(m_key);
}
PageShortcuts::~PageShortcuts()

@ -131,7 +131,7 @@ void aHistLineEdit::slotMaybeResize()
s.setHeight(h);
resize(s);
setFixedHeight( h );
TQLayout *l = topLevelWidget()->tqlayout();
TQLayout *l = topLevelWidget()->layout();
if(l){
l->invalidate();
l->activate();
@ -352,7 +352,7 @@ void aHistLineEdit::mousePressEvent ( TQMouseEvent *e )
{
if(e->button() == MidButton){
/*
* emit pasteText(TQApplication::tqclipboard()->text(TQClipboard::Selection));
* emit pasteText(TQApplication::clipboard()->text(TQClipboard::Selection));
*/
}
else{
@ -381,10 +381,10 @@ void aHistLineEdit::paste()
{
/* we let the top level take it */
if(ksopts->oneLineEntry) {
emit pasteText(TQApplication::tqclipboard()->text(TQClipboard::Selection));
emit pasteText(TQApplication::clipboard()->text(TQClipboard::Selection));
}
else {
TQString paste = TQApplication::tqclipboard()->text(TQClipboard::Selection);
TQString paste = TQApplication::clipboard()->text(TQClipboard::Selection);
paste.replace("\n", " ~ ");
insert(paste);
}

@ -27,7 +27,7 @@ aListBox::aListBox(TQWidget *parent, const char *name )
: TQListBox(parent,name)
{
clear();
p_scroll = TQPalette(tqpalette());
p_scroll = TQPalette(palette());
setAcceptDrops( true );
connect(this, TQT_SIGNAL(selected (const TQString&)),
this, TQT_SIGNAL(selectedNick(const TQString&)));

@ -38,37 +38,37 @@ chanButtons::chanButtons(KSircProcess *proc, TQWidget *parent, const char *name)
toggleMenu[5] = Popupmenu->insertItem(i18n("w (receive wallops)"), this, TQT_SLOT(wallops()));
toggleMenu[6] = Popupmenu->insertItem(i18n("s (get server notices)"), this, TQT_SLOT(serverNotices()));
tqlayout = new TQHBoxLayout(this);
tqlayout->setSpacing(0);
tqlayout->setMargin(0);
layout = new TQHBoxLayout(this);
layout->setSpacing(0);
layout->setMargin(0);
protectButton = new TQPushButton(i18n("T"), this);
protectButton->setToggleButton(true);
makeSquare(protectButton);
TQToolTip::add(protectButton, i18n("Only op'ed users can change the topic"));
connect(protectButton, TQT_SIGNAL(clicked()), this, TQT_SLOT(protectMode()));
tqlayout->addWidget(protectButton);
layout->addWidget(protectButton);
outsideButton = new TQPushButton(i18n("N"), this);
outsideButton->setToggleButton(true);
makeSquare(outsideButton);
TQToolTip::add(outsideButton, i18n("No outside messages"));
connect(outsideButton, TQT_SIGNAL(clicked()), this, TQT_SLOT(outsideMode()));
tqlayout->addWidget(outsideButton);
layout->addWidget(outsideButton);
moderateButton = new TQPushButton(i18n("M"), this);
moderateButton->setToggleButton(true);
makeSquare(moderateButton);
TQToolTip::add(moderateButton, i18n("Only op'ed users and voiced users (+v) can speak"));
connect(moderateButton, TQT_SIGNAL(clicked()), this, TQT_SLOT(moderateMode()));
tqlayout->addWidget(moderateButton);
layout->addWidget(moderateButton);
menuButton = new TQPushButton(i18n("..."), this);
makeSquare(menuButton);
menuButton->setFixedWidth(menuButton->width()*2);
menuButton->setPopup(Popupmenu);
TQToolTip::add(menuButton, i18n("More mode commands"));
tqlayout->addWidget(menuButton);
layout->addWidget(menuButton);
}
void chanButtons::invite()

@ -48,7 +48,7 @@ class chanButtons : public TQWidget
private:
int toggleMenu[7];
TQHBoxLayout *tqlayout;
TQHBoxLayout *layout;
TQPushButton *protectButton;
TQPushButton *moderateButton;
TQPushButton *outsideButton;

@ -417,7 +417,7 @@ parseResult * ChannelParser::parseINFONicks(TQString in_string)
uint i;
for(i = 0; i < nick.length();i++){
switch(nick[0].tqunicode()){
switch(nick[0].unicode()){
case '@':
irc->setOp(TRUE);
nick.remove(0,1);
@ -801,7 +801,7 @@ parseResult * ChannelParser::parseINFOMode(TQString string)
pmList.setAutoDelete(true);
for(uint pos = 0; pos < modes.length(); pos++){
switch(modes.at(pos).tqunicode()){
switch(modes.at(pos).unicode()){
case '+':
op = true;
break;
@ -858,7 +858,7 @@ parseResult * ChannelParser::parseINFOMode(TQString string)
/*
* Look at the second character, it's uniq, check for +,- latter
*/
if(mi->mode().tqunicode() == 'o'){
if(mi->mode().unicode() == 'o'){
mode_o_plus = mi->op();
mode_o_minus = !mi->op();

@ -270,7 +270,7 @@ void ColorBar::mouseReleaseEvent( TQMouseEvent *ev )
void ColorBar::updateCellSize()
{
setLineWidth( tqstyle().pixelMetric( TQStyle::PM_DefaultFrameWidth, this ) );
setLineWidth( style().pixelMetric( TQStyle::PM_DefaultFrameWidth, this ) );
TQFontMetrics metrics( font() );

@ -101,7 +101,7 @@
</widget>
<widget class="TQLayoutWidget">
<property name="name">
<cstring>tqlayout2</cstring>
<cstring>layout2</cstring>
</property>
<hbox>
<property name="name">

@ -31,7 +31,7 @@ dccNew::dccNew( TQWidget *parent, const char *name, int type, TQString nick )
: dccNewBase( parent, name)
{
TQColorGroup cg_mainw = kapp->tqpalette().active();
TQColorGroup cg_mainw = kapp->palette().active();
cg_mainw.setColor(TQColorGroup::Base, ksopts->backgroundColor);
cg_mainw.setColor(TQColorGroup::Text, ksopts->textColor);
cg_mainw.setColor(TQColorGroup::Link, ksopts->linkColor);

@ -141,7 +141,7 @@
</widget>
<widget class="TQLayoutWidget">
<property name="name">
<cstring>tqlayout1</cstring>
<cstring>layout1</cstring>
</property>
<hbox>
<property name="name">

@ -645,7 +645,7 @@ bool Tokenizer::parseNextToken( Token &tok )
return false;
tok.id = Token::Text;
tok.value = StringPtr( m_text.tqunicode() + idx,
tok.value = StringPtr( m_text.unicode() + idx,
m_text.length() - idx );
tok.attributes.clear();
return true;
@ -658,7 +658,7 @@ bool Tokenizer::parseNextToken( Token &tok )
{
tok.id = Token::Text;
tok.attributes.clear();
tok.value = StringPtr( m_text.tqunicode(),
tok.value = StringPtr( m_text.unicode(),
(*m_lastTag).index );
m_textBeforeFirstTagProcessed = true;
@ -676,7 +676,7 @@ bool Tokenizer::parseNextToken( Token &tok )
if ( lastType == TagIndex::Open &&
type == TagIndex::Close )
{
const TQChar *tagStart = m_text.tqunicode() + lastIndex + 1;
const TQChar *tagStart = m_text.unicode() + lastIndex + 1;
uint tagLen = ( index - 1 ) - ( lastIndex + 1 ) + 1;
// </bleh> ?
if ( *tagStart == '/' )
@ -699,7 +699,7 @@ bool Tokenizer::parseNextToken( Token &tok )
{
tok.id = Token::Text;
tok.attributes.clear();
tok.value = StringPtr( m_text.tqunicode() + lastIndex + 1,
tok.value = StringPtr( m_text.unicode() + lastIndex + 1,
( index - 1 ) - lastIndex );
m_lastTag = it;
@ -715,7 +715,7 @@ bool Tokenizer::parseNextToken( Token &tok )
Tokenizer::TagIndexList Tokenizer::scanTagIndices( const TQString &text )
{
const TQChar *start = text.tqunicode();
const TQChar *start = text.unicode();
const TQChar *p = start;
const TQChar *endP = p + text.length();
bool quoted = false;
@ -754,7 +754,7 @@ Tokenizer::TagIndexList Tokenizer::scanTagIndices( const TQString &text )
void Tokenizer::resolveEntities( TQString &text, TagIndexList &tags )
{
const TQChar *p = text.tqunicode();
const TQChar *p = text.unicode();
const TQChar *endP = p + text.length();
uint i = 0;
bool scanForSemicolon = false;
@ -793,13 +793,13 @@ void Tokenizer::resolveEntities( TQString &text, TagIndexList &tags )
if ( entityValue.isNull() )
continue;
const uint ampersandPos = ampersand - text.tqunicode();
const uint ampersandPos = ampersand - text.unicode();
text[ ampersandPos ] = entityValue;
text.remove( ampersandPos + 1, entityLength + 1 );
i = ampersandPos;
p = text.tqunicode() + i;
endP = text.tqunicode() + text.length();
p = text.unicode() + i;
endP = text.unicode() + text.length();
ampersand = 0;
uint adjustment = entityLength + 1;
@ -1225,7 +1225,7 @@ TextParag::~TextParag()
{
}
void TextParag::tqlayout( int width )
void TextParag::layout( int width )
{
TQPtrList<Item> items;
@ -1658,7 +1658,7 @@ void TextView::viewportResizeEvent( TQResizeEvent *ev )
TQScrollView::viewportResizeEvent(ev);
if ( ev->size().width() != ev->oldSize().width() )
tqlayout();
layout();
int newdiff = ev->size().height() - ev->oldSize().height();
setContentsPos( 0, contentsY()-newdiff );
@ -1720,7 +1720,7 @@ void TextView::clear()
stopAutoScroll();
clearSelection();
m_parags.clear();
tqlayout();
layout();
viewport()->erase();
}
@ -1728,7 +1728,7 @@ TextParagIterator TextView::appendParag( const TQString &richText )
{
TextParag *parag = new TextParag( this, richText );
m_parags.append( parag );
tqlayout( false );
layout( false );
scrollToBottom();
TQPtrListIterator<TextParag> it( m_parags );
it.toLast();
@ -1758,7 +1758,7 @@ bool TextView::removeParag( const TextParagIterator &parag )
if(m_selectionEnd.item != 0)
m_selectionEnd.pos.ry() -= height;
//tqlayout( false );
//layout( false );
contentsChange(-height, true);
@ -1814,7 +1814,7 @@ void TextView::setLinkColor( const TQColor &linkColor )
void TextView::copy()
{
TQApplication::tqclipboard()->setText( m_selectedText );
TQApplication::clipboard()->setText( m_selectedText );
}
void TextView::clearSelectionInternal()
@ -1953,7 +1953,7 @@ void TextView::contentsMouseReleaseEvent( TQMouseEvent *ev )
m_selectionMaybeStart = SelectionPoint();
if ( (ev->button() & Qt::LeftButton) && !m_selectedText.isEmpty() )
TQApplication::tqclipboard()->setText( m_selectedText, TQClipboard::Selection );
TQApplication::clipboard()->setText( m_selectedText, TQClipboard::Selection );
if ( clicked ) {
emitLinkClickedForMouseEvent( ev );
@ -1962,7 +1962,7 @@ void TextView::contentsMouseReleaseEvent( TQMouseEvent *ev )
if (ev->button() & Qt::MidButton)
{
emit pasteReq( KApplication::tqclipboard()->text( TQClipboard::Selection ) );
emit pasteReq( KApplication::clipboard()->text( TQClipboard::Selection ) );
return;
}
}
@ -1973,7 +1973,7 @@ void TextView::fontChange( const TQFont & )
for (; it.current(); ++it )
it.current()->fontChange( font() );
tqlayout( true );
layout( true );
}
void TextView::startDrag()
@ -2156,7 +2156,7 @@ TQString TextView::updateSelection( const SelectionPoint &start, const Selection
return selectedText;
}
void TextView::tqlayout( bool force )
void TextView::layout( bool force )
{
int height = 0;
int contentsWidth = visibleWidth();
@ -2166,7 +2166,7 @@ void TextView::tqlayout( bool force )
for (; it.current(); ++it )
{
if ( !it.current()->isLayouted() || force )
it.current()->tqlayout( width );
it.current()->layout( width );
height += it.current()->height();
contentsWidth = kMax( contentsWidth, it.current()->minWidth() );
@ -2182,7 +2182,7 @@ void TextView::tqlayout( bool force )
void TextView::contentsChange(int heightChange, bool force)
{
if(m_height == -1){
tqlayout(force);
layout(force);
}
else {
m_height += heightChange;
@ -2248,7 +2248,7 @@ void TextParagIterator::setRichText( const TQString &richText )
m_paragIt.current()->setRichText( richText );
TextView *textView = m_paragIt.current()->textView();
textView->tqlayout( false );
textView->layout( false );
if ( textView->isUpdatesEnabled() )
textView->updateContents();

@ -40,7 +40,7 @@ struct StringPtr
StringPtr( const TQChar *_ptr, uint _len )
: ptr( _ptr ), len( _len ) {}
explicit StringPtr( const TQString &s ) // use with care!
: ptr( s.tqunicode() ), len( s.length() ) {}
: ptr( s.unicode() ), len( s.length() ) {}
inline bool isNull() const { return ptr == 0; }
@ -354,7 +354,7 @@ public:
~TextParag();
void tqlayout( int width );
void layout( int width );
void paint( TQPainter &p, int y, int maxY );
@ -537,7 +537,7 @@ private:
SelectionPoint *selectionStart();
SelectionPoint *selectionEnd();
void tqlayout( bool force = true );
void layout( bool force = true );
Item *itemAt( const TQPoint &pos, SelectionPoint *selectionInfo = 0,
Item::SelectionAccuracy accuracy = Item::SelectExact );

@ -308,7 +308,7 @@ void KSircView::openBrowser(const TQString &url )
void KSircView::copyLinkToClipboard( const TQString &url )
{
TQApplication::tqclipboard()->setText( url, TQClipboard::Clipboard );
TQApplication::clipboard()->setText( url, TQClipboard::Clipboard );
}
TQColor KSircView::ircColor(int code)

@ -43,7 +43,7 @@ int nickColourMaker::findIdx(TQString nick) const
return -1;
for(i = 0; i < nick.length(); i++){
c = nick[i].tqunicode();
c = nick[i].unicode();
switch(c){
case '|':
case '-':

@ -11,7 +11,7 @@ under Linux.
Puke's a generic protocol allowing dsirc to communicate with ksirc.
Communications works over a unix domain socket between multiple
client dsirc process's to a single ksirc process. All communications
is done via a variable length message with the following tqlayout:
is done via a variable length message with the following layout:
=begin text
@ -68,17 +68,17 @@ supporting perl5-oop object.
The C++ code must be able to hand all required settings and messages
for the widget. Each new widget iherites it's parent and so forth
allowing for a nice oop tqlayout. The widget structure the author is
allowing for a nice oop layout. The widget structure the author is
following is the same as Qt's. Their seems to work well, why
re-invent the wheel?
=item 2.1.1 General Layout, etc
Figure where your new widget goes in the heirachy. If it's a simple
Qt widget, I recommend using their existing tqlayout. Man pages list
Qt widget, I recommend using their existing layout. Man pages list
what widgets inherit what.
The general idea behind the widget tqlayout should be to be to provide
The general idea behind the widget layout should be to be to provide
all the functionality of the widget to dsirc perl script. Incoming
messages are handled via the messageHandler and ALL messages should
return an ACK with current state info.

@ -993,14 +993,14 @@
#define PWIDGET_OBJFINDER 18
// Group tqlayout commands exist between 10000 and 11000
// Group layout commands exist between 10000 and 11000
// Desc: create new box tqlayout
// Desc: create new box layout
// iWinId: PWidget parent
// iArg: 2 shorts, short[0] direction, short[1] border
// cArg: random character string
#define PUKE_LAYOUT_NEW 11000
// Desc: ack for box tqlayout
// Desc: ack for box layout
// iWinId: Layout ID.
// iArg: not define
// cArg: same random m character string as PUKE_LAYOUT_NEW
@ -1009,7 +1009,7 @@
#define PUKE_LAYOUT_ADDLAYOUT 11005
#define PUKE_LAYOUT_ADDLAYOUT_ACK -11005
// Desc: add widget into tqlayout manager
// Desc: add widget into layout manager
// iWinId: Layout Manager to add widget too
// iArg: Widget Id to be added
// cArg: 2 characters, char[0] strech, char[1] alignment
@ -1032,7 +1032,7 @@
// cArg: not define
#define PUKE_LAYOUT_ADDSTRUT_ACK -11015
// Desc: activates tqlayout management, like show() for widget
// Desc: activates layout management, like show() for widget
// iWinId: Layout Manager to activate
// iArg: undef
// cArg: undef

@ -6,7 +6,7 @@
&docommand("/load ptablevw.pm");
&docommand("/load plistbox.pm");
&docommand("/load pbutton.pm");;
&docommand("/load pboxtqlayout.pm");
&docommand("/load pboxlayout.pm");
&docommand("/load plabel.pm");
&docommand("/load pbutton.pm");
&docommand("/load ppushbt.pm");

@ -1,7 +1,7 @@
&docommand("/load pbase.pm");
&docommand("/load pwidget.pm");
&docommand("/load pframe.pm");
&docommand("/load pboxtqlayout.pm");
&docommand("/load pboxlayout.pm");
&docommand("/load plined.pm");
&docommand("/load pbutton.pm");
&docommand("/load ppushbt.pm");

@ -40,7 +40,7 @@ sub new {
#}
# else{
if(ref($widget) ne ''){
# print "*\cbI\cb* Generic Non-topleve tqlayout type\n";
# print "*\cbI\cb* Generic Non-topleve layout type\n";
$self->{Parent} = $widget;
$self->{ParentType} = 'Widget';
$self->{Direction} = shift;
@ -99,7 +99,7 @@ sub addWidget {
my $align = shift;
if($self->{Added} == 0){
print "*E* Burp: Can't add widget without first being added to parent tqlayout\n";
print "*E* Burp: Can't add widget without first being added to parent layout\n";
return;
}
@ -128,41 +128,41 @@ sub addLayout {
my $self = shift;
if($self->{Added} == 0){
print "*E* Burp: Can't add tqlayout without first being added to parent tqlayout\n";
print "*E* Burp: Can't add layout without first being added to parent layout\n";
}
my $tqlayout = shift;
if(ref($tqlayout) ne 'PBoxLayout'){
print "*E* Passed non tqlayout type to addLayout\n";
my $layout = shift;
if(ref($layout) ne 'PBoxLayout'){
print "*E* Passed non layout type to addLayout\n";
return 1;
}
if($tqlayout->{iWinId} <= 0){
print "*E* Trying to add invalid tqlayout " . ref($tqlayout) . "\n";
if($layout->{iWinId} <= 0){
print "*E* Trying to add invalid layout " . ref($layout) . "\n";
return;
}
# make sure we can run, and the widget we want to add can run.
# my @ARG = ($tqlayout);
# my @ARG = ($layout);
#$self->canRun($self, \&PBoxLayout::addLayout, \@ARG) || return;
#$tqlayout->canRun($self, \&PBoxLayout::addLayout, \@ARG) || return;
#$layout->canRun($self, \&PBoxLayout::addLayout, \@ARG) || return;
my %REPLY = $self->sendMessage('iCommand' => $::PUKE_LAYOUT_ADDLAYOUT,
'iWinId' => $self->{iWinId},
'iArg' => $tqlayout->{iWinId},
'iArg' => $layout->{iWinId},
'cArg' => pack("C", 0),
'CallBack' => sub { },
'WaitFor' => 1);
# print "*I* Adding tqlayout\n";
# print "*I* Adding layout\n";
if($REPLY{'iArg'} != 0){
print "*E* AddLayout call failed\n";
}
else{
# print "*I* Added new Layout for " . $tqlayout->{iWinId} . "\n";
$tqlayout->{Added} = 1;
# print "*I* Added new Layout for " . $layout->{iWinId} . "\n";
$layout->{Added} = 1;
}
}

@ -16,7 +16,7 @@ PLayout::~PLayout()
// kdDebug(5008) << "PObject: in destructor" << endl;
/*
delete widget();
tqlayout = 0;
layout = 0;
setWidget();
*/
}
@ -34,12 +34,12 @@ PObject *PLayout::createWidget(CreateArgs &ca)
if((ca.parent != 0) &&
(ca.parent->widget()->isWidgetType() == TRUE)){
qbl = new TQBoxLayout((TQWidget *) ca.parent->widget(), (TQBoxLayout::Direction) direction, border);
// kdDebug(5008) << "Creating tqlayout with parent: " << parent.iWinId << endl;
// kdDebug(5008) << "Creating layout with parent: " << parent.iWinId << endl;
}
else{
qbl = new TQBoxLayout((TQBoxLayout::Direction) direction, border);
// kdDebug(5008) << "Creating tqlayout NO PARENT" << endl;
// kdDebug(5008) << "Creating layout NO PARENT" << endl;
}
pw->setWidget(qbl);
pw->setWidgetId(ca.pwI);
@ -142,16 +142,16 @@ void PLayout::setWidget(TQObject *_layout)
return;
}
tqlayout = (TQBoxLayout *) _layout;
layout = (TQBoxLayout *) _layout;
PObject::setWidget(_layout);
}
TQBoxLayout *PLayout::widget()
{
return tqlayout;
return layout;
}
#include "ptqlayout.moc"
#include "playout.moc"

@ -36,7 +36,7 @@ public:
private:
TQBoxLayout *tqlayout;
TQBoxLayout *layout;
};

@ -1,7 +1,7 @@
&docommand("/load pbase.pm");
&docommand("/load pwidget.pm");
&docommand("/load pframe.pm");
&docommand("/load pboxtqlayout.pm");
&docommand("/load pboxlayout.pm");
&docommand("/load plined.pm");
&docommand("/load pbutton.pm");
&docommand("/load ppushbt.pm");

@ -1,7 +1,7 @@
&docommand("/load pbase.pm");
&docommand("/load pwidget.pm");
&docommand("/load pframe.pm");
&docommand("/load pboxtqlayout.pm");
&docommand("/load pboxlayout.pm");
&docommand("/load plined.pm");
&docommand("/load pbutton.pm");
&docommand("/load ppushbt.pm");

@ -3,7 +3,7 @@
&docommand("/load pframe.pm");
&docommand("/load ptablevw.pm");
&docommand("/load plistbox.pm");
&docommand("/load pboxtqlayout.pm");
&docommand("/load pboxlayout.pm");
&docommand("/load plabel.pm");
&docommand("/load pmenudta.pm");
&docommand("/load ppopmenu.pm");

@ -85,7 +85,7 @@ TQStringList KSircTopLevel::cmd_menu;
void
KSircTopLevel::initColors()
{
TQColorGroup cg_mainw = kapp->tqpalette().active();
TQColorGroup cg_mainw = kapp->palette().active();
cg_mainw.setColor(TQColorGroup::Base, ksopts->backgroundColor);
cg_mainw.setColor(TQColorGroup::Text, ksopts->textColor);
cg_mainw.setColor(TQColorGroup::Link, ksopts->linkColor);
@ -216,7 +216,7 @@ KSircTopLevel::KSircTopLevel(KSircProcess *_proc, const KSircChannel &channelInf
kmenu->setAccel(Key_F, KST_CHANNEL_ID);
/*
* Ok, let's look at the basic widget "tqlayout"
* Ok, let's look at the basic widget "layout"
* Everything belongs to q TQFrame F, this is use so we
* can give the KApplication a single main client widget, which is needs.
*
@ -1104,7 +1104,7 @@ void KSircTopLevel::returnPressed()
uint i;
TQChar c;
for(i = 0; (c = s[i]); i++){
switch(c.tqunicode()){
switch(c.unicode()){
case 0336:
s[i] = 002;
break;
@ -1327,13 +1327,13 @@ void KSircTopLevel::control_message(int command, TQString str)
// nicks->show();
// lag->show();
}
if(tqlayout()) {
//kdDebug(5008) << "Redoeing tqlayout" << endl;
tqlayout()->invalidate();
tqlayout()->activate();
if(layout()) {
//kdDebug(5008) << "Redoeing layout" << endl;
layout()->invalidate();
layout()->activate();
}
else {
//kdDebug(5008) << "No tqlayout" << endl;
//kdDebug(5008) << "No layout" << endl;
}
pan->refresh();
@ -1497,8 +1497,8 @@ void KSircTopLevel::openQueryFromNick(const TQString &nick)
void KSircTopLevel::pasteToWindow()
{
// Ctrl-V
//kdDebug(5008) << "Going to paste: " << KApplication::tqclipboard()->text( TQClipboard::Clipboard ) << endl;
slotTextDropped(KApplication::tqclipboard()->text( TQClipboard::Clipboard ) );
//kdDebug(5008) << "Going to paste: " << KApplication::clipboard()->text( TQClipboard::Clipboard ) << endl;
slotTextDropped(KApplication::clipboard()->text( TQClipboard::Clipboard ) );
}
void KSircTopLevel::pasteToNickList(int button,
@ -1510,7 +1510,7 @@ void KSircTopLevel::pasteToNickList(int button,
emit open_toplevel(ci);
TQStringList lines = TQStringList::split( '\n',
KApplication::tqclipboard()->text( TQClipboard::Selection ),
KApplication::clipboard()->text( TQClipboard::Selection ),
true );
TQStringList::ConstIterator it = lines.begin();
TQStringList::ConstIterator end = lines.end();

@ -36,11 +36,11 @@ KTalkdConfigModule::KTalkdConfigModule(TQWidget *parent, const char *name)
config = new KSimpleConfig("ktalkdrc");
announceconfig = new KSimpleConfig("ktalkannouncerc");
TQVBoxLayout *tqlayout = new TQVBoxLayout(this);
TQVBoxLayout *layout = new TQVBoxLayout(this);
tab = new TQTabWidget(this);
tqlayout->addWidget(tab);
layout->addWidget(tab);
soundpage = new KSoundPageConfig(this, "soundpage", config, announceconfig);
answmachpage = new KAnswmachPageConfig(this, "answmachpage", config);

@ -66,7 +66,7 @@ KSoundPageConfig::KSoundPageConfig( TQWidget *parent, const char* name,
extprg_box->setColumnLayout( 0, Qt::Horizontal );
toplay->addWidget(extprg_box);
TQGridLayout* l = new TQGridLayout(extprg_box->tqlayout());
TQGridLayout* l = new TQGridLayout(extprg_box->layout());
extprg_edit = new KURLRequester(extprg_box);
l->addWidget(extprg_edit, 2, 4);

@ -35,8 +35,8 @@ IOSlaveSettings::IOSlaveSettings(const TQString& config, TQWidget *parent)
:KCModule(parent)
,m_config(config,false,true)
{
TQVBoxLayout *tqlayout = new TQVBoxLayout(this, KDialog::marginHint(), KDialog::spacingHint());
tqlayout->setAutoAdd(true);
TQVBoxLayout *layout = new TQVBoxLayout(this, KDialog::marginHint(), KDialog::spacingHint());
layout->setAutoAdd(true);
TQGroupBox* group=new TQGroupBox(1,Qt::Horizontal, i18n("Show Links for Following Services"), this);
@ -53,13 +53,13 @@ IOSlaveSettings::IOSlaveSettings(const TQString& config, TQWidget *parent)
label->setBuddy(m_defaultLisaHostLe);
TQWidget *w=new TQWidget(this);
tqlayout->setStretchFactor(m_ftpSettings,0);
tqlayout->setStretchFactor(m_httpSettings,0);
tqlayout->setStretchFactor(m_nfsSettings,0);
tqlayout->setStretchFactor(m_smbSettings,0);
tqlayout->setStretchFactor(m_shortHostnames,0);
tqlayout->setStretchFactor(hbox,0);
tqlayout->setStretchFactor(w,1);
layout->setStretchFactor(m_ftpSettings,0);
layout->setStretchFactor(m_httpSettings,0);
layout->setStretchFactor(m_nfsSettings,0);
layout->setStretchFactor(m_smbSettings,0);
layout->setStretchFactor(m_shortHostnames,0);
layout->setStretchFactor(hbox,0);
layout->setStretchFactor(w,1);
connect(m_ftpSettings,TQT_SIGNAL(changed()),this,TQT_SIGNAL(changed()));
connect(m_httpSettings,TQT_SIGNAL(changed()),this,TQT_SIGNAL(changed()));

@ -55,8 +55,8 @@ LisaSettings::LisaSettings(const TQString& config, TQWidget *parent)
,m_configFilename(config)
,m_changed(false)
{
TQVBoxLayout *tqlayout = new TQVBoxLayout(this, KDialog::marginHint(), KDialog::spacingHint());
tqlayout->setAutoAdd(true);
TQVBoxLayout *layout = new TQVBoxLayout(this, KDialog::marginHint(), KDialog::spacingHint());
layout->setAutoAdd(true);
TQWidget *dummy(0);
@ -83,7 +83,7 @@ LisaSettings::LisaSettings(const TQString& config, TQWidget *parent)
TQGrid *addressesGrid = new TQGrid(2, Qt::Horizontal, this);
addressesGrid->setSpacing(10);
tqlayout->setStretchFactor(addressesGrid,0);
layout->setStretchFactor(addressesGrid,0);
label=new TQLabel(i18n("&Broadcast network address:"),addressesGrid);
comment=i18n("Your network address/subnet mask (e.g. 192.168.0.0/255.255.255.0;)");
@ -102,7 +102,7 @@ LisaSettings::LisaSettings(const TQString& config, TQWidget *parent)
label->setBuddy(m_allowedAddresses);
dummy=new TQWidget(this);
tqlayout->setStretchFactor(dummy,10);
layout->setStretchFactor(dummy,10);
hbox = new TQHBox(this);
hbox->setSpacing(10);

@ -53,8 +53,8 @@ ResLisaSettings::ResLisaSettings(const TQString& config, TQWidget *parent)
,m_maxPingsAtOnce(0)
,m_reslisaAdvancedDlg(0)
{
TQVBoxLayout *tqlayout = new TQVBoxLayout(this, KDialog::marginHint(), KDialog::spacingHint());
tqlayout->setAutoAdd(true);
TQVBoxLayout *layout = new TQVBoxLayout(this, KDialog::marginHint(), KDialog::spacingHint());
layout->setAutoAdd(true);
TQVButtonGroup *gb=new TQVButtonGroup(i18n("Tell ResLISa Daemon How to Search for Hosts"),this);
gb->setInsideSpacing(10);

@ -256,7 +256,7 @@ void Loader::slotRetrieverDone(const TQByteArray &data, bool success)
}
/* It seems that some Microsoft-developed code generates UTF-8 files
* with the three leading tqunicode characters 0357, 0273, 0277. For
* with the three leading unicode characters 0357, 0273, 0277. For
* an example, check http://msdn.microsoft.com/rss.xml
*/
if (len > 3 && TQChar(*charData) == TQChar(0357)) {

@ -18,7 +18,7 @@
</property>
<widget class="TQLayoutWidget" row="0" column="0">
<property name="name">
<cstring>tqlayout16</cstring>
<cstring>layout16</cstring>
</property>
<hbox>
<property name="name">
@ -91,7 +91,7 @@
</widget>
<widget class="TQLayoutWidget" row="4" column="0">
<property name="name">
<cstring>tqlayout13</cstring>
<cstring>layout13</cstring>
</property>
<hbox>
<property name="name">
@ -137,7 +137,7 @@
</widget>
<widget class="TQLayoutWidget" row="5" column="0">
<property name="name">
<cstring>tqlayout11</cstring>
<cstring>layout11</cstring>
</property>
<hbox>
<property name="name">
@ -189,7 +189,7 @@
</widget>
<widget class="TQLayoutWidget" row="2" column="0">
<property name="name">
<cstring>tqlayout6</cstring>
<cstring>layout6</cstring>
</property>
<hbox>
<property name="name">
@ -297,7 +297,7 @@
</widget>
<widget class="TQLayoutWidget" row="1" column="0">
<property name="name">
<cstring>tqlayout5</cstring>
<cstring>layout5</cstring>
</property>
<hbox>
<property name="name">
@ -365,7 +365,7 @@
</widget>
<widget class="TQLayoutWidget" row="3" column="0">
<property name="name">
<cstring>tqlayout14</cstring>
<cstring>layout14</cstring>
</property>
<hbox>
<property name="name">
@ -403,7 +403,7 @@
</widget>
<widget class="TQLayoutWidget" row="6" column="0">
<property name="name">
<cstring>tqlayout17</cstring>
<cstring>layout17</cstring>
</property>
<hbox>
<property name="name">

@ -360,8 +360,8 @@ KWiFiManagerApp::initView ()
view = new TQWidget (this, "mainwidget");
view->setBackgroundMode (PaletteBackground);
setCentralWidget (view);
TQGridLayout *zentraltqlayout = new TQGridLayout (view);
zentraltqlayout->setMargin( KDialog::marginHint() );
TQGridLayout *zentrallayout = new TQGridLayout (view);
zentrallayout->setMargin( KDialog::marginHint() );
speedmeter = new Speed (view, device);
status = new Status (view, device);
location = new Locator (view, device);
@ -377,12 +377,12 @@ KWiFiManagerApp::initView ()
strength->setMinimumSize (strength->mySizeHint());
speedmeter->setMinimumHeight (60);
status->setMinimumHeight (60);
zentraltqlayout->addWidget (pictogram, 0, 0);
zentraltqlayout->addWidget (strength, 1, 0);
zentraltqlayout->addWidget (speedmeter, 0, 1);
zentraltqlayout->addMultiCellWidget (status, 1, 2, 1, 1);
zentraltqlayout->addWidget (scan, 2, 0);
zentraltqlayout->addMultiCellWidget (location, 3, 3, 0, 1, TQt::AlignLeft);
zentrallayout->addWidget (pictogram, 0, 0);
zentrallayout->addWidget (strength, 1, 0);
zentrallayout->addWidget (speedmeter, 0, 1);
zentrallayout->addMultiCellWidget (status, 1, 2, 1, 1);
zentrallayout->addWidget (scan, 2, 0);
zentrallayout->addMultiCellWidget (location, 3, 3, 0, 1, TQt::AlignLeft);
connect (device, TQT_SIGNAL (interfaceChanged ()), this, TQT_SLOT (slotChangeWindowCaption ()));
connect (device, TQT_SIGNAL (strengthChanged ()), this, TQT_SLOT (slotChangeTrayIcon ()));
connect (device, TQT_SIGNAL (strengthChanged ()), strength, TQT_SLOT (repaint ()));

Loading…
Cancel
Save