diff options
126 files changed, 136 insertions, 136 deletions
diff --git a/apps/ktorrent/addpeerwidget.h b/apps/ktorrent/addpeerwidget.h index d0c23f5..4ca8db8 100644 --- a/apps/ktorrent/addpeerwidget.h +++ b/apps/ktorrent/addpeerwidget.h @@ -44,7 +44,7 @@ namespace bt class ManualPeerSource: public kt::PeerSource { Q_OBJECT - TQ_OBJECT + public: ManualPeerSource(); @@ -79,7 +79,7 @@ class ManualPeerSource: public kt::PeerSource class AddPeerWidget: public AddPeerWidgetBase { Q_OBJECT - TQ_OBJECT + public: AddPeerWidget(kt::TorrentInterface* tc, TQWidget *parent = 0, const char *name = 0); ~AddPeerWidget(); diff --git a/apps/ktorrent/fileselectdlg.h b/apps/ktorrent/fileselectdlg.h index 2fc4393..9a67482 100644 --- a/apps/ktorrent/fileselectdlg.h +++ b/apps/ktorrent/fileselectdlg.h @@ -43,7 +43,7 @@ namespace kt class FileSelectDlg : public FileSelectDlgBase, public kt::FileTreeRootListener { Q_OBJECT - TQ_OBJECT + kt::TorrentInterface* tc; kt::FileTreeDirItem* root; diff --git a/apps/ktorrent/filterbar.h b/apps/ktorrent/filterbar.h index 4fc5d5a..06743ff 100644 --- a/apps/ktorrent/filterbar.h +++ b/apps/ktorrent/filterbar.h @@ -42,7 +42,7 @@ namespace kt class FilterBar : public TQWidget { Q_OBJECT - TQ_OBJECT + public: FilterBar ( TQWidget *parent = 0, const char *name = 0 ); diff --git a/apps/ktorrent/groups/groupview.h b/apps/ktorrent/groups/groupview.h index 2805548..3243487 100644 --- a/apps/ktorrent/groups/groupview.h +++ b/apps/ktorrent/groups/groupview.h @@ -53,7 +53,7 @@ namespace kt class GroupView : public KListView { Q_OBJECT - TQ_OBJECT + public: GroupView(ViewManager* view,KActionCollection* col,TQWidget *parent = 0, const char *name = 0); virtual ~GroupView(); diff --git a/apps/ktorrent/groups/torrentdrag.h b/apps/ktorrent/groups/torrentdrag.h index 24b6fb2..b7eeebd 100644 --- a/apps/ktorrent/groups/torrentdrag.h +++ b/apps/ktorrent/groups/torrentdrag.h @@ -32,7 +32,7 @@ namespace kt class TorrentDrag : public TQStoredDrag { Q_OBJECT - TQ_OBJECT + public: TorrentDrag(TQWidget* src,const char *name = 0); virtual ~TorrentDrag(); diff --git a/apps/ktorrent/ipfilterwidget.h b/apps/ktorrent/ipfilterwidget.h index d03da92..8863b1a 100644 --- a/apps/ktorrent/ipfilterwidget.h +++ b/apps/ktorrent/ipfilterwidget.h @@ -30,7 +30,7 @@ class IPFilterWidget: public BlacklistWidgetBase { Q_OBJECT - TQ_OBJECT + public: IPFilterWidget(TQWidget *parent = 0, const char *name = 0); diff --git a/apps/ktorrent/ktorrent.h b/apps/ktorrent/ktorrent.h index 6ac7bee..f32641a 100644 --- a/apps/ktorrent/ktorrent.h +++ b/apps/ktorrent/ktorrent.h @@ -66,7 +66,7 @@ namespace kt class KTorrent : public DMainWindow, public kt::GUIInterface { Q_OBJECT - TQ_OBJECT + public: /** * Default Constructor diff --git a/apps/ktorrent/ktorrentapp.h b/apps/ktorrent/ktorrentapp.h index 1bbc525..5e6d300 100644 --- a/apps/ktorrent/ktorrentapp.h +++ b/apps/ktorrent/ktorrentapp.h @@ -27,7 +27,7 @@ class KTorrentApp : public KUniqueApplication { Q_OBJECT - TQ_OBJECT + public: KTorrentApp(); virtual ~KTorrentApp(); diff --git a/apps/ktorrent/ktorrentcore.h b/apps/ktorrent/ktorrentcore.h index 4cafb65..f17cb89 100644 --- a/apps/ktorrent/ktorrentcore.h +++ b/apps/ktorrent/ktorrentcore.h @@ -63,7 +63,7 @@ class KProgress; class KTorrentCore : public kt::CoreInterface { Q_OBJECT - TQ_OBJECT + public: KTorrentCore(kt::GUIInterface* gui); virtual ~KTorrentCore(); diff --git a/apps/ktorrent/ktorrentdcop.h b/apps/ktorrent/ktorrentdcop.h index 769cc60..2e0f7e0 100644 --- a/apps/ktorrent/ktorrentdcop.h +++ b/apps/ktorrent/ktorrentdcop.h @@ -30,7 +30,7 @@ class KTorrent; class KTorrentDCOP : public TQObject,virtual public DCOPInterface { Q_OBJECT - TQ_OBJECT + KTorrent* app; public: KTorrentDCOP(KTorrent* app); diff --git a/apps/ktorrent/ktorrentview.h b/apps/ktorrent/ktorrentview.h index 0e2de7e..1355baa 100644 --- a/apps/ktorrent/ktorrentview.h +++ b/apps/ktorrent/ktorrentview.h @@ -66,7 +66,7 @@ private: class KTorrentView : public TQWidget { Q_OBJECT - TQ_OBJECT + public: enum ActionEnableFlags { diff --git a/apps/ktorrent/ktorrentviewmenu.h b/apps/ktorrent/ktorrentviewmenu.h index f6f0263..c8cdbc5 100644 --- a/apps/ktorrent/ktorrentviewmenu.h +++ b/apps/ktorrent/ktorrentviewmenu.h @@ -30,7 +30,7 @@ class KTorrentView; class KTorrentViewMenu : public KPopupMenu { Q_OBJECT - TQ_OBJECT + public: KTorrentViewMenu(KTorrentView *parent, const char *name = 0 ); virtual ~KTorrentViewMenu(); diff --git a/apps/ktorrent/newui/button.h b/apps/ktorrent/newui/button.h index 18aecd4..03e2876 100644 --- a/apps/ktorrent/newui/button.h +++ b/apps/ktorrent/newui/button.h @@ -39,7 +39,7 @@ A TQPushButton derivative with a size of a TQToolBar. Button can be rotated */ class Button : public TQPushButton { Q_OBJECT - TQ_OBJECT + public: Button(ButtonBar *parent, const TQString text, const TQIconSet &icon = TQIconSet(), const TQString &description = TQString()); diff --git a/apps/ktorrent/newui/buttonbar.h b/apps/ktorrent/newui/buttonbar.h index 8128fe6..2cb3e9f 100644 --- a/apps/ktorrent/newui/buttonbar.h +++ b/apps/ktorrent/newui/buttonbar.h @@ -53,7 +53,7 @@ placing on the left(right, bottom, top) corners of a window as a bar with slider */ class ButtonBar : public TQWidget { Q_OBJECT - TQ_OBJECT + public: ButtonBar(Place place, ButtonMode mode = IconsAndText, TQWidget *parent = 0, const char *name = 0); diff --git a/apps/ktorrent/newui/ddockwindow.h b/apps/ktorrent/newui/ddockwindow.h index 6252f14..b0f3607 100644 --- a/apps/ktorrent/newui/ddockwindow.h +++ b/apps/ktorrent/newui/ddockwindow.h @@ -40,7 +40,7 @@ namespace Ideal { class DDockWindow : public TQDockWindow { Q_OBJECT - TQ_OBJECT + public: enum Position { Bottom, Left, Right }; diff --git a/apps/ktorrent/newui/dmainwindow.h b/apps/ktorrent/newui/dmainwindow.h index b70a5f4..7a00f00 100644 --- a/apps/ktorrent/newui/dmainwindow.h +++ b/apps/ktorrent/newui/dmainwindow.h @@ -33,7 +33,7 @@ namespace Ideal { /**Main window which provides simplified IDEA mode.*/ class DMainWindow: public KParts::MainWindow { Q_OBJECT - TQ_OBJECT + public: DMainWindow(TQWidget *parent = 0, const char *name = 0); virtual ~DMainWindow(); diff --git a/apps/ktorrent/newui/docksplitter.h b/apps/ktorrent/newui/docksplitter.h index 3f0a226..4ecda58 100644 --- a/apps/ktorrent/newui/docksplitter.h +++ b/apps/ktorrent/newui/docksplitter.h @@ -32,7 +32,7 @@ class DockWidget; */ class DockSplitter: public TQSplitter { Q_OBJECT - TQ_OBJECT + public: DockSplitter(Qt::Orientation orientation, TQWidget *parent = 0, const char *name = 0); ~DockSplitter(); diff --git a/apps/ktorrent/newui/dtabwidget.h b/apps/ktorrent/newui/dtabwidget.h index cca5caa..99559d9 100644 --- a/apps/ktorrent/newui/dtabwidget.h +++ b/apps/ktorrent/newui/dtabwidget.h @@ -26,7 +26,7 @@ class TQToolButton; class DTabWidget: public KTabWidget { Q_OBJECT - TQ_OBJECT + public: DTabWidget(TQWidget *parent=0, const char *name=0); diff --git a/apps/ktorrent/pastedialog.h b/apps/ktorrent/pastedialog.h index 03cbdfe..c40cf43 100644 --- a/apps/ktorrent/pastedialog.h +++ b/apps/ktorrent/pastedialog.h @@ -31,7 +31,7 @@ class KTorrentCore; class PasteDialog: public PasteDlgBase { Q_OBJECT - TQ_OBJECT + public slots: virtual void btnOK_clicked(); diff --git a/apps/ktorrent/pref.h b/apps/ktorrent/pref.h index 121bce7..e1108d5 100644 --- a/apps/ktorrent/pref.h +++ b/apps/ktorrent/pref.h @@ -51,7 +51,7 @@ public: class GeneralPrefPage : public TQObject,public kt::PrefPageInterface { Q_OBJECT - TQ_OBJECT + GeneralPref* gp; public: GeneralPrefPage(); @@ -72,7 +72,7 @@ private slots: class AdvancedPrefPage : public TQObject,public kt::PrefPageInterface { Q_OBJECT - TQ_OBJECT + AdvancedPref* ap; public: @@ -95,7 +95,7 @@ private slots: class KTorrentPreferences : public KDialogBase { Q_OBJECT - TQ_OBJECT + public: KTorrentPreferences(KTorrent & ktor); virtual ~KTorrentPreferences(); diff --git a/apps/ktorrent/queuedialog.h b/apps/ktorrent/queuedialog.h index b672fa9..d025fbf 100644 --- a/apps/ktorrent/queuedialog.h +++ b/apps/ktorrent/queuedialog.h @@ -51,7 +51,7 @@ class QueueItem: public TQListViewItem class QueueDialog: public QueueDlg { Q_OBJECT - TQ_OBJECT + public: QueueDialog(bt::QueueManager* qm, TQWidget *parent = 0, const char *name = 0); public slots: diff --git a/apps/ktorrent/scandialog.h b/apps/ktorrent/scandialog.h index 5d3b512..62a3d7b 100644 --- a/apps/ktorrent/scandialog.h +++ b/apps/ktorrent/scandialog.h @@ -37,7 +37,7 @@ class KTorrentCore; class ScanDialog : public ScanDlgBase, public bt::DataCheckerListener { Q_OBJECT - TQ_OBJECT + public: ScanDialog(KTorrentCore* core,bool auto_import,TQWidget* parent = 0, const char* name = 0, bool modal = false, WFlags fl = WDestructiveClose ); virtual ~ScanDialog(); diff --git a/apps/ktorrent/speedlimitsdlg.h b/apps/ktorrent/speedlimitsdlg.h index ec1d4b7..e1b8b60 100644 --- a/apps/ktorrent/speedlimitsdlg.h +++ b/apps/ktorrent/speedlimitsdlg.h @@ -31,7 +31,7 @@ namespace kt class SpeedLimitsDlg : public SpeedLimitsDlgBase { Q_OBJECT - TQ_OBJECT + kt::TorrentInterface* tor; public: diff --git a/apps/ktorrent/torrentcreatordlg.h b/apps/ktorrent/torrentcreatordlg.h index 2098331..b19c2fb 100644 --- a/apps/ktorrent/torrentcreatordlg.h +++ b/apps/ktorrent/torrentcreatordlg.h @@ -19,7 +19,7 @@ class KTorrentCore; class TorrentCreatorDlg: public TorrentCreatorDlgBase { Q_OBJECT - TQ_OBJECT + public: TorrentCreatorDlg(KTorrentCore* core,TQWidget *parent = 0, const char *name = 0); virtual ~TorrentCreatorDlg(); diff --git a/apps/ktorrent/trayhoverpopup.h b/apps/ktorrent/trayhoverpopup.h index b1a9b9e..f052424 100644 --- a/apps/ktorrent/trayhoverpopup.h +++ b/apps/ktorrent/trayhoverpopup.h @@ -34,7 +34,7 @@ class TQPixmap; class TrayHoverPopup : public KPassivePopup { Q_OBJECT - TQ_OBJECT + public: TrayHoverPopup(const TQPixmap & pix,TQWidget *parent = 0, const char *name = 0 ); virtual ~TrayHoverPopup(); diff --git a/apps/ktorrent/trayicon.h b/apps/ktorrent/trayicon.h index 6e4ac11..00ea664 100644 --- a/apps/ktorrent/trayicon.h +++ b/apps/ktorrent/trayicon.h @@ -50,7 +50,7 @@ struct TrayStats class TrayIcon : public KSystemTray { Q_OBJECT - TQ_OBJECT + public: TrayIcon(KTorrentCore* tc, TQWidget *parent = 0, const char *name = 0); virtual ~TrayIcon(); @@ -124,7 +124,7 @@ private: class SetMaxRate : public KPopupMenu { Q_OBJECT - TQ_OBJECT + public: SetMaxRate(KTorrentCore* tc, int t, TQWidget *parent=0, const char *name=0); // type: 0 Upload; 1 Download ~SetMaxRate() diff --git a/apps/ktorrent/viewmanager.h b/apps/ktorrent/viewmanager.h index 38b658f..1c959aa 100644 --- a/apps/ktorrent/viewmanager.h +++ b/apps/ktorrent/viewmanager.h @@ -35,7 +35,7 @@ class KTorrent; class ViewManager : public TQObject, public kt::CloseTabListener { Q_OBJECT - TQ_OBJECT + public: ViewManager(TQObject *parent = 0, const char *name = 0); virtual ~ViewManager(); diff --git a/apps/ktupnptest/upnptestapp.h b/apps/ktupnptest/upnptestapp.h index 6fd0faf..8d34213 100644 --- a/apps/ktupnptest/upnptestapp.h +++ b/apps/ktupnptest/upnptestapp.h @@ -38,7 +38,7 @@ using kt::UPnPRouter; class UPnPTestApp : public KMainWindow, public kt::LogMonitorInterface { Q_OBJECT - TQ_OBJECT + public: UPnPTestApp(TQWidget *parent = 0, const char *name = 0); virtual ~UPnPTestApp(); diff --git a/libktorrent/expandablewidget.h b/libktorrent/expandablewidget.h index bf76dbb..5d7f8f0 100644 --- a/libktorrent/expandablewidget.h +++ b/libktorrent/expandablewidget.h @@ -43,7 +43,7 @@ namespace kt class ExpandableWidget : public TQWidget { Q_OBJECT - TQ_OBJECT + public: /** * Constructor, the first child must be provided. diff --git a/libktorrent/interfaces/coreinterface.h b/libktorrent/interfaces/coreinterface.h index 9ca2ae1..d3e80c9 100644 --- a/libktorrent/interfaces/coreinterface.h +++ b/libktorrent/interfaces/coreinterface.h @@ -53,7 +53,7 @@ namespace kt class CoreInterface : public TQObject { Q_OBJECT - TQ_OBJECT + public: CoreInterface(); virtual ~CoreInterface(); diff --git a/libktorrent/interfaces/exitoperation.h b/libktorrent/interfaces/exitoperation.h index 4cad283..631acb4 100644 --- a/libktorrent/interfaces/exitoperation.h +++ b/libktorrent/interfaces/exitoperation.h @@ -38,7 +38,7 @@ namespace kt class ExitOperation : public TQObject { Q_OBJECT - TQ_OBJECT + public: ExitOperation(); virtual ~ExitOperation(); @@ -55,7 +55,7 @@ namespace kt class ExitJobOperation : public ExitOperation { Q_OBJECT - TQ_OBJECT + public: ExitJobOperation(KIO::Job* j); virtual ~ExitJobOperation(); diff --git a/libktorrent/interfaces/peersource.h b/libktorrent/interfaces/peersource.h index c7aa73d..4b3b82a 100644 --- a/libktorrent/interfaces/peersource.h +++ b/libktorrent/interfaces/peersource.h @@ -50,7 +50,7 @@ namespace kt class PeerSource : public TQObject { Q_OBJECT - TQ_OBJECT + public: PeerSource(); virtual ~PeerSource(); diff --git a/libktorrent/interfaces/plugin.h b/libktorrent/interfaces/plugin.h index 9c72a0f..64829dc 100644 --- a/libktorrent/interfaces/plugin.h +++ b/libktorrent/interfaces/plugin.h @@ -48,7 +48,7 @@ namespace kt class Plugin : public KParts::Plugin { Q_OBJECT - TQ_OBJECT + public: /** * Constructor, set the name of the plugin, the name and e-mail of the author and diff --git a/libktorrent/interfaces/torrentfileinterface.h b/libktorrent/interfaces/torrentfileinterface.h index bf30f1e..9795964 100644 --- a/libktorrent/interfaces/torrentfileinterface.h +++ b/libktorrent/interfaces/torrentfileinterface.h @@ -44,7 +44,7 @@ namespace kt class TorrentFileInterface : public TQObject { Q_OBJECT - TQ_OBJECT + public: /** * Constructor, set the path and size. diff --git a/libktorrent/interfaces/torrentinterface.h b/libktorrent/interfaces/torrentinterface.h index 4ab3c74..8b21854 100644 --- a/libktorrent/interfaces/torrentinterface.h +++ b/libktorrent/interfaces/torrentinterface.h @@ -182,7 +182,7 @@ namespace kt class TorrentInterface : public TQObject { Q_OBJECT - TQ_OBJECT + public: TorrentInterface(); virtual ~TorrentInterface(); diff --git a/libktorrent/kademlia/dht.h b/libktorrent/kademlia/dht.h index 11daf82..e3d9c35 100644 --- a/libktorrent/kademlia/dht.h +++ b/libktorrent/kademlia/dht.h @@ -64,7 +64,7 @@ namespace dht class DHT : public DHTBase { Q_OBJECT - TQ_OBJECT + public: DHT(); virtual ~DHT(); diff --git a/libktorrent/kademlia/dhtbase.h b/libktorrent/kademlia/dhtbase.h index 05699c8..dca5e58 100644 --- a/libktorrent/kademlia/dhtbase.h +++ b/libktorrent/kademlia/dhtbase.h @@ -51,7 +51,7 @@ namespace dht class DHTBase : public TQObject { Q_OBJECT - TQ_OBJECT + public: DHTBase(); virtual ~DHTBase(); diff --git a/libktorrent/kademlia/dhttrackerbackend.h b/libktorrent/kademlia/dhttrackerbackend.h index 91141c8..6c87413 100644 --- a/libktorrent/kademlia/dhttrackerbackend.h +++ b/libktorrent/kademlia/dhttrackerbackend.h @@ -47,7 +47,7 @@ namespace dht class DHTTrackerBackend : public kt::PeerSource { Q_OBJECT - TQ_OBJECT + public: DHTTrackerBackend(DHTBase & dh_table,kt::TorrentInterface* tor); virtual ~DHTTrackerBackend(); diff --git a/libktorrent/kademlia/kbucket.h b/libktorrent/kademlia/kbucket.h index efbaceb..cf065a9 100644 --- a/libktorrent/kademlia/kbucket.h +++ b/libktorrent/kademlia/kbucket.h @@ -143,7 +143,7 @@ namespace dht class KBucket : public RPCCallListener { Q_OBJECT - TQ_OBJECT + Uint32 idx; TQValueList<KBucketEntry> entries,pending_entries; diff --git a/libktorrent/kademlia/node.h b/libktorrent/kademlia/node.h index abc7782..01646da 100644 --- a/libktorrent/kademlia/node.h +++ b/libktorrent/kademlia/node.h @@ -45,7 +45,7 @@ namespace dht class Node : public TQObject { Q_OBJECT - TQ_OBJECT + public: Node(RPCServer* srv,const TQString & key_file); virtual ~Node(); diff --git a/libktorrent/kademlia/rpccall.h b/libktorrent/kademlia/rpccall.h index 2a9682e..d7b5ee5 100644 --- a/libktorrent/kademlia/rpccall.h +++ b/libktorrent/kademlia/rpccall.h @@ -35,7 +35,7 @@ namespace dht class RPCCallListener : public TQObject { Q_OBJECT - TQ_OBJECT + public: RPCCallListener(); virtual ~RPCCallListener(); @@ -62,7 +62,7 @@ namespace dht class RPCCall : public TQObject { Q_OBJECT - TQ_OBJECT + public: RPCCall(RPCServer* rpc,MsgBase* msg,bool queued); virtual ~RPCCall(); diff --git a/libktorrent/kademlia/rpcserver.h b/libktorrent/kademlia/rpcserver.h index 0af88be..387daee 100644 --- a/libktorrent/kademlia/rpcserver.h +++ b/libktorrent/kademlia/rpcserver.h @@ -55,7 +55,7 @@ namespace dht class RPCServer : public TQObject { Q_OBJECT - TQ_OBJECT + public: RPCServer(DHT* dh_table,Uint16 port,TQObject *parent = 0); virtual ~RPCServer(); diff --git a/libktorrent/kademlia/task.h b/libktorrent/kademlia/task.h index 3d7189f..c5dd0e6 100644 --- a/libktorrent/kademlia/task.h +++ b/libktorrent/kademlia/task.h @@ -49,7 +49,7 @@ namespace dht class Task : public RPCCallListener { Q_OBJECT - TQ_OBJECT + public: /** * Create a task. diff --git a/libktorrent/labelview.h b/libktorrent/labelview.h index eba2036..bfd816c 100644 --- a/libktorrent/labelview.h +++ b/libktorrent/labelview.h @@ -38,7 +38,7 @@ namespace kt class LabelViewItem : public LabelViewItemBase { Q_OBJECT - TQ_OBJECT + public: LabelViewItem(const TQString & icon,const TQString & title,const TQString & description,LabelView* view); virtual ~LabelViewItem(); @@ -83,7 +83,7 @@ namespace kt class LabelView : public TQScrollView { Q_OBJECT - TQ_OBJECT + public: LabelView(TQWidget *parent = 0, const char *name = 0); virtual ~LabelView(); diff --git a/libktorrent/mse/encryptedauthenticate.h b/libktorrent/mse/encryptedauthenticate.h index 1ab8192..729f18f 100644 --- a/libktorrent/mse/encryptedauthenticate.h +++ b/libktorrent/mse/encryptedauthenticate.h @@ -39,7 +39,7 @@ namespace mse class EncryptedAuthenticate : public bt::Authenticate { Q_OBJECT - TQ_OBJECT + public: EncryptedAuthenticate(const TQString& ip, Uint16 port, const bt::SHA1Hash& info_hash, const bt::PeerID& peer_id, bt::PeerManager* pman); virtual ~EncryptedAuthenticate(); diff --git a/libktorrent/mse/encryptedserverauthenticate.h b/libktorrent/mse/encryptedserverauthenticate.h index b5df3ff..1868d48 100644 --- a/libktorrent/mse/encryptedserverauthenticate.h +++ b/libktorrent/mse/encryptedserverauthenticate.h @@ -36,7 +36,7 @@ namespace mse class EncryptedServerAuthenticate : public bt::ServerAuthenticate { Q_OBJECT - TQ_OBJECT + public: EncryptedServerAuthenticate(mse::StreamSocket* sock, bt::Server* server); virtual ~EncryptedServerAuthenticate(); diff --git a/libktorrent/mse/streamsocket.h b/libktorrent/mse/streamsocket.h index 6cfa6d8..7448296 100644 --- a/libktorrent/mse/streamsocket.h +++ b/libktorrent/mse/streamsocket.h @@ -55,7 +55,7 @@ namespace mse class StreamSocket : public TQObject,public net::SocketReader,public net::SocketWriter { Q_OBJECT - TQ_OBJECT + public: StreamSocket(); StreamSocket(int fd); diff --git a/libktorrent/pluginmanagerprefpage.h b/libktorrent/pluginmanagerprefpage.h index 8585246..72376aa 100644 --- a/libktorrent/pluginmanagerprefpage.h +++ b/libktorrent/pluginmanagerprefpage.h @@ -39,7 +39,7 @@ namespace kt class PluginManagerPrefPage : public TQObject,public PrefPageInterface { Q_OBJECT - TQ_OBJECT + public: PluginManagerPrefPage(PluginManager* pman); virtual ~PluginManagerPrefPage(); diff --git a/libktorrent/torrent/authenticate.h b/libktorrent/torrent/authenticate.h index 36e6d05..0aeb499 100644 --- a/libktorrent/torrent/authenticate.h +++ b/libktorrent/torrent/authenticate.h @@ -44,7 +44,7 @@ namespace bt class Authenticate : public AuthenticateBase { Q_OBJECT - TQ_OBJECT + public: /** diff --git a/libktorrent/torrent/authenticatebase.h b/libktorrent/torrent/authenticatebase.h index 87c851b..2be4ad5 100644 --- a/libktorrent/torrent/authenticatebase.h +++ b/libktorrent/torrent/authenticatebase.h @@ -48,7 +48,7 @@ namespace bt class AuthenticateBase : public TQObject { Q_OBJECT - TQ_OBJECT + public: AuthenticateBase(mse::StreamSocket* s = 0); virtual ~AuthenticateBase(); diff --git a/libktorrent/torrent/chunkdownload.h b/libktorrent/torrent/chunkdownload.h index 83fd3e3..5c89017 100644 --- a/libktorrent/torrent/chunkdownload.h +++ b/libktorrent/torrent/chunkdownload.h @@ -62,7 +62,7 @@ namespace bt class ChunkDownload : public TQObject,public kt::ChunkDownloadInterface { Q_OBJECT - TQ_OBJECT + public: /** * Constructor, set the chunk and the PeerManager. diff --git a/libktorrent/torrent/chunkmanager.h b/libktorrent/torrent/chunkmanager.h index 2ff2ca7..19a0a30 100644 --- a/libktorrent/torrent/chunkmanager.h +++ b/libktorrent/torrent/chunkmanager.h @@ -61,7 +61,7 @@ namespace bt class ChunkManager : public TQObject { Q_OBJECT - TQ_OBJECT + Torrent & tor; TQString index_file,file_info_file,file_priority_file; diff --git a/libktorrent/torrent/downloader.h b/libktorrent/torrent/downloader.h index fece8a6..6c470a1 100644 --- a/libktorrent/torrent/downloader.h +++ b/libktorrent/torrent/downloader.h @@ -67,7 +67,7 @@ namespace bt class Downloader : public TQObject { Q_OBJECT - TQ_OBJECT + public: /** diff --git a/libktorrent/torrent/httptracker.h b/libktorrent/torrent/httptracker.h index effb4b7..b9433cd 100644 --- a/libktorrent/torrent/httptracker.h +++ b/libktorrent/torrent/httptracker.h @@ -42,7 +42,7 @@ namespace bt class HTTPTracker : public Tracker { Q_OBJECT - TQ_OBJECT + public: HTTPTracker(const KURL & url,kt::TorrentInterface* tor,const PeerID & id,int tier); virtual ~HTTPTracker(); diff --git a/libktorrent/torrent/movedatafilesjob.h b/libktorrent/torrent/movedatafilesjob.h index 272ac14..22e7e60 100644 --- a/libktorrent/torrent/movedatafilesjob.h +++ b/libktorrent/torrent/movedatafilesjob.h @@ -32,7 +32,7 @@ namespace bt class MoveDataFilesJob : public KIO::Job { Q_OBJECT - TQ_OBJECT + public: MoveDataFilesJob(); virtual ~MoveDataFilesJob(); diff --git a/libktorrent/torrent/peer.h b/libktorrent/torrent/peer.h index bb487aa..c5dd974 100644 --- a/libktorrent/torrent/peer.h +++ b/libktorrent/torrent/peer.h @@ -68,7 +68,7 @@ namespace bt //,public Object { Q_OBJECT - TQ_OBJECT + public: /** * Constructor, set the socket. diff --git a/libktorrent/torrent/peerdownloader.h b/libktorrent/torrent/peerdownloader.h index 6173c97..16957e3 100644 --- a/libktorrent/torrent/peerdownloader.h +++ b/libktorrent/torrent/peerdownloader.h @@ -94,7 +94,7 @@ namespace bt class PeerDownloader : public TQObject { Q_OBJECT - TQ_OBJECT + public: /** * Constructor, set the Peer diff --git a/libktorrent/torrent/peermanager.h b/libktorrent/torrent/peermanager.h index df55beb..33492c5 100644 --- a/libktorrent/torrent/peermanager.h +++ b/libktorrent/torrent/peermanager.h @@ -56,7 +56,7 @@ namespace bt class PeerManager : public TQObject { Q_OBJECT - TQ_OBJECT + public: /** * Constructor. diff --git a/libktorrent/torrent/peersourcemanager.h b/libktorrent/torrent/peersourcemanager.h index d256397..e6ef3e6 100644 --- a/libktorrent/torrent/peersourcemanager.h +++ b/libktorrent/torrent/peersourcemanager.h @@ -51,7 +51,7 @@ namespace bt class PeerSourceManager : public TQObject, public kt::TrackersList { Q_OBJECT - TQ_OBJECT + TorrentControl* tor; PeerManager* pman; diff --git a/libktorrent/torrent/queuemanager.h b/libktorrent/torrent/queuemanager.h index 9771f53..26b1012 100644 --- a/libktorrent/torrent/queuemanager.h +++ b/libktorrent/torrent/queuemanager.h @@ -56,7 +56,7 @@ namespace bt class QueueManager : public TQObject { Q_OBJECT - TQ_OBJECT + public: QueueManager(); diff --git a/libktorrent/torrent/server.h b/libktorrent/torrent/server.h index b53c2da..3129fd2 100644 --- a/libktorrent/torrent/server.h +++ b/libktorrent/torrent/server.h @@ -45,7 +45,7 @@ namespace bt class Server : public TQObject { Q_OBJECT - TQ_OBJECT + TQPtrList<PeerManager> peer_managers; ServerSocket* sock; diff --git a/libktorrent/torrent/serverauthenticate.h b/libktorrent/torrent/serverauthenticate.h index 3a1c320..bc65cba 100644 --- a/libktorrent/torrent/serverauthenticate.h +++ b/libktorrent/torrent/serverauthenticate.h @@ -38,7 +38,7 @@ namespace bt class ServerAuthenticate : public AuthenticateBase { Q_OBJECT - TQ_OBJECT + public: ServerAuthenticate(mse::StreamSocket* sock,Server* server); virtual ~ServerAuthenticate(); diff --git a/libktorrent/torrent/torrentcontrol.h b/libktorrent/torrent/torrentcontrol.h index c017728..8313afe 100644 --- a/libktorrent/torrent/torrentcontrol.h +++ b/libktorrent/torrent/torrentcontrol.h @@ -68,7 +68,7 @@ namespace bt class TorrentControl : public kt::TorrentInterface { Q_OBJECT - TQ_OBJECT + public: TorrentControl(); virtual ~TorrentControl(); diff --git a/libktorrent/torrent/torrentfile.h b/libktorrent/torrent/torrentfile.h index 9a1d494..7c22611 100644 --- a/libktorrent/torrent/torrentfile.h +++ b/libktorrent/torrent/torrentfile.h @@ -38,7 +38,7 @@ namespace bt class TorrentFile : public kt::TorrentFileInterface { Q_OBJECT - TQ_OBJECT + Uint32 index; Uint64 cache_offset; diff --git a/libktorrent/torrent/tracker.h b/libktorrent/torrent/tracker.h index a017f9e..7a58264 100644 --- a/libktorrent/torrent/tracker.h +++ b/libktorrent/torrent/tracker.h @@ -44,7 +44,7 @@ namespace bt class Tracker : public kt::PeerSource { Q_OBJECT - TQ_OBJECT + public: Tracker(const KURL & url,kt::TorrentInterface* tor,const PeerID & id,int tier); virtual ~Tracker(); diff --git a/libktorrent/torrent/udptracker.h b/libktorrent/torrent/udptracker.h index 85bc21e..240a4ff 100644 --- a/libktorrent/torrent/udptracker.h +++ b/libktorrent/torrent/udptracker.h @@ -62,7 +62,7 @@ namespace bt class UDPTracker : public Tracker { Q_OBJECT - TQ_OBJECT + public: UDPTracker(const KURL & url,kt::TorrentInterface* tor,const PeerID & id,int tier); virtual ~UDPTracker(); diff --git a/libktorrent/torrent/udptrackersocket.h b/libktorrent/torrent/udptrackersocket.h index 7992cdd..2f2900b 100644 --- a/libktorrent/torrent/udptrackersocket.h +++ b/libktorrent/torrent/udptrackersocket.h @@ -54,7 +54,7 @@ namespace bt class UDPTrackerSocket : public TQObject { Q_OBJECT - TQ_OBJECT + public: UDPTrackerSocket(); virtual ~UDPTrackerSocket(); diff --git a/libktorrent/torrent/uploader.h b/libktorrent/torrent/uploader.h index 0950780..aa4f099 100644 --- a/libktorrent/torrent/uploader.h +++ b/libktorrent/torrent/uploader.h @@ -41,7 +41,7 @@ namespace bt class Uploader : public TQObject { Q_OBJECT - TQ_OBJECT + public: /** * Constructor, sets the ChunkManager. diff --git a/libktorrent/util/autorotatelogjob.h b/libktorrent/util/autorotatelogjob.h index ae850b3..37e82a7 100644 --- a/libktorrent/util/autorotatelogjob.h +++ b/libktorrent/util/autorotatelogjob.h @@ -36,7 +36,7 @@ namespace bt class AutoRotateLogJob : public KIO::Job { Q_OBJECT - TQ_OBJECT + public: AutoRotateLogJob(const TQString & file,Log* lg); virtual ~AutoRotateLogJob(); diff --git a/libktorrent/util/httprequest.h b/libktorrent/util/httprequest.h index 524b3b2..f472c07 100644 --- a/libktorrent/util/httprequest.h +++ b/libktorrent/util/httprequest.h @@ -41,7 +41,7 @@ namespace bt class HTTPRequest : public kt::ExitOperation { Q_OBJECT - TQ_OBJECT + public: /** * Constructor, set the url and the request header. diff --git a/libktorrent/util/waitjob.h b/libktorrent/util/waitjob.h index 33b73f5..c0754d6 100644 --- a/libktorrent/util/waitjob.h +++ b/libktorrent/util/waitjob.h @@ -38,7 +38,7 @@ namespace bt class WaitJob : public KIO::Job { Q_OBJECT - TQ_OBJECT + public: WaitJob(Uint32 millis); virtual ~WaitJob(); diff --git a/plugins/infowidget/availabilitychunkbar.h b/plugins/infowidget/availabilitychunkbar.h index 650b6a6..5897591 100644 --- a/plugins/infowidget/availabilitychunkbar.h +++ b/plugins/infowidget/availabilitychunkbar.h @@ -31,7 +31,7 @@ namespace kt class AvailabilityChunkBar : public ChunkBar { Q_OBJECT - TQ_OBJECT + public: AvailabilityChunkBar(TQWidget* parent, const char* name); virtual ~AvailabilityChunkBar(); diff --git a/plugins/infowidget/chunkbar.h b/plugins/infowidget/chunkbar.h index ef078a7..2c2ecf9 100644 --- a/plugins/infowidget/chunkbar.h +++ b/plugins/infowidget/chunkbar.h @@ -50,7 +50,7 @@ namespace kt class ChunkBar : public TQFrame { Q_OBJECT - TQ_OBJECT + public: ChunkBar(TQWidget *parent = 0, const char *name = 0); virtual ~ChunkBar(); diff --git a/plugins/infowidget/chunkdownloadview.h b/plugins/infowidget/chunkdownloadview.h index cc57d5b..e43044a 100644 --- a/plugins/infowidget/chunkdownloadview.h +++ b/plugins/infowidget/chunkdownloadview.h @@ -46,7 +46,7 @@ namespace kt class ChunkDownloadView : public ChunkDownloadViewBase { Q_OBJECT - TQ_OBJECT + TQMap<kt::ChunkDownloadInterface*,ChunkDownloadViewItem*> items; kt::TorrentInterface* curr_tc; diff --git a/plugins/infowidget/downloadedchunkbar.h b/plugins/infowidget/downloadedchunkbar.h index c2f1bcf..1982fc3 100644 --- a/plugins/infowidget/downloadedchunkbar.h +++ b/plugins/infowidget/downloadedchunkbar.h @@ -30,7 +30,7 @@ namespace kt class DownloadedChunkBar : public ChunkBar { Q_OBJECT - TQ_OBJECT + public: DownloadedChunkBar(TQWidget* parent, const char* name); virtual ~DownloadedChunkBar(); diff --git a/plugins/infowidget/fileview.h b/plugins/infowidget/fileview.h index 8e9555d..826cab9 100644 --- a/plugins/infowidget/fileview.h +++ b/plugins/infowidget/fileview.h @@ -35,7 +35,7 @@ namespace kt class FileView : public KListView { Q_OBJECT - TQ_OBJECT + public: FileView(TQWidget *parent = 0, const char *name = 0); virtual ~FileView(); diff --git a/plugins/infowidget/floatspinbox.h b/plugins/infowidget/floatspinbox.h index 515634b..2df9966 100644 --- a/plugins/infowidget/floatspinbox.h +++ b/plugins/infowidget/floatspinbox.h @@ -38,7 +38,7 @@ namespace kt class FloatSpinBox : public TQSpinBox { Q_OBJECT - TQ_OBJECT + public: FloatSpinBox( TQWidget* parent=0, const char* name=0 ); FloatSpinBox( int precision = 2, TQWidget* parent=0, const char* name=0 ); diff --git a/plugins/infowidget/infowidgetplugin.h b/plugins/infowidget/infowidgetplugin.h index 0d3f55c..75a7fea 100644 --- a/plugins/infowidget/infowidgetplugin.h +++ b/plugins/infowidget/infowidgetplugin.h @@ -42,7 +42,7 @@ namespace kt class InfoWidgetPlugin : public Plugin,public ViewListener { Q_OBJECT - TQ_OBJECT + public: InfoWidgetPlugin(TQObject* parent, const char* name, const TQStringList& args); virtual ~InfoWidgetPlugin(); diff --git a/plugins/infowidget/iwfiletreeitem.h b/plugins/infowidget/iwfiletreeitem.h index 4810f92..d2eb350 100644 --- a/plugins/infowidget/iwfiletreeitem.h +++ b/plugins/infowidget/iwfiletreeitem.h @@ -39,7 +39,7 @@ namespace kt class IWFileTreeItem : public TQObject, public kt::FileTreeItem { Q_OBJECT - TQ_OBJECT + double perc_complete; public: diff --git a/plugins/infowidget/localefloatvalidator.h b/plugins/infowidget/localefloatvalidator.h index 2d9b4db..d5217ba 100644 --- a/plugins/infowidget/localefloatvalidator.h +++ b/plugins/infowidget/localefloatvalidator.h @@ -33,7 +33,7 @@ namespace kt{ class LocaleFloatValidator : public TQValidator { Q_OBJECT - TQ_OBJECT + public: LocaleFloatValidator( TQObject * parent, const char *name = 0 ); diff --git a/plugins/infowidget/peerview.h b/plugins/infowidget/peerview.h index fbdef37..f7a293b 100644 --- a/plugins/infowidget/peerview.h +++ b/plugins/infowidget/peerview.h @@ -55,7 +55,7 @@ namespace kt class PeerView : public KListView { Q_OBJECT - TQ_OBJECT + TQMap<kt::PeerInterface*,PeerViewItem*> items; public: diff --git a/plugins/infowidget/statustab.h b/plugins/infowidget/statustab.h index acfa003..b5f73dc 100644 --- a/plugins/infowidget/statustab.h +++ b/plugins/infowidget/statustab.h @@ -30,7 +30,7 @@ namespace kt class StatusTab : public StatusTabBase { Q_OBJECT - TQ_OBJECT + public: StatusTab(TQWidget* parent = 0, const char* name = 0, WFlags fl = 0 ); diff --git a/plugins/infowidget/trackerview.h b/plugins/infowidget/trackerview.h index 8a810c7..2c22eb5 100644 --- a/plugins/infowidget/trackerview.h +++ b/plugins/infowidget/trackerview.h @@ -37,7 +37,7 @@ namespace kt class TrackerView: public TrackerViewBase { Q_OBJECT - TQ_OBJECT + public: TrackerView(TQWidget *parent = 0, const char *name = 0); virtual ~TrackerView(); diff --git a/plugins/ipfilter/convertdialog.h b/plugins/ipfilter/convertdialog.h index 5c170ea..408ff39 100644 --- a/plugins/ipfilter/convertdialog.h +++ b/plugins/ipfilter/convertdialog.h @@ -30,7 +30,7 @@ namespace kt class ConvertDialog: public ConvertingDlg { Q_OBJECT - TQ_OBJECT + public: ConvertDialog( IPFilterPlugin* p, TQWidget *parent = 0, const char *name = 0 ); diff --git a/plugins/ipfilter/ipfilterplugin.h b/plugins/ipfilter/ipfilterplugin.h index c434b2d..251bdcd 100644 --- a/plugins/ipfilter/ipfilterplugin.h +++ b/plugins/ipfilter/ipfilterplugin.h @@ -42,7 +42,7 @@ namespace kt class IPFilterPlugin : public Plugin, public kt::IPBlockingInterface { Q_OBJECT - TQ_OBJECT + public: IPFilterPlugin(TQObject* parent, const char* name, const TQStringList& args); virtual ~IPFilterPlugin(); diff --git a/plugins/logviewer/logprefwidget.h b/plugins/logviewer/logprefwidget.h index efd7dc6..edb93f6 100644 --- a/plugins/logviewer/logprefwidget.h +++ b/plugins/logviewer/logprefwidget.h @@ -27,7 +27,7 @@ namespace kt class LogPrefWidget: public LogPrefWidgetBase { Q_OBJECT - TQ_OBJECT + public: LogPrefWidget(TQWidget *parent = 0, const char *name = 0); bool apply(); diff --git a/plugins/logviewer/logviewer.h b/plugins/logviewer/logviewer.h index 80c37f4..5fc7933 100644 --- a/plugins/logviewer/logviewer.h +++ b/plugins/logviewer/logviewer.h @@ -32,7 +32,7 @@ namespace kt class LogViewer : public KTextBrowser, public LogMonitorInterface { Q_OBJECT - TQ_OBJECT + public: LogViewer(TQWidget *parent = 0, const char *name = 0); virtual ~LogViewer(); diff --git a/plugins/logviewer/logviewerplugin.h b/plugins/logviewer/logviewerplugin.h index 3596148..ba990d6 100644 --- a/plugins/logviewer/logviewerplugin.h +++ b/plugins/logviewer/logviewerplugin.h @@ -35,7 +35,7 @@ namespace kt class LogViewerPlugin : public Plugin { Q_OBJECT - TQ_OBJECT + public: LogViewerPlugin(TQObject* parent, const char* qt_name, const TQStringList& args); virtual ~LogViewerPlugin(); diff --git a/plugins/partfileimport/importdialog.h b/plugins/partfileimport/importdialog.h index ea39920..4a34483 100644 --- a/plugins/partfileimport/importdialog.h +++ b/plugins/partfileimport/importdialog.h @@ -46,7 +46,7 @@ namespace kt class ImportDialog : public ImportDlgBase,public bt::DataCheckerListener { Q_OBJECT - TQ_OBJECT + public: ImportDialog(CoreInterface* core,TQWidget* parent = 0, const char* name = 0, bool modal = FALSE, WFlags fl = 0 ); diff --git a/plugins/partfileimport/partfileimportplugin.h b/plugins/partfileimport/partfileimportplugin.h index ff97ba5..7053bb5 100644 --- a/plugins/partfileimport/partfileimportplugin.h +++ b/plugins/partfileimport/partfileimportplugin.h @@ -33,7 +33,7 @@ namespace kt class PartFileImportPlugin : public Plugin { Q_OBJECT - TQ_OBJECT + public: PartFileImportPlugin(TQObject* parent, const char* name, const TQStringList& args); virtual ~PartFileImportPlugin(); diff --git a/plugins/rssfeed/rss/image.h b/plugins/rssfeed/rss/image.h index f0a43ca..bba2d6e 100644 --- a/plugins/rssfeed/rss/image.h +++ b/plugins/rssfeed/rss/image.h @@ -34,7 +34,7 @@ namespace RSS class Image : public TQObject { Q_OBJECT - TQ_OBJECT + public: /** * Default constructor. diff --git a/plugins/rssfeed/rss/loader.h b/plugins/rssfeed/rss/loader.h index 807bee5..f81406d 100644 --- a/plugins/rssfeed/rss/loader.h +++ b/plugins/rssfeed/rss/loader.h @@ -35,7 +35,7 @@ namespace RSS class DataRetriever : public TQObject { Q_OBJECT - TQ_OBJECT + public: /** * Default constructor. @@ -90,7 +90,7 @@ namespace RSS class FileRetriever : public DataRetriever { Q_OBJECT - TQ_OBJECT + public: /** * Default constructor. @@ -160,7 +160,7 @@ namespace RSS class OutputRetriever : public DataRetriever { Q_OBJECT - TQ_OBJECT + public: /** * Default constructor. @@ -255,7 +255,7 @@ namespace RSS class Loader : public TQObject { Q_OBJECT - TQ_OBJECT + friend class someClassWhichDoesNotExist; public: /** diff --git a/plugins/rssfeed/rss/testlibrss.h b/plugins/rssfeed/rss/testlibrss.h index 3d3e963..222943a 100644 --- a/plugins/rssfeed/rss/testlibrss.h +++ b/plugins/rssfeed/rss/testlibrss.h @@ -15,7 +15,7 @@ using RSS::Status; class Tester : public TQObject { Q_OBJECT - TQ_OBJECT + public: void test( const TQString &url ); diff --git a/plugins/rssfeed/rssfeed.h b/plugins/rssfeed/rssfeed.h index 835d1b3..46bd837 100644 --- a/plugins/rssfeed/rssfeed.h +++ b/plugins/rssfeed/rssfeed.h @@ -48,7 +48,7 @@ namespace kt class RssFeed : public TQObject { Q_OBJECT - TQ_OBJECT + public: /** diff --git a/plugins/rssfeed/rssfeedmanager.h b/plugins/rssfeed/rssfeedmanager.h index bfb0660..67ac436 100644 --- a/plugins/rssfeed/rssfeedmanager.h +++ b/plugins/rssfeed/rssfeedmanager.h @@ -47,7 +47,7 @@ namespace kt class RssFeedManager : public RssFeedWidget { Q_OBJECT - TQ_OBJECT + public: /** diff --git a/plugins/rssfeed/rssfeedplugin.h b/plugins/rssfeed/rssfeedplugin.h index 1fa0ff5..5014908 100644 --- a/plugins/rssfeed/rssfeedplugin.h +++ b/plugins/rssfeed/rssfeedplugin.h @@ -37,7 +37,7 @@ namespace kt class RssFeedPlugin : public Plugin { Q_OBJECT - TQ_OBJECT + public: RssFeedPlugin(TQObject* parent, const char* name, const TQStringList& args); virtual ~RssFeedPlugin(); diff --git a/plugins/rssfeed/rssfilter.h b/plugins/rssfeed/rssfilter.h index 2a24d7d..d557a78 100644 --- a/plugins/rssfeed/rssfilter.h +++ b/plugins/rssfeed/rssfilter.h @@ -69,7 +69,7 @@ namespace kt class RssFilter : public TQObject { Q_OBJECT - TQ_OBJECT + public: /** diff --git a/plugins/rssfeed/rsslinkdownloader.h b/plugins/rssfeed/rsslinkdownloader.h index 17d8676..a47afd0 100644 --- a/plugins/rssfeed/rsslinkdownloader.h +++ b/plugins/rssfeed/rsslinkdownloader.h @@ -47,7 +47,7 @@ namespace kt class RssLinkDownloader : public TQObject { Q_OBJECT - TQ_OBJECT + public: /** diff --git a/plugins/scanfolder/scanfolder.h b/plugins/scanfolder/scanfolder.h index fdae09a..f5b54b7 100644 --- a/plugins/scanfolder/scanfolder.h +++ b/plugins/scanfolder/scanfolder.h @@ -56,7 +56,7 @@ namespace kt class ScanFolder : public TQObject { Q_OBJECT - TQ_OBJECT + public: /** diff --git a/plugins/scanfolder/scanfolderplugin.h b/plugins/scanfolder/scanfolderplugin.h index 3d74fab..527b36d 100644 --- a/plugins/scanfolder/scanfolderplugin.h +++ b/plugins/scanfolder/scanfolderplugin.h @@ -38,7 +38,7 @@ namespace kt class ScanFolderPlugin : public Plugin { Q_OBJECT - TQ_OBJECT + public: ScanFolderPlugin(TQObject* parent, const char* name, const TQStringList& args); virtual ~ScanFolderPlugin(); diff --git a/plugins/scanfolder/scanfolderprefpagewidget.h b/plugins/scanfolder/scanfolderprefpagewidget.h index ab4b348..6468d9d 100644 --- a/plugins/scanfolder/scanfolderprefpagewidget.h +++ b/plugins/scanfolder/scanfolderprefpagewidget.h @@ -27,7 +27,7 @@ namespace kt class ScanFolderPrefPageWidget: public SfPrefPageWidgetBase { Q_OBJECT - TQ_OBJECT + public: ScanFolderPrefPageWidget(TQWidget *parent = 0, const char *name = 0); diff --git a/plugins/scheduler/bwsprefpagewidget.h b/plugins/scheduler/bwsprefpagewidget.h index 840311c..eb646ee 100644 --- a/plugins/scheduler/bwsprefpagewidget.h +++ b/plugins/scheduler/bwsprefpagewidget.h @@ -34,7 +34,7 @@ namespace kt class BWSPrefPageWidget : public BWSPage { Q_OBJECT - TQ_OBJECT + public: BWSPrefPageWidget(TQWidget* parent = 0, const char* name = 0, WFlags fl = 0 ); ~BWSPrefPageWidget(); diff --git a/plugins/scheduler/bwswidget.h b/plugins/scheduler/bwswidget.h index 781517a..79d5ccd 100644 --- a/plugins/scheduler/bwswidget.h +++ b/plugins/scheduler/bwswidget.h @@ -44,7 +44,7 @@ namespace kt class BWSWidget : public TQTable { Q_OBJECT - TQ_OBJECT + public: BWSWidget(TQWidget* parent = 0, const char* name = 0, bool useColors = true); ~BWSWidget(); diff --git a/plugins/scheduler/schedulerplugin.h b/plugins/scheduler/schedulerplugin.h index 8d228c3..90bfd76 100644 --- a/plugins/scheduler/schedulerplugin.h +++ b/plugins/scheduler/schedulerplugin.h @@ -43,7 +43,7 @@ namespace kt class SchedulerPlugin : public Plugin { Q_OBJECT - TQ_OBJECT + public: SchedulerPlugin(TQObject* parent, const char* name, const TQStringList& args); virtual ~SchedulerPlugin(); diff --git a/plugins/scheduler/schedulerprefpagewidget.h b/plugins/scheduler/schedulerprefpagewidget.h index 567e5d7..271586f 100644 --- a/plugins/scheduler/schedulerprefpagewidget.h +++ b/plugins/scheduler/schedulerprefpagewidget.h @@ -32,7 +32,7 @@ namespace kt class SchedulerPrefPageWidget : public SchedulerPage { Q_OBJECT - TQ_OBJECT + public: SchedulerPrefPageWidget(TQWidget* parent = 0, const char* name = 0, WFlags fl = 0 ); diff --git a/plugins/search/htmlpart.h b/plugins/search/htmlpart.h index 1a50d9b..433a2e2 100644 --- a/plugins/search/htmlpart.h +++ b/plugins/search/htmlpart.h @@ -37,7 +37,7 @@ namespace kt class HTMLPart : public KHTMLPart { Q_OBJECT - TQ_OBJECT + public: HTMLPart(TQWidget *parent = 0); virtual ~HTMLPart(); diff --git a/plugins/search/searchplugin.h b/plugins/search/searchplugin.h index 46b859b..6d6f2dd 100644 --- a/plugins/search/searchplugin.h +++ b/plugins/search/searchplugin.h @@ -37,7 +37,7 @@ namespace kt class SearchPlugin : public Plugin, public kt::CloseTabListener { Q_OBJECT - TQ_OBJECT + public: SearchPlugin(TQObject* parent, const char* name, const TQStringList& args); virtual ~SearchPlugin(); diff --git a/plugins/search/searchprefpage.h b/plugins/search/searchprefpage.h index 58c80dd..fb2565a 100644 --- a/plugins/search/searchprefpage.h +++ b/plugins/search/searchprefpage.h @@ -34,7 +34,7 @@ namespace kt class SearchPrefPageWidget : public SEPreferences { Q_OBJECT - TQ_OBJECT + public: SearchPrefPageWidget(TQWidget *parent = 0); diff --git a/plugins/search/searchtab.h b/plugins/search/searchtab.h index 9c62bf3..95236d3 100644 --- a/plugins/search/searchtab.h +++ b/plugins/search/searchtab.h @@ -36,7 +36,7 @@ namespace kt class SearchTab : public TQObject { Q_OBJECT - TQ_OBJECT + public: SearchTab(KToolBar* toolbar); diff --git a/plugins/search/searchwidget.h b/plugins/search/searchwidget.h index fc03a06..e7d14d6 100644 --- a/plugins/search/searchwidget.h +++ b/plugins/search/searchwidget.h @@ -48,7 +48,7 @@ namespace kt class SearchWidget : public TQWidget { Q_OBJECT - TQ_OBJECT + public: SearchWidget(SearchPlugin* sp); virtual ~SearchWidget(); diff --git a/plugins/stats/ChartDrawer.h b/plugins/stats/ChartDrawer.h index 2345f14..912d153 100644 --- a/plugins/stats/ChartDrawer.h +++ b/plugins/stats/ChartDrawer.h @@ -47,7 +47,7 @@ namespace kt { class ChartDrawer : public TQWidget { Q_OBJECT - TQ_OBJECT + public: ///Type used as widget size unit diff --git a/plugins/stats/StatsCon.h b/plugins/stats/StatsCon.h index da984f1..53371a2 100644 --- a/plugins/stats/StatsCon.h +++ b/plugins/stats/StatsCon.h @@ -35,7 +35,7 @@ namespace kt { class StatsCon : public StatsConWgt { Q_OBJECT - TQ_OBJECT + private: ///Layout of peers connections TQVBoxLayout * pmPeersConLay; diff --git a/plugins/stats/StatsPluginPrefs.h b/plugins/stats/StatsPluginPrefs.h index 1d5b4f7..271caf2 100644 --- a/plugins/stats/StatsPluginPrefs.h +++ b/plugins/stats/StatsPluginPrefs.h @@ -43,7 +43,7 @@ namespace kt { class StatsPluginPrefs : public TQObject, public PrefPageInterface { Q_OBJECT - TQ_OBJECT + private: ///Widget diff --git a/plugins/stats/StatsSpd.h b/plugins/stats/StatsSpd.h index 971209a..4f75161 100644 --- a/plugins/stats/StatsSpd.h +++ b/plugins/stats/StatsSpd.h @@ -39,7 +39,7 @@ namespace kt { class StatsSpd : public StatsSpdWgt { Q_OBJECT - TQ_OBJECT + private: ///Layout of upload speed diff --git a/plugins/stats/statsplugin.h b/plugins/stats/statsplugin.h index 4266d43..8cdf345 100644 --- a/plugins/stats/statsplugin.h +++ b/plugins/stats/statsplugin.h @@ -52,7 +52,7 @@ namespace kt { class StatsPlugin : public Plugin { Q_OBJECT - TQ_OBJECT + private: ///Speed UI of the plugin diff --git a/plugins/upnp/upnpmcastsocket.h b/plugins/upnp/upnpmcastsocket.h index cc7a134..f072531 100644 --- a/plugins/upnp/upnpmcastsocket.h +++ b/plugins/upnp/upnpmcastsocket.h @@ -40,7 +40,7 @@ namespace kt class UPnPMCastSocket : public KNetwork::KDatagramSocket { Q_OBJECT - TQ_OBJECT + public: UPnPMCastSocket(bool verbose = false); virtual ~UPnPMCastSocket(); diff --git a/plugins/upnp/upnpplugin.h b/plugins/upnp/upnpplugin.h index 54fc619..a81a51c 100644 --- a/plugins/upnp/upnpplugin.h +++ b/plugins/upnp/upnpplugin.h @@ -33,7 +33,7 @@ namespace kt class UPnPPlugin : public Plugin { Q_OBJECT - TQ_OBJECT + public: UPnPPlugin(TQObject* parent, const char* name, const TQStringList& args); virtual ~UPnPPlugin(); diff --git a/plugins/upnp/upnpprefwidget.h b/plugins/upnp/upnpprefwidget.h index 4164943..9be0a24 100644 --- a/plugins/upnp/upnpprefwidget.h +++ b/plugins/upnp/upnpprefwidget.h @@ -41,7 +41,7 @@ namespace kt class UPnPPrefWidget : public UPnPWidget,public net::PortListener { Q_OBJECT - TQ_OBJECT + public: UPnPPrefWidget(TQWidget* parent = 0, const char* name = 0, WFlags fl = 0 ); diff --git a/plugins/upnp/upnprouter.h b/plugins/upnp/upnprouter.h index 88b8054..1cbac0b 100644 --- a/plugins/upnp/upnprouter.h +++ b/plugins/upnp/upnprouter.h @@ -105,7 +105,7 @@ namespace kt class UPnPRouter : public TQObject { Q_OBJECT - TQ_OBJECT + public: struct Forwarding diff --git a/plugins/webinterface/httpclienthandler.h b/plugins/webinterface/httpclienthandler.h index c76be5c..01d3913 100644 --- a/plugins/webinterface/httpclienthandler.h +++ b/plugins/webinterface/httpclienthandler.h @@ -41,7 +41,7 @@ namespace kt class HttpClientHandler : public TQObject { Q_OBJECT - TQ_OBJECT + enum State { WAITING_FOR_REQUEST, diff --git a/plugins/webinterface/httpserver.h b/plugins/webinterface/httpserver.h index dcdfdfe..a5eaa3b 100644 --- a/plugins/webinterface/httpserver.h +++ b/plugins/webinterface/httpserver.h @@ -65,7 +65,7 @@ namespace kt class HttpServer : public TQServerSocket { Q_OBJECT - TQ_OBJECT + public: HttpServer(CoreInterface *core, int port); virtual ~HttpServer(); diff --git a/plugins/webinterface/php_handler.h b/plugins/webinterface/php_handler.h index 197bdb7..9644ad2 100644 --- a/plugins/webinterface/php_handler.h +++ b/plugins/webinterface/php_handler.h @@ -32,7 +32,7 @@ namespace kt class PhpHandler : public TQProcess { Q_OBJECT - TQ_OBJECT + public: PhpHandler(const TQString & php_exe,PhpInterface *php); virtual ~PhpHandler(); diff --git a/plugins/webinterface/webinterfaceplugin.h b/plugins/webinterface/webinterfaceplugin.h index 3121641..260aa00 100644 --- a/plugins/webinterface/webinterfaceplugin.h +++ b/plugins/webinterface/webinterfaceplugin.h @@ -33,7 +33,7 @@ namespace kt class WebInterfacePlugin : public Plugin { Q_OBJECT - TQ_OBJECT + public: WebInterfacePlugin(TQObject* parent, const char* name, const TQStringList& args); virtual ~WebInterfacePlugin(); diff --git a/plugins/webinterface/webinterfaceprefwidget.h b/plugins/webinterface/webinterfaceprefwidget.h index d670238..e793be0 100644 --- a/plugins/webinterface/webinterfaceprefwidget.h +++ b/plugins/webinterface/webinterfaceprefwidget.h @@ -28,7 +28,7 @@ namespace kt class WebInterfacePrefWidget:public WebInterfacePreference { Q_OBJECT - TQ_OBJECT + public: WebInterfacePrefWidget(TQWidget *parent = 0, const char *name = 0); bool apply(); diff --git a/plugins/zeroconf/avahiservice.h b/plugins/zeroconf/avahiservice.h index fd9e144..02dde11 100644 --- a/plugins/zeroconf/avahiservice.h +++ b/plugins/zeroconf/avahiservice.h @@ -45,7 +45,7 @@ namespace kt class AvahiService : public kt::PeerSource { Q_OBJECT - TQ_OBJECT + public: AvahiService(const bt::PeerID&, bt::Uint16, const bt::SHA1Hash&); virtual ~AvahiService(); diff --git a/plugins/zeroconf/zeroconfplugin.h b/plugins/zeroconf/zeroconfplugin.h index 8888caf..de91c53 100644 --- a/plugins/zeroconf/zeroconfplugin.h +++ b/plugins/zeroconf/zeroconfplugin.h @@ -36,7 +36,7 @@ namespace kt class ZeroConfPlugin : public Plugin { Q_OBJECT - TQ_OBJECT + public: ZeroConfPlugin(TQObject* parent, const char* name, const TQStringList& args); virtual ~ZeroConfPlugin(); |