diff options
Diffstat (limited to 'src/kvirc')
-rw-r--r-- | src/kvirc/kernel/kvi_app.cpp | 23 | ||||
-rw-r--r-- | src/kvirc/kernel/kvi_ircconnection.h | 2 | ||||
-rw-r--r-- | src/kvirc/kvs/kvi_kvs_object.cpp | 2 | ||||
-rw-r--r-- | src/kvirc/kvs/kvi_kvs_object.h | 2 | ||||
-rw-r--r-- | src/kvirc/kvs/kvi_kvs_parser_lside.cpp | 2 | ||||
-rw-r--r-- | src/kvirc/kvs/kvi_kvs_popupmenu.cpp | 2 | ||||
-rw-r--r-- | src/kvirc/sparser/kvi_sp_ctcp.cpp | 2 | ||||
-rw-r--r-- | src/kvirc/ui/kvi_frame.cpp | 4 | ||||
-rw-r--r-- | src/kvirc/ui/kvi_ircview.cpp | 2 | ||||
-rw-r--r-- | src/kvirc/ui/kvi_listview.cpp | 2 | ||||
-rw-r--r-- | src/kvirc/ui/kvi_window.cpp | 1 | ||||
-rw-r--r-- | src/kvirc/ui/kvi_window.h | 2 |
12 files changed, 13 insertions, 33 deletions
diff --git a/src/kvirc/kernel/kvi_app.cpp b/src/kvirc/kernel/kvi_app.cpp index bf30986..41fba1d 100644 --- a/src/kvirc/kernel/kvi_app.cpp +++ b/src/kvirc/kernel/kvi_app.cpp @@ -660,7 +660,7 @@ void KviApp::contextSensitiveHelp() TQWidget * w = g_pApp->focusWidget(); while(w) { - //TQVariant v = w->property("contextSensitiveHelp"); <-- this prints a lot of warnings: this is a QT BUG + //TQVariant v = w->property("contextSensitiveHelp"); <-- this prints a lot of warnings: this is a TQt BUG TQMetaObject * o = w->metaObject(); if(o) { @@ -700,25 +700,6 @@ void KviApp::loadDefaultScript() g_pFrame->lineUpDockWindows(); // missing on TQt 4.x } -// 07.01.2005 06:01: Got this curious gcc error while writing -// the functions below... -// The problem is gone by simply typing make again. -// Memory/Disk transfer error ? -// -// if g++ -DHAVE_CONFIG_H -I. -I. -I../../../src -I/usr/build/kvirccvs/kvirc/src/kvilib/include/ -I/usr/build/kvirccvs/kvirc/src/kvirc/include/ -I/opt/qt/include -I/usr/X11R6/include -I/usr/X11R6/include -I/opt/kde/include -D_REENTRANT -DREENTRANT -I/usr/X11R6/include -DGLOBAL_KVIRC_DIR=\"/usr/local/share/kvirc/3.0.1.99\" -g -MT kvi_ircconnection.o -MD -MP -MF ".deps/kvi_ircconnection.Tpo" -// -c -o kvi_ircconnection.o `test -f '../kernel/kvi_ircconnection.cpp' || echo './'`../kernel/kvi_ircconnection.cpp; -// then mv -f ".deps/kvi_ircconnection.Tpo" ".deps/kvi_ircconnection.Po"; -// else rm -f ".deps/kvi_ircconnection.Tpo"; exit 1; -// fi -// /opt/qt/include/qstringlist.h:62: sorry, not implemented: ` -// expr_with_file_location' not supported by dump_decl -// /opt/qt/include/qstringlist.h: In function `<declaration error>': -// /opt/qt/include/qstringlist.h:62: internal error: Segmentation fault -// Please submit a full bug report, -// with preprocessed source if appropriate. -// See <URL:http://bugzilla.redhat.com/bugzilla/> for instructions. - - void KviApp::checkSuggestRestoreDefaultScript() { static bool bSuggestedOnce = false; @@ -2019,7 +2000,7 @@ void KviApp::timerEvent(TQTimerEvent *e) heartbeat(tNow); } -// qvariant.h uses this , and it is included by the qt generated moc file for TQt >= 3.0.0 +// qvariant.h uses this , and it is included by the tqt generated moc file for TQt >= 3.0.0 #ifdef Bool #undef Bool #endif diff --git a/src/kvirc/kernel/kvi_ircconnection.h b/src/kvirc/kernel/kvi_ircconnection.h index 10277ab..9e70c3d 100644 --- a/src/kvirc/kernel/kvi_ircconnection.h +++ b/src/kvirc/kernel/kvi_ircconnection.h @@ -240,7 +240,7 @@ protected: // KviIrcContext interface // // this starts an asynchronous connection attempt - // you must return control to the qt core for the connection + // you must return control to the tqt core for the connection // operations to be initiated void start(); // kills any running connection or attempt diff --git a/src/kvirc/kvs/kvi_kvs_object.cpp b/src/kvirc/kvs/kvi_kvs_object.cpp index 5efa91e..1eda917 100644 --- a/src/kvirc/kvs/kvi_kvs_object.cpp +++ b/src/kvirc/kvs/kvi_kvs_object.cpp @@ -554,7 +554,7 @@ For example, you can find out if the widget accepts drops by calling [classfnc]$property(acceptDrops)[classfnc].[br] This function will be mainly useful in the [class]wrapper[/class] class. !fn: $setProperty(<TQt property>,<property value>) - Sets a qt property for this widget.[br] + Sets a tqt property for this widget.[br] This is for advanced scripting, and can control really many features of the TQt widgets.[br] For example, the [class]multilineedit[/class] widgets can be set to the "password" echo mode only by using this function call:[br] diff --git a/src/kvirc/kvs/kvi_kvs_object.h b/src/kvirc/kvs/kvi_kvs_object.h index cddbe41..0e9312a 100644 --- a/src/kvirc/kvs/kvi_kvs_object.h +++ b/src/kvirc/kvs/kvi_kvs_object.h @@ -77,7 +77,7 @@ protected: kvs_hobject_t m_hSignalSender; TQString m_szSignalName; - // if this object wraps a qt one, it is here + // if this object wraps a tqt one, it is here TQObject * m_pObject; bool m_bObjectOwner; // do we have to destroy it ? diff --git a/src/kvirc/kvs/kvi_kvs_parser_lside.cpp b/src/kvirc/kvs/kvi_kvs_parser_lside.cpp index bcca75d..69202e1 100644 --- a/src/kvirc/kvs/kvi_kvs_parser_lside.cpp +++ b/src/kvirc/kvs/kvi_kvs_parser_lside.cpp @@ -162,7 +162,7 @@ (We use \\N because KVIrc will first unquote the string when parsing...)[br] \\0 is a special escape that will be replaced by the entire match (is always valid!).[br] WARNING: the "capture-text" feature is not available if KVIrc has been compiled - with qt older than 3.0.0. You can find out if the feature is available by + with tqt older than 3.0.0. You can find out if the feature is available by looking for the string "TQt3" in the array returned by [fnc]$features[/fnc].[br] [flags] may be a combination of the letters 'g','i' and 'w'.[br] 'g' causes the search to be global and not stop after the first occurence of <search pattern>.[br] diff --git a/src/kvirc/kvs/kvi_kvs_popupmenu.cpp b/src/kvirc/kvs/kvi_kvs_popupmenu.cpp index 5f0293d..5d511cd 100644 --- a/src/kvirc/kvs/kvi_kvs_popupmenu.cpp +++ b/src/kvirc/kvs/kvi_kvs_popupmenu.cpp @@ -293,7 +293,7 @@ KviKvsPopupMenuItemLabel::~KviKvsPopupMenuItemLabel() void KviKvsPopupMenuItemLabel::labelDestroyed() { - m_pLabel = 0; // someone (maybe qt, maybe us) has destroyed the label + m_pLabel = 0; // someone (maybe tqt, maybe us) has destroyed the label } diff --git a/src/kvirc/sparser/kvi_sp_ctcp.cpp b/src/kvirc/sparser/kvi_sp_ctcp.cpp index 002e9b1..7ed3dc7 100644 --- a/src/kvirc/sparser/kvi_sp_ctcp.cpp +++ b/src/kvirc/sparser/kvi_sp_ctcp.cpp @@ -1145,7 +1145,7 @@ void KviServerParser::parseCtcpRequestVersion(KviCtcpMessage *msg) { TQString szVersion = "KVIrc " KVI_VERSION " '" KVI_RELEASE_NAME "' " KVI_SOURCES_DATE " - build " KVI_BUILD_DATE " - " KVI_BUILD_FLAGS; szVersion.append(TQString(" - %1 (%2)").arg(KviOsInfo::name()).arg(KviOsInfo::release())); - //szVersion.append(TQString(" - QT Version: %1 - %2").arg(tqVersion()).arg(__tr2qs("http://www.kvirc.net/"))); + //szVersion.append(TQString(" - TQt Version: %1 - %2").arg(tqVersion()).arg(__tr2qs("http://www.kvirc.net/"))); if(!KVI_OPTION_STRING(KviOption_stringCtcpVersionPostfix).isEmpty()) { TQString sz = KVI_OPTION_STRING(KviOption_stringCtcpVersionPostfix); diff --git a/src/kvirc/ui/kvi_frame.cpp b/src/kvirc/ui/kvi_frame.cpp index 0fcdac8..5f9fdf1 100644 --- a/src/kvirc/ui/kvi_frame.cpp +++ b/src/kvirc/ui/kvi_frame.cpp @@ -182,7 +182,7 @@ KviFrame::~KviFrame() // Now start killing stuff - // Explicitly kill all the module extension toolbars: qt has NOT to delete them: we must call their "die" method + // Explicitly kill all the module extension toolbars: tqt has NOT to delete them: we must call their "die" method while(KviMexToolBar * t = m_pModuleExtensionToolBarList->first())t->die(); delete m_pModuleExtensionToolBarList; @@ -1030,7 +1030,7 @@ void KviFrame::toggleStatusBar() delete m_pStatusBar; m_pStatusBar = 0; } else { - //if(statusBar())delete statusBar(); // kill any existing status bar (QT BUG) + //if(statusBar())delete statusBar(); // kill any existing status bar (TQt BUG) m_pStatusBar = new KviStatusBar(this); m_pStatusBar->load(); diff --git a/src/kvirc/ui/kvi_ircview.cpp b/src/kvirc/ui/kvi_ircview.cpp index 3a5b879..9422296 100644 --- a/src/kvirc/ui/kvi_ircview.cpp +++ b/src/kvirc/ui/kvi_ircview.cpp @@ -330,7 +330,7 @@ KviIrcView::KviIrcView(TQWidget *parent,KviFrame *pFrm,KviWindow *pWnd) m_pMessagesStoppedWhileSelecting = new KviPointerList<KviIrcViewLine>; m_pMessagesStoppedWhileSelecting->setAutoDelete(false); - // say qt to avoid erasing on repaint + // say tqt to avoid erasing on repaint setBackgroundMode(NoBackground); m_pFm = 0; // will be updated in the first paint event diff --git a/src/kvirc/ui/kvi_listview.cpp b/src/kvirc/ui/kvi_listview.cpp index 334086c..70bf7af 100644 --- a/src/kvirc/ui/kvi_listview.cpp +++ b/src/kvirc/ui/kvi_listview.cpp @@ -183,7 +183,7 @@ void KviListView::resizeEvent(TQResizeEvent * e) { KviTalListView::resizeEvent(e); if(m_pBackgroundOverlayPixmap) - repaintContents(); // force a full repaint (otherwise qt does not honor static background here) + repaintContents(); // force a full repaint (otherwise tqt does not honor static background here) } #ifdef COMPILE_ON_WINDOWS diff --git a/src/kvirc/ui/kvi_window.cpp b/src/kvirc/ui/kvi_window.cpp index 29ec742..5e066ee 100644 --- a/src/kvirc/ui/kvi_window.cpp +++ b/src/kvirc/ui/kvi_window.cpp @@ -1147,7 +1147,6 @@ void KviWindow::updateBackgrounds(TQObject * obj) for(unsigned int i=0;i<list.count();i++) { TQObject * child = list.at(i); - // FIXME: check if this code can work with qt < 3.0.0 too if(child->metaObject()->findProperty("TransparencyCapable",true) != -1) ((TQWidget *)child)->update(); diff --git a/src/kvirc/ui/kvi_window.h b/src/kvirc/ui/kvi_window.h index 940fcf5..dce7bb7 100644 --- a/src/kvirc/ui/kvi_window.h +++ b/src/kvirc/ui/kvi_window.h @@ -182,7 +182,7 @@ public: // THIS is the function that should be used const TQString & windowName(){ return m_szName; }; void setWindowName(const TQString &szName); - // force QT to set our UNICODE name too... FIXME: this should be removed later... + // force TQt to set our UNICODE name too... FIXME: this should be removed later... virtual void setName(const char * szName); // Window type management |