summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-11-24 16:31:46 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-11-24 16:31:46 -0600
commit9bb8a7c149f8eff9606b86ad0e9745610fff7eeb (patch)
tree175075dc6c6d4594edbaba777ef8b07c94699ad6
parent5978cf545acb0bf8468e227541a4895535f285eb (diff)
downloadktorrent-9bb8a7c149f8eff9606b86ad0e9745610fff7eeb.tar.gz
ktorrent-9bb8a7c149f8eff9606b86ad0e9745610fff7eeb.zip
Fix FTBFS
-rw-r--r--apps/ktorrent/main.cpp6
-rw-r--r--plugins/infowidget/trackerview.h2
-rw-r--r--plugins/infowidget/trackerviewbase.ui3
3 files changed, 8 insertions, 3 deletions
diff --git a/apps/ktorrent/main.cpp b/apps/ktorrent/main.cpp
index 8e47d69..5e9fcb2 100644
--- a/apps/ktorrent/main.cpp
+++ b/apps/ktorrent/main.cpp
@@ -57,13 +57,13 @@ void StupidWarningMessagesFromTQt( TQtMsgType type, const char *msg )
{
switch ( type )
{
- case QtDebugMsg:
+ case TQtDebugMsg:
// printf("TQt: Debug: %s\n",msg);
break;
- case QtWarningMsg:
+ case TQtWarningMsg:
printf("TQt: Warning: %s\n",msg);
break;
- case QtFatalMsg:
+ case TQtFatalMsg:
printf("TQt: Fatal : %s\n",msg);
abort(); // deliberately core dump
break;
diff --git a/plugins/infowidget/trackerview.h b/plugins/infowidget/trackerview.h
index 5b08760..8a810c7 100644
--- a/plugins/infowidget/trackerview.h
+++ b/plugins/infowidget/trackerview.h
@@ -21,6 +21,8 @@
#ifndef TRACKERVIEW_H
#define TRACKERVIEW_H
+#include <tqlistview.h>
+
#include <kurl.h>
#include "trackerviewbase.h"
diff --git a/plugins/infowidget/trackerviewbase.ui b/plugins/infowidget/trackerviewbase.ui
index e7d355f..154842b 100644
--- a/plugins/infowidget/trackerviewbase.ui
+++ b/plugins/infowidget/trackerviewbase.ui
@@ -298,6 +298,9 @@
<slot>btnRestore_clicked()</slot>
</connection>
</connections>
+<forwards>
+ <forward>class TQListViewItem;</forward>
+</forwards>
<Q_SLOTS>
<slot>btnChange_clicked()</slot>
<slot>listTrackers_currentChanged(TQListViewItem*)</slot>