|
|
@ -218,7 +218,7 @@ KSircTopLevel::KSircTopLevel(KSircProcess *_proc, const KSircChannel &channelInf
|
|
|
|
/*
|
|
|
|
/*
|
|
|
|
* Ok, let's look at the basic widget "layout"
|
|
|
|
* Ok, let's look at the basic widget "layout"
|
|
|
|
* Everything belongs to q TQFrame F, this is use so we
|
|
|
|
* Everything belongs to q TQFrame F, this is use so we
|
|
|
|
* can give the KApplication a single main client widget, which is needs.
|
|
|
|
* can give the TDEApplication a single main client widget, which is needs.
|
|
|
|
*
|
|
|
|
*
|
|
|
|
* A TQVbox and a TQHbox is used to ctronl the 3 sub widget
|
|
|
|
* A TQVbox and a TQHbox is used to ctronl the 3 sub widget
|
|
|
|
* The Modified TQListBox is then added side by side with the User list box.
|
|
|
|
* The Modified TQListBox is then added side by side with the User list box.
|
|
|
@ -271,7 +271,7 @@ KSircTopLevel::KSircTopLevel(KSircProcess *_proc, const KSircChannel &channelInf
|
|
|
|
// f = new kstInside(top, TQString(TQObject::name()) + "_" + "kstIFrame");
|
|
|
|
// f = new kstInside(top, TQString(TQObject::name()) + "_" + "kstIFrame");
|
|
|
|
top->setStretchFactor(pan, 1);
|
|
|
|
top->setStretchFactor(pan, 1);
|
|
|
|
|
|
|
|
|
|
|
|
setCentralWidget(top); // Tell the KApplication what the main widget is.
|
|
|
|
setCentralWidget(top); // Tell the TDEApplication what the main widget is.
|
|
|
|
|
|
|
|
|
|
|
|
logFile = 0;
|
|
|
|
logFile = 0;
|
|
|
|
if ( ksopts->chan(m_channelInfo).logging && (m_channelInfo.channel() != "!no_channel" ))
|
|
|
|
if ( ksopts->chan(m_channelInfo).logging && (m_channelInfo.channel() != "!no_channel" ))
|
|
|
@ -1497,8 +1497,8 @@ void KSircTopLevel::openQueryFromNick(const TQString &nick)
|
|
|
|
void KSircTopLevel::pasteToWindow()
|
|
|
|
void KSircTopLevel::pasteToWindow()
|
|
|
|
{
|
|
|
|
{
|
|
|
|
// Ctrl-V
|
|
|
|
// Ctrl-V
|
|
|
|
//kdDebug(5008) << "Going to paste: " << KApplication::clipboard()->text( TQClipboard::Clipboard ) << endl;
|
|
|
|
//kdDebug(5008) << "Going to paste: " << TDEApplication::clipboard()->text( TQClipboard::Clipboard ) << endl;
|
|
|
|
slotTextDropped(KApplication::clipboard()->text( TQClipboard::Clipboard ) );
|
|
|
|
slotTextDropped(TDEApplication::clipboard()->text( TQClipboard::Clipboard ) );
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
void KSircTopLevel::pasteToNickList(int button,
|
|
|
|
void KSircTopLevel::pasteToNickList(int button,
|
|
|
@ -1510,7 +1510,7 @@ void KSircTopLevel::pasteToNickList(int button,
|
|
|
|
emit open_toplevel(ci);
|
|
|
|
emit open_toplevel(ci);
|
|
|
|
|
|
|
|
|
|
|
|
TQStringList lines = TQStringList::split( '\n',
|
|
|
|
TQStringList lines = TQStringList::split( '\n',
|
|
|
|
KApplication::clipboard()->text( TQClipboard::Selection ),
|
|
|
|
TDEApplication::clipboard()->text( TQClipboard::Selection ),
|
|
|
|
true );
|
|
|
|
true );
|
|
|
|
TQStringList::ConstIterator it = lines.begin();
|
|
|
|
TQStringList::ConstIterator it = lines.begin();
|
|
|
|
TQStringList::ConstIterator end = lines.end();
|
|
|
|
TQStringList::ConstIterator end = lines.end();
|
|
|
|