Fix inadvertent tqt changes.

(cherry picked from commit d08e3983f1)
v3.5.13-sru
Darrell Anderson 12 years ago committed by Slávek Banko
parent 9701dcae66
commit 9a6b614070

@ -64,9 +64,9 @@ namespace Kleo {
/** This is a hackish helper class to avoid code duplication in this /** This is a hackish helper class to avoid code duplication in this
backend's Kleo::Job subclasses. It contains several workarounds backend's Kleo::Job subclasses. It contains several workarounds
for tqmoc/signal/slot shortcomings, most of which the author of for moc/signal/slot shortcomings, most of which the author of
this thinks are TQt bugs (lazy implementations), first and this thinks are TQt bugs (lazy implementations), first and
foremost the inability of tqmoc to handle inheritance from foremost the inability of moc to handle inheritance from
multiple TQObject-derived subclasses. multiple TQObject-derived subclasses.
To use it, inherit from the Job-subclass, then from this class, To use it, inherit from the Job-subclass, then from this class,

@ -45,7 +45,7 @@ class TQColor;
namespace Kleo { namespace Kleo {
// work around tqmoc parser bug... // work around moc parser bug...
#define TEMPLATE_TYPENAME(T) template <typename T> #define TEMPLATE_TYPENAME(T) template <typename T>
TEMPLATE_TYPENAME(T) TEMPLATE_TYPENAME(T)
inline T * lvi_cast( TQListViewItem * item ) { inline T * lvi_cast( TQListViewItem * item ) {

@ -58,7 +58,7 @@ class ConfigureTableViewWidget : public ViewConfigureWidget
}; };
/** /**
Internal class. It is only defined here for tqmoc Internal class. It is only defined here for moc
*/ */
class LookAndFeelPage : public TQWidget class LookAndFeelPage : public TQWidget
{ {

@ -409,7 +409,7 @@ public:
TQString helpAnchor() const; TQString helpAnchor() const;
// hrmpf. tqmoc doesn't like nested classes with slots/signals...: // hrmpf. moc doesn't like nested classes with slots/signals...:
typedef AccountsPageSendingTab SendingTab; typedef AccountsPageSendingTab SendingTab;
typedef AccountsPageReceivingTab ReceivingTab; typedef AccountsPageReceivingTab ReceivingTab;
@ -588,7 +588,7 @@ public:
TQString helpAnchor() const; TQString helpAnchor() const;
// hrmpf. tqmoc doesn't like nested classes with slots/signals...: // hrmpf. moc doesn't like nested classes with slots/signals...:
typedef AppearancePageFontsTab FontsTab; typedef AppearancePageFontsTab FontsTab;
typedef AppearancePageColorsTab ColorsTab; typedef AppearancePageColorsTab ColorsTab;
typedef AppearancePageLayoutTab LayoutTab; typedef AppearancePageLayoutTab LayoutTab;
@ -817,7 +817,7 @@ public:
TQString helpAnchor() const; TQString helpAnchor() const;
// hrmpf. tqmoc doesn't like nested classes with slots/signals...: // hrmpf. moc doesn't like nested classes with slots/signals...:
typedef ComposerPageGeneralTab GeneralTab; typedef ComposerPageGeneralTab GeneralTab;
typedef ComposerPagePhrasesTab PhrasesTab; typedef ComposerPagePhrasesTab PhrasesTab;
typedef ComposerPageTemplatesTab TemplatesTab; typedef ComposerPageTemplatesTab TemplatesTab;

@ -152,7 +152,7 @@ class KMMsgIndex : public TQObject {
* DO NOT USE THIS CLASS * DO NOT USE THIS CLASS
* *
* It is conceptually a private class. * It is conceptually a private class.
* Just needs to be public because of tqmoc limitations * Just needs to be public because of moc limitations
*/ */
class Search; class Search;
private: private:

@ -50,7 +50,7 @@ namespace KCal { class CalendarResources; }
using namespace KCal; using namespace KCal;
// Workaround for tqmoc workaround for visual c++ 6.0 sucking // Workaround for moc workaround for visual c++ 6.0 sucking
typedef KOrg::MainWindow KOrgMainWindow; typedef KOrg::MainWindow KOrgMainWindow;
typedef KParts::MainWindow KPartsMainWindow; typedef KParts::MainWindow KPartsMainWindow;

@ -25,7 +25,7 @@
#include "kio.h" //Alsewise, no access to KKioDrop::FileInfo (needed in template) #include "kio.h" //Alsewise, no access to KKioDrop::FileInfo (needed in template)
#include <kio/global.h> //FIXME: without this, tqmoc-compiler fails. #include <kio/global.h> //FIXME: without this, moc-compiler fails.
class KIO_Protocol; class KIO_Protocol;
class KIO_Single_Subject; class KIO_Single_Subject;

Loading…
Cancel
Save