From 9bb8a7c149f8eff9606b86ad0e9745610fff7eeb Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Thu, 24 Nov 2011 16:31:46 -0600 Subject: [PATCH] Fix FTBFS --- apps/ktorrent/main.cpp | 6 +++--- plugins/infowidget/trackerview.h | 2 ++ plugins/infowidget/trackerviewbase.ui | 3 +++ 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 + #include #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 @@ btnRestore_clicked() + + class TQListViewItem; + btnChange_clicked() listTrackers_currentChanged(TQListViewItem*)