summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2018-10-17 23:25:54 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2018-10-17 23:25:54 +0900
commit3734254d2a8548eede2e66b068b304571a520d39 (patch)
treee4f4b2c018f8663cce48cccf827673c447536f81 /src
parent7325a710bc21e649eeedca66cad6ae8070fe5e27 (diff)
downloadkdiff3-3734254d2a8548eede2e66b068b304571a520d39.tar.gz
kdiff3-3734254d2a8548eede2e66b068b304571a520d39.zip
Removed obsolete Qt2's TQList/TQListIterator classes and replaced
with TQt3's TQPtrList/TQPtrListIterator ones. Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'src')
-rw-r--r--src/difftextwindow.cpp2
-rw-r--r--src/kreplacements/kreplacements.cpp2
-rw-r--r--src/kreplacements/kreplacements.h2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/difftextwindow.cpp b/src/difftextwindow.cpp
index 4f5f6dc..ae18a59 100644
--- a/src/difftextwindow.cpp
+++ b/src/difftextwindow.cpp
@@ -1705,7 +1705,7 @@ bool DiffTextWindowFrame::eventFilter( TQObject* o, TQEvent* e )
/* The following lines work for TQt>4.1 but not for 4.0.x*/
/*if ( d->mimeData()->hasUrls() )
{
- TQList<TQUrl> lst = d->mimeData()->urls();
+ TQPtrList<TQUrl> lst = d->mimeData()->urls();
if ( !lst.empty() )
{
static_cast<TQLineEdit*>(o)->setText( lst[0].toLocalFile() );
diff --git a/src/kreplacements/kreplacements.cpp b/src/kreplacements/kreplacements.cpp
index 94e62a4..a6b7a81 100644
--- a/src/kreplacements/kreplacements.cpp
+++ b/src/kreplacements/kreplacements.cpp
@@ -336,7 +336,7 @@ TDEMainWindow::TDEMainWindow( TQWidget* parent, const char* name )
m_pToolBar = new TDEToolBar(this);
- memberList = new TQList<TDEMainWindow>;
+ memberList = new TQPtrList<TDEMainWindow>;
memberList->append(this);
}
diff --git a/src/kreplacements/kreplacements.h b/src/kreplacements/kreplacements.h
index a96f2fa..b8c8b74 100644
--- a/src/kreplacements/kreplacements.h
+++ b/src/kreplacements/kreplacements.h
@@ -200,7 +200,7 @@ public:
void createGUI();
void createGUI(KParts::ReadWritePart*){createGUI();}
- TQList<TDEMainWindow>* memberList;
+ TQPtrList<TDEMainWindow>* memberList;
public slots:
void slotHelp();
void slotAbout();