diff options
Diffstat (limited to 'src')
123 files changed, 131 insertions, 131 deletions
diff --git a/src/barcode/barcode.h b/src/barcode/barcode.h index 6155108..09a09df 100644 --- a/src/barcode/barcode.h +++ b/src/barcode/barcode.h @@ -102,7 +102,7 @@ namespace barcodeRecognition { */ class barcodeRecognitionThread : public TQObject, public TQThread { Q_OBJECT - TQ_OBJECT + public: barcodeRecognitionThread(); ~barcodeRecognitionThread(); diff --git a/src/borrowerdialog.h b/src/borrowerdialog.h index 9bb6d02..e17c27c 100644 --- a/src/borrowerdialog.h +++ b/src/borrowerdialog.h @@ -34,7 +34,7 @@ namespace Tellico { */ class BorrowerDialog : public KDialogBase { Q_OBJECT - TQ_OBJECT + public: static Data::BorrowerPtr getBorrower(TQWidget* parent); diff --git a/src/collection.h b/src/collection.h index c76b1f8..00aed05 100644 --- a/src/collection.h +++ b/src/collection.h @@ -49,7 +49,7 @@ namespace Tellico { */ class Collection : public TQObject, public KShared { Q_OBJECT - TQ_OBJECT + public: enum Type { diff --git a/src/collectionfieldsdialog.h b/src/collectionfieldsdialog.h index a3691cc..6231e63 100644 --- a/src/collectionfieldsdialog.h +++ b/src/collectionfieldsdialog.h @@ -51,7 +51,7 @@ private: */ class CollectionFieldsDialog : public KDialogBase { Q_OBJECT - TQ_OBJECT + public: /** diff --git a/src/collections/bibtexcollection.h b/src/collections/bibtexcollection.h index 2752063..4087cc9 100644 --- a/src/collections/bibtexcollection.h +++ b/src/collections/bibtexcollection.h @@ -29,7 +29,7 @@ namespace Tellico { */ class BibtexCollection : public Collection { Q_OBJECT - TQ_OBJECT + public: /** diff --git a/src/collections/boardgamecollection.h b/src/collections/boardgamecollection.h index 1b2ed35..52cbaba 100644 --- a/src/collections/boardgamecollection.h +++ b/src/collections/boardgamecollection.h @@ -24,7 +24,7 @@ namespace Tellico { */ class BoardGameCollection : public Collection { Q_OBJECT - TQ_OBJECT + public: /** diff --git a/src/collections/bookcollection.h b/src/collections/bookcollection.h index 0ccc58b..6f003e8 100644 --- a/src/collections/bookcollection.h +++ b/src/collections/bookcollection.h @@ -53,7 +53,7 @@ namespace Tellico { */ class BookCollection : public Collection { Q_OBJECT - TQ_OBJECT + public: /** diff --git a/src/collections/cardcollection.h b/src/collections/cardcollection.h index cd9b3ee..c85b637 100644 --- a/src/collections/cardcollection.h +++ b/src/collections/cardcollection.h @@ -29,7 +29,7 @@ namespace Tellico { */ class CardCollection : public Collection { Q_OBJECT - TQ_OBJECT + public: /** diff --git a/src/collections/coincollection.h b/src/collections/coincollection.h index cd6beb9..5977ea7 100644 --- a/src/collections/coincollection.h +++ b/src/collections/coincollection.h @@ -29,7 +29,7 @@ namespace Tellico { */ class CoinCollection : public Collection { Q_OBJECT - TQ_OBJECT + public: /** diff --git a/src/collections/comicbookcollection.h b/src/collections/comicbookcollection.h index 707b19d..e9b02ff 100644 --- a/src/collections/comicbookcollection.h +++ b/src/collections/comicbookcollection.h @@ -29,7 +29,7 @@ namespace Tellico { */ class ComicBookCollection : public Collection { Q_OBJECT - TQ_OBJECT + public: /** diff --git a/src/collections/filecatalog.h b/src/collections/filecatalog.h index 73951e7..f2ede29 100644 --- a/src/collections/filecatalog.h +++ b/src/collections/filecatalog.h @@ -24,7 +24,7 @@ namespace Tellico { */ class FileCatalog : public Collection { Q_OBJECT - TQ_OBJECT + public: FileCatalog(bool addFields, const TQString& title = TQString()); diff --git a/src/collections/gamecollection.h b/src/collections/gamecollection.h index 0b08373..b3e1192 100644 --- a/src/collections/gamecollection.h +++ b/src/collections/gamecollection.h @@ -24,7 +24,7 @@ namespace Tellico { */ class GameCollection : public Collection { Q_OBJECT - TQ_OBJECT + public: /** diff --git a/src/collections/musiccollection.h b/src/collections/musiccollection.h index 32cfa4c..7473738 100644 --- a/src/collections/musiccollection.h +++ b/src/collections/musiccollection.h @@ -34,7 +34,7 @@ namespace Tellico { */ class MusicCollection : public Collection { Q_OBJECT - TQ_OBJECT + public: /** diff --git a/src/collections/stampcollection.h b/src/collections/stampcollection.h index 5a5def9..1c1458d 100644 --- a/src/collections/stampcollection.h +++ b/src/collections/stampcollection.h @@ -46,7 +46,7 @@ namespace Tellico { */ class StampCollection : public Collection { Q_OBJECT - TQ_OBJECT + public: /** diff --git a/src/collections/videocollection.h b/src/collections/videocollection.h index a47814f..981e25e 100644 --- a/src/collections/videocollection.h +++ b/src/collections/videocollection.h @@ -33,7 +33,7 @@ namespace Tellico { */ class VideoCollection : public Collection { Q_OBJECT - TQ_OBJECT + public: /** diff --git a/src/collections/winecollection.h b/src/collections/winecollection.h index 6481930..2eeaa26 100644 --- a/src/collections/winecollection.h +++ b/src/collections/winecollection.h @@ -34,7 +34,7 @@ namespace Tellico { */ class WineCollection : public Collection { Q_OBJECT - TQ_OBJECT + public: /** diff --git a/src/configdialog.h b/src/configdialog.h index f051857..4204c11 100644 --- a/src/configdialog.h +++ b/src/configdialog.h @@ -47,7 +47,7 @@ namespace Tellico { */ class ConfigDialog : public KDialogBase { Q_OBJECT - TQ_OBJECT + public: /** diff --git a/src/controller.h b/src/controller.h index d928dde..8775cab 100644 --- a/src/controller.h +++ b/src/controller.h @@ -37,7 +37,7 @@ class Observer; */ class Controller : public TQObject { Q_OBJECT - TQ_OBJECT + public: static Controller* self() { return s_self; } diff --git a/src/core/drophandler.h b/src/core/drophandler.h index a5d88c2..6322bc7 100644 --- a/src/core/drophandler.h +++ b/src/core/drophandler.h @@ -21,7 +21,7 @@ namespace Tellico { class DropHandler : public TQObject { Q_OBJECT - TQ_OBJECT + public: DropHandler(TQObject* parent); diff --git a/src/core/netaccess.h b/src/core/netaccess.h index f793674..65c1bf6 100644 --- a/src/core/netaccess.h +++ b/src/core/netaccess.h @@ -27,7 +27,7 @@ namespace Tellico { class NetAccess : public TQObject { Q_OBJECT - TQ_OBJECT + public: static bool download(const KURL& u, TQString& target, TQWidget* window); diff --git a/src/detailedlistview.h b/src/detailedlistview.h index 758936b..dba780c 100644 --- a/src/detailedlistview.h +++ b/src/detailedlistview.h @@ -35,7 +35,7 @@ namespace Tellico { */ class DetailedListView : public GUI::ListView, public Observer { Q_OBJECT - TQ_OBJECT + public: /** diff --git a/src/document.h b/src/document.h index e0ca467..b270be6 100644 --- a/src/document.h +++ b/src/document.h @@ -39,7 +39,7 @@ namespace Tellico { */ class Document : public TQObject { Q_OBJECT - TQ_OBJECT + public: static Document* self() { if(!s_self) s_self = new Document(); return s_self; } diff --git a/src/entry.h b/src/entry.h index 1c62593..88666de 100644 --- a/src/entry.h +++ b/src/entry.h @@ -40,7 +40,7 @@ namespace Tellico { */ class EntryGroup : public TQObject, public EntryVec { Q_OBJECT - TQ_OBJECT + public: EntryGroup(const TQString& group, const TQString& field); diff --git a/src/entryeditdialog.h b/src/entryeditdialog.h index 20731f6..d3334f5 100644 --- a/src/entryeditdialog.h +++ b/src/entryeditdialog.h @@ -33,7 +33,7 @@ namespace Tellico { */ class EntryEditDialog : public KDialogBase, public Observer { Q_OBJECT - TQ_OBJECT + // needed for completion object support friend class GUI::FieldWidget; diff --git a/src/entryiconview.h b/src/entryiconview.h index a258123..60de852 100644 --- a/src/entryiconview.h +++ b/src/entryiconview.h @@ -33,7 +33,7 @@ namespace Tellico { */ class EntryIconView : public KIconView, public Observer { Q_OBJECT - TQ_OBJECT + friend class EntryIconViewItem; diff --git a/src/entrymerger.h b/src/entrymerger.h index f397fa8..df23632 100644 --- a/src/entrymerger.h +++ b/src/entrymerger.h @@ -25,7 +25,7 @@ namespace Tellico { */ class EntryMerger : public TQObject { Q_OBJECT - TQ_OBJECT + public: EntryMerger(Data::EntryVec entries, TQObject* parent); diff --git a/src/entryupdater.h b/src/entryupdater.h index 75d1fcc..d22e896 100644 --- a/src/entryupdater.h +++ b/src/entryupdater.h @@ -27,7 +27,7 @@ namespace Tellico { */ class EntryUpdater : public TQObject { Q_OBJECT - TQ_OBJECT + public: EntryUpdater(Data::CollPtr coll, Data::EntryVec entries, TQObject* parent); EntryUpdater(const TQString& fetcher, Data::CollPtr coll, Data::EntryVec entries, TQObject* parent); diff --git a/src/entryview.h b/src/entryview.h index 1a0ad76..1a170c3 100644 --- a/src/entryview.h +++ b/src/entryview.h @@ -33,7 +33,7 @@ namespace Tellico { */ class EntryView : public KHTMLPart { Q_OBJECT - TQ_OBJECT + public: /** diff --git a/src/exportdialog.h b/src/exportdialog.h index afec56c..3735d94 100644 --- a/src/exportdialog.h +++ b/src/exportdialog.h @@ -33,7 +33,7 @@ namespace Tellico { */ class ExportDialog : public KDialogBase { Q_OBJECT - TQ_OBJECT + public: ExportDialog(Export::Format format, Data::CollPtr coll, TQWidget* parent, const char* name); diff --git a/src/fetch/amazonfetcher.h b/src/fetch/amazonfetcher.h index 0341f28..a1ddc6b 100644 --- a/src/fetch/amazonfetcher.h +++ b/src/fetch/amazonfetcher.h @@ -48,7 +48,7 @@ namespace Tellico { */ class AmazonFetcher : public Fetcher { Q_OBJECT - TQ_OBJECT + public: enum Site { @@ -138,7 +138,7 @@ private: class AmazonFetcher::ConfigWidget : public Fetch::ConfigWidget { Q_OBJECT - TQ_OBJECT + public: ConfigWidget(TQWidget* parent_, const AmazonFetcher* fetcher = 0); diff --git a/src/fetch/animenfofetcher.h b/src/fetch/animenfofetcher.h index 7cf0790..b6ba291 100644 --- a/src/fetch/animenfofetcher.h +++ b/src/fetch/animenfofetcher.h @@ -34,7 +34,7 @@ namespace Tellico { */ class AnimeNfoFetcher : public Fetcher { Q_OBJECT - TQ_OBJECT + public: AnimeNfoFetcher(TQObject* parent, const char* name = 0); diff --git a/src/fetch/arxivfetcher.h b/src/fetch/arxivfetcher.h index eeff875..6b667d2 100644 --- a/src/fetch/arxivfetcher.h +++ b/src/fetch/arxivfetcher.h @@ -34,7 +34,7 @@ namespace Tellico { */ class ArxivFetcher : public Fetcher { Q_OBJECT - TQ_OBJECT + public: ArxivFetcher(TQObject* parent); diff --git a/src/fetch/bibsonomyfetcher.h b/src/fetch/bibsonomyfetcher.h index 4f2ad6f..87af2db 100644 --- a/src/fetch/bibsonomyfetcher.h +++ b/src/fetch/bibsonomyfetcher.h @@ -31,7 +31,7 @@ namespace Tellico { */ class BibsonomyFetcher : public Fetcher { Q_OBJECT - TQ_OBJECT + public: BibsonomyFetcher(TQObject* parent); diff --git a/src/fetch/citebasefetcher.h b/src/fetch/citebasefetcher.h index 6305284..003a43b 100644 --- a/src/fetch/citebasefetcher.h +++ b/src/fetch/citebasefetcher.h @@ -31,7 +31,7 @@ namespace Tellico { */ class CitebaseFetcher : public Fetcher { Q_OBJECT - TQ_OBJECT + public: CitebaseFetcher(TQObject* parent); diff --git a/src/fetch/configwidget.h b/src/fetch/configwidget.h index f8374ee..55eafb0 100644 --- a/src/fetch/configwidget.h +++ b/src/fetch/configwidget.h @@ -31,7 +31,7 @@ namespace Tellico { */ class ConfigWidget : public TQWidget { Q_OBJECT - TQ_OBJECT + public: ConfigWidget(TQWidget* parent); diff --git a/src/fetch/crossreffetcher.h b/src/fetch/crossreffetcher.h index 960ed30..1bcb009 100644 --- a/src/fetch/crossreffetcher.h +++ b/src/fetch/crossreffetcher.h @@ -36,7 +36,7 @@ namespace Tellico { */ class CrossRefFetcher : public Fetcher { Q_OBJECT - TQ_OBJECT + public: CrossRefFetcher(TQObject* parent); diff --git a/src/fetch/discogsfetcher.h b/src/fetch/discogsfetcher.h index b2d9b48..d02e8eb 100644 --- a/src/fetch/discogsfetcher.h +++ b/src/fetch/discogsfetcher.h @@ -41,7 +41,7 @@ namespace Tellico { */ class DiscogsFetcher : public Fetcher { Q_OBJECT - TQ_OBJECT + public: /** diff --git a/src/fetch/entrezfetcher.h b/src/fetch/entrezfetcher.h index 214faa2..f8bc1cc 100644 --- a/src/fetch/entrezfetcher.h +++ b/src/fetch/entrezfetcher.h @@ -37,7 +37,7 @@ namespace Tellico { */ class EntrezFetcher : public Fetcher { Q_OBJECT - TQ_OBJECT + public: EntrezFetcher(TQObject* parent, const char* name=0); diff --git a/src/fetch/execexternalfetcher.h b/src/fetch/execexternalfetcher.h index 7720564..ec836d7 100644 --- a/src/fetch/execexternalfetcher.h +++ b/src/fetch/execexternalfetcher.h @@ -40,7 +40,7 @@ namespace Tellico { */ class ExecExternalFetcher : public Fetcher { Q_OBJECT - TQ_OBJECT + public: ExecExternalFetcher(TQObject* parent, const char* name=0); diff --git a/src/fetch/fetcher.h b/src/fetch/fetcher.h index 0474299..c73a884 100644 --- a/src/fetch/fetcher.h +++ b/src/fetch/fetcher.h @@ -37,7 +37,7 @@ namespace Tellico { */ class Fetcher : public TQObject, public KShared { Q_OBJECT - TQ_OBJECT + public: typedef KSharedPtr<Fetcher> Ptr; diff --git a/src/fetch/fetchmanager.h b/src/fetch/fetchmanager.h index 8d86616..6bfed98 100644 --- a/src/fetch/fetchmanager.h +++ b/src/fetch/fetchmanager.h @@ -45,7 +45,7 @@ typedef Vector<Fetcher> FetcherVec; */ class Manager : public TQObject { Q_OBJECT - TQ_OBJECT + public: static Manager* self() { if(!s_self) s_self = new Manager(); return s_self; } diff --git a/src/fetch/gcstarpluginfetcher.h b/src/fetch/gcstarpluginfetcher.h index 9a0789f..534a274 100644 --- a/src/fetch/gcstarpluginfetcher.h +++ b/src/fetch/gcstarpluginfetcher.h @@ -35,7 +35,7 @@ namespace Tellico { */ class GCstarPluginFetcher : public Fetcher { Q_OBJECT - TQ_OBJECT + public: @@ -93,7 +93,7 @@ private: class GCstarPluginFetcher::ConfigWidget : public Fetch::ConfigWidget { Q_OBJECT - TQ_OBJECT + public: ConfigWidget(TQWidget* parent, const GCstarPluginFetcher* fetcher = 0); diff --git a/src/fetch/googlescholarfetcher.h b/src/fetch/googlescholarfetcher.h index de3996b..70b93c3 100644 --- a/src/fetch/googlescholarfetcher.h +++ b/src/fetch/googlescholarfetcher.h @@ -35,7 +35,7 @@ namespace Tellico { */ class GoogleScholarFetcher : public Fetcher { Q_OBJECT - TQ_OBJECT + public: /** diff --git a/src/fetch/ibsfetcher.h b/src/fetch/ibsfetcher.h index 0b8760a..8f3f17e 100644 --- a/src/fetch/ibsfetcher.h +++ b/src/fetch/ibsfetcher.h @@ -34,7 +34,7 @@ namespace Tellico { */ class IBSFetcher : public Fetcher { Q_OBJECT - TQ_OBJECT + public: IBSFetcher(TQObject* parent, const char* name = 0); diff --git a/src/fetch/imdbfetcher.h b/src/fetch/imdbfetcher.h index c49417e..e3f7827 100644 --- a/src/fetch/imdbfetcher.h +++ b/src/fetch/imdbfetcher.h @@ -38,7 +38,7 @@ namespace Tellico { */ class IMDBFetcher : public Fetcher { Q_OBJECT - TQ_OBJECT + public: IMDBFetcher(TQObject* parent, const char* name=0); diff --git a/src/fetch/isbndbfetcher.h b/src/fetch/isbndbfetcher.h index 791ac4e..681c65a 100644 --- a/src/fetch/isbndbfetcher.h +++ b/src/fetch/isbndbfetcher.h @@ -35,7 +35,7 @@ namespace Tellico { */ class ISBNdbFetcher : public Fetcher { Q_OBJECT - TQ_OBJECT + public: ISBNdbFetcher(TQObject* parent = 0, const char* name = 0); diff --git a/src/fetch/srufetcher.h b/src/fetch/srufetcher.h index 7dd9584..f635071 100644 --- a/src/fetch/srufetcher.h +++ b/src/fetch/srufetcher.h @@ -48,7 +48,7 @@ class SRUConfigWidget; */ class SRUFetcher : public Fetcher { Q_OBJECT - TQ_OBJECT + friend class SRUConfigWidget; @@ -109,7 +109,7 @@ private: class SRUConfigWidget : public ConfigWidget { Q_OBJECT - TQ_OBJECT + friend class SRUFetcher; diff --git a/src/fetch/yahoofetcher.h b/src/fetch/yahoofetcher.h index 1044c3d..1620520 100644 --- a/src/fetch/yahoofetcher.h +++ b/src/fetch/yahoofetcher.h @@ -37,7 +37,7 @@ namespace Tellico { */ class YahooFetcher : public Fetcher { Q_OBJECT - TQ_OBJECT + public: /** diff --git a/src/fetch/z3950fetcher.h b/src/fetch/z3950fetcher.h index 5286b70..0618b65 100644 --- a/src/fetch/z3950fetcher.h +++ b/src/fetch/z3950fetcher.h @@ -50,7 +50,7 @@ namespace Tellico { */ class Z3950Fetcher : public Fetcher { Q_OBJECT - TQ_OBJECT + public: Z3950Fetcher(TQObject* parent, const char* name = 0); @@ -122,7 +122,7 @@ private: class Z3950Fetcher::ConfigWidget : public Fetch::ConfigWidget { Q_OBJECT - TQ_OBJECT + public: ConfigWidget(TQWidget* parent, const Z3950Fetcher* fetcher = 0); diff --git a/src/fetchdialog.h b/src/fetchdialog.h index 65e602a..c28e3fd 100644 --- a/src/fetchdialog.h +++ b/src/fetchdialog.h @@ -53,7 +53,7 @@ namespace Tellico { */ class FetchDialog : public KDialogBase { Q_OBJECT - TQ_OBJECT + public: /** diff --git a/src/fetcherconfigdialog.h b/src/fetcherconfigdialog.h index e53c808..1b5a4d3 100644 --- a/src/fetcherconfigdialog.h +++ b/src/fetcherconfigdialog.h @@ -35,7 +35,7 @@ namespace Tellico { */ class FetcherConfigDialog : public KDialogBase { Q_OBJECT - TQ_OBJECT + public: FetcherConfigDialog(TQWidget* parent); diff --git a/src/fieldcompletion.h b/src/fieldcompletion.h index 3d79dfb..df9b53d 100644 --- a/src/fieldcompletion.h +++ b/src/fieldcompletion.h @@ -23,7 +23,7 @@ namespace Tellico { */ class FieldCompletion : public KCompletion { Q_OBJECT - TQ_OBJECT + public: FieldCompletion(bool multiple); diff --git a/src/filterdialog.h b/src/filterdialog.h index a9e6b54..288f7ca 100644 --- a/src/filterdialog.h +++ b/src/filterdialog.h @@ -47,7 +47,7 @@ namespace Tellico { */ class FilterRuleWidget : public TQHBox { Q_OBJECT - TQ_OBJECT + public: /** @@ -99,7 +99,7 @@ private: class FilterRuleWidgetLister : public KWidgetLister { Q_OBJECT - TQ_OBJECT + public: FilterRuleWidgetLister(TQWidget* parent, const char* name=0); @@ -124,7 +124,7 @@ protected: */ class FilterDialog : public KDialogBase { Q_OBJECT - TQ_OBJECT + public: enum Mode { diff --git a/src/filterview.h b/src/filterview.h index 818c0ee..59391ae 100644 --- a/src/filterview.h +++ b/src/filterview.h @@ -27,7 +27,7 @@ namespace Tellico { */ class FilterView : public GUI::ListView, public Observer { Q_OBJECT - TQ_OBJECT + public: FilterView(TQWidget* parent, const char* name=0); diff --git a/src/groupview.h b/src/groupview.h index a340241..5a29bfe 100644 --- a/src/groupview.h +++ b/src/groupview.h @@ -41,7 +41,7 @@ namespace Tellico { */ class GroupView : public GUI::ListView, public Observer { Q_OBJECT - TQ_OBJECT + public: /** diff --git a/src/gui/boolfieldwidget.h b/src/gui/boolfieldwidget.h index 9507bad..ce4be6d 100644 --- a/src/gui/boolfieldwidget.h +++ b/src/gui/boolfieldwidget.h @@ -28,7 +28,7 @@ namespace Tellico { */ class BoolFieldWidget : public FieldWidget { Q_OBJECT - TQ_OBJECT + public: BoolFieldWidget(Data::FieldPtr field, TQWidget* parent, const char* name=0); diff --git a/src/gui/choicefieldwidget.h b/src/gui/choicefieldwidget.h index 0bcaf48..b06b2ed 100644 --- a/src/gui/choicefieldwidget.h +++ b/src/gui/choicefieldwidget.h @@ -27,7 +27,7 @@ namespace Tellico { */ class ChoiceFieldWidget : public FieldWidget { Q_OBJECT - TQ_OBJECT + public: ChoiceFieldWidget(Data::FieldPtr field, TQWidget* parent, const char* name=0); diff --git a/src/gui/datefieldwidget.h b/src/gui/datefieldwidget.h index 0730d11..fec5884 100644 --- a/src/gui/datefieldwidget.h +++ b/src/gui/datefieldwidget.h @@ -28,7 +28,7 @@ namespace Tellico { */ class DateFieldWidget : public FieldWidget { Q_OBJECT - TQ_OBJECT + public: DateFieldWidget(Data::FieldPtr field, TQWidget* parent, const char* name=0); diff --git a/src/gui/datewidget.h b/src/gui/datewidget.h index 7a1a599..56b87e7 100644 --- a/src/gui/datewidget.h +++ b/src/gui/datewidget.h @@ -29,7 +29,7 @@ namespace Tellico { class SpinBox : public TQSpinBox { Q_OBJECT - TQ_OBJECT + public: SpinBox(int min, int max, TQWidget *parent); @@ -40,7 +40,7 @@ public: */ class DateWidget : public TQWidget { Q_OBJECT - TQ_OBJECT + public: DateWidget(TQWidget* parent, const char* name = 0); diff --git a/src/gui/fieldwidget.h b/src/gui/fieldwidget.h index 4c70658..b67e1f0 100644 --- a/src/gui/fieldwidget.h +++ b/src/gui/fieldwidget.h @@ -37,7 +37,7 @@ namespace Tellico { */ class FieldWidget : public TQWidget { Q_OBJECT - TQ_OBJECT + public: FieldWidget(Data::FieldPtr field, TQWidget* parent, const char* name=0); diff --git a/src/gui/imagefieldwidget.h b/src/gui/imagefieldwidget.h index bef6816..c6b4656 100644 --- a/src/gui/imagefieldwidget.h +++ b/src/gui/imagefieldwidget.h @@ -28,7 +28,7 @@ namespace Tellico { */ class ImageFieldWidget : public FieldWidget { Q_OBJECT - TQ_OBJECT + public: ImageFieldWidget(Data::FieldPtr field, TQWidget* parent, const char* name=0); diff --git a/src/gui/imagewidget.h b/src/gui/imagewidget.h index a30ec9e..8cf7313 100644 --- a/src/gui/imagewidget.h +++ b/src/gui/imagewidget.h @@ -34,7 +34,7 @@ namespace Tellico { */ class ImageWidget : public TQWidget { Q_OBJECT - TQ_OBJECT + public: ImageWidget(TQWidget* parent, const char* name = 0); diff --git a/src/gui/kwidgetlister.h b/src/gui/kwidgetlister.h index 262500c..f723a9f 100644 --- a/src/gui/kwidgetlister.h +++ b/src/gui/kwidgetlister.h @@ -62,7 +62,7 @@ class TQHBox; class KWidgetLister : public TQWidget { Q_OBJECT - TQ_OBJECT + public: KWidgetLister( int minWidgets=1, int maxWidgets=8, TQWidget* parent=0, const char* name=0 ); virtual ~KWidgetLister(); diff --git a/src/gui/lineedit.h b/src/gui/lineedit.h index 5f86d84..a39d8a8 100644 --- a/src/gui/lineedit.h +++ b/src/gui/lineedit.h @@ -29,7 +29,7 @@ namespace Tellico { */ class LineEdit : public KLineEdit { Q_OBJECT - TQ_OBJECT + public: LineEdit(TQWidget* parent = 0, const char* name = 0); diff --git a/src/gui/linefieldwidget.h b/src/gui/linefieldwidget.h index 0e965e1..082e54b 100644 --- a/src/gui/linefieldwidget.h +++ b/src/gui/linefieldwidget.h @@ -26,7 +26,7 @@ namespace Tellico { */ class LineFieldWidget : public FieldWidget { Q_OBJECT - TQ_OBJECT + public: LineFieldWidget(Data::FieldPtr field, TQWidget* parent, const char* name=0); diff --git a/src/gui/listview.h b/src/gui/listview.h index d54eab6..47d3e8e 100644 --- a/src/gui/listview.h +++ b/src/gui/listview.h @@ -42,7 +42,7 @@ typedef TQPtrListIterator<ListViewItem> ListViewItemListIt; */ class ListView : public KListView { Q_OBJECT - TQ_OBJECT + friend class ListViewItem; // needed so the ListViewItem d'tor can update selection list diff --git a/src/gui/numberfieldwidget.h b/src/gui/numberfieldwidget.h index 7edb874..86f0a0d 100644 --- a/src/gui/numberfieldwidget.h +++ b/src/gui/numberfieldwidget.h @@ -28,7 +28,7 @@ namespace Tellico { */ class NumberFieldWidget : public FieldWidget { Q_OBJECT - TQ_OBJECT + public: NumberFieldWidget(Data::FieldPtr field, TQWidget* parent, const char* name=0); diff --git a/src/gui/overlaywidget.h b/src/gui/overlaywidget.h index 184afd2..a1d1f49 100644 --- a/src/gui/overlaywidget.h +++ b/src/gui/overlaywidget.h @@ -27,7 +27,7 @@ namespace Tellico { */ class OverlayWidget : public TQFrame { Q_OBJECT - TQ_OBJECT + public: OverlayWidget(TQWidget* parent, TQWidget* anchor); diff --git a/src/gui/parafieldwidget.h b/src/gui/parafieldwidget.h index 760943e..5d59bc9 100644 --- a/src/gui/parafieldwidget.h +++ b/src/gui/parafieldwidget.h @@ -27,7 +27,7 @@ namespace Tellico { */ class ParaFieldWidget : public FieldWidget { Q_OBJECT - TQ_OBJECT + public: ParaFieldWidget(Data::FieldPtr field, TQWidget* parent, const char* name=0); diff --git a/src/gui/previewdialog.h b/src/gui/previewdialog.h index 2dc5f0c..9ca8fda 100644 --- a/src/gui/previewdialog.h +++ b/src/gui/previewdialog.h @@ -28,7 +28,7 @@ namespace Tellico { class PreviewDialog : public KDialogBase { Q_OBJECT - TQ_OBJECT + public: PreviewDialog(TQWidget* parent); diff --git a/src/gui/progress.h b/src/gui/progress.h index 4df7b98..946efa3 100644 --- a/src/gui/progress.h +++ b/src/gui/progress.h @@ -24,7 +24,7 @@ namespace Tellico { */ class Progress : public KProgress { Q_OBJECT - TQ_OBJECT + public: Progress(TQWidget* parent); diff --git a/src/gui/ratingfieldwidget.h b/src/gui/ratingfieldwidget.h index 91adb0c..edcc000 100644 --- a/src/gui/ratingfieldwidget.h +++ b/src/gui/ratingfieldwidget.h @@ -26,7 +26,7 @@ namespace Tellico { */ class RatingFieldWidget : public FieldWidget { Q_OBJECT - TQ_OBJECT + public: RatingFieldWidget(Data::FieldPtr field, TQWidget* parent, const char* name=0); diff --git a/src/gui/ratingwidget.h b/src/gui/ratingwidget.h index ff694e7..933c7e2 100644 --- a/src/gui/ratingwidget.h +++ b/src/gui/ratingwidget.h @@ -32,7 +32,7 @@ namespace Tellico { */ class RatingWidget : public TQHBox { Q_OBJECT - TQ_OBJECT + typedef TQPtrList<TQLabel> LabelList; diff --git a/src/gui/richtextlabel.h b/src/gui/richtextlabel.h index 64a136b..c4e5107 100644 --- a/src/gui/richtextlabel.h +++ b/src/gui/richtextlabel.h @@ -24,7 +24,7 @@ namespace Tellico { */ class RichTextLabel : public TQTextEdit { Q_OBJECT - TQ_OBJECT + public: RichTextLabel(TQWidget* parent); diff --git a/src/gui/stringmapdialog.h b/src/gui/stringmapdialog.h index dafcc46..974bcf4 100644 --- a/src/gui/stringmapdialog.h +++ b/src/gui/stringmapdialog.h @@ -38,7 +38,7 @@ namespace Tellico { */ class StringMapDialog : public KDialogBase { Q_OBJECT - TQ_OBJECT + public: StringMapDialog(const TQMap<TQString, TQString>& stringMap, TQWidget* parent, const char* name=0, bool modal=false); diff --git a/src/gui/tabcontrol.h b/src/gui/tabcontrol.h index 8c53854..fdd3780 100644 --- a/src/gui/tabcontrol.h +++ b/src/gui/tabcontrol.h @@ -24,7 +24,7 @@ namespace Tellico { */ class TabControl : public TQTabWidget { Q_OBJECT - TQ_OBJECT + public: /** diff --git a/src/gui/tablefieldwidget.h b/src/gui/tablefieldwidget.h index 7e41783..81c5b0e 100644 --- a/src/gui/tablefieldwidget.h +++ b/src/gui/tablefieldwidget.h @@ -28,7 +28,7 @@ namespace Tellico { */ class TableFieldWidget : public FieldWidget { Q_OBJECT - TQ_OBJECT + public: TableFieldWidget(Data::FieldPtr field, TQWidget* parent, const char* name=0); diff --git a/src/gui/urlfieldwidget.h b/src/gui/urlfieldwidget.h index 8f1933d..afd8c6f 100644 --- a/src/gui/urlfieldwidget.h +++ b/src/gui/urlfieldwidget.h @@ -31,7 +31,7 @@ namespace Tellico { */ class URLFieldWidget : public FieldWidget { Q_OBJECT - TQ_OBJECT + public: URLFieldWidget(Data::FieldPtr field, TQWidget* parent, const char* name=0); diff --git a/src/importdialog.h b/src/importdialog.h index b99e9ff..e44d78b 100644 --- a/src/importdialog.h +++ b/src/importdialog.h @@ -35,7 +35,7 @@ namespace Tellico { */ class ImportDialog : public KDialogBase { Q_OBJECT - TQ_OBJECT + public: ImportDialog(Import::Format format, const KURL::List& urls, TQWidget* parent, const char* name); diff --git a/src/loandialog.h b/src/loandialog.h index 8c87b80..b61c770 100644 --- a/src/loandialog.h +++ b/src/loandialog.h @@ -34,7 +34,7 @@ namespace Tellico { */ class LoanDialog : public KDialogBase { Q_OBJECT - TQ_OBJECT + public: /** diff --git a/src/loanview.h b/src/loanview.h index e9eb563..a9774fe 100644 --- a/src/loanview.h +++ b/src/loanview.h @@ -30,7 +30,7 @@ namespace Tellico { */ class LoanView : public GUI::ListView, public Observer { Q_OBJECT - TQ_OBJECT + public: LoanView(TQWidget* parent, const char* name=0); diff --git a/src/mainwindow.h b/src/mainwindow.h index 660b206..9736e9e 100644 --- a/src/mainwindow.h +++ b/src/mainwindow.h @@ -72,7 +72,7 @@ namespace Tellico { */ class MainWindow : public KMainWindow, public ApplicationInterface { Q_OBJECT - TQ_OBJECT + friend class Controller; friend class DropHandler; diff --git a/src/newstuff/dialog.h b/src/newstuff/dialog.h index 8154c54..65046ca 100644 --- a/src/newstuff/dialog.h +++ b/src/newstuff/dialog.h @@ -43,7 +43,7 @@ namespace Tellico { class Dialog : public KDialogBase { Q_OBJECT - TQ_OBJECT + public: Dialog(DataType type, TQWidget* parent); diff --git a/src/newstuff/manager.h b/src/newstuff/manager.h index b8cc2dc..73b77a5 100644 --- a/src/newstuff/manager.h +++ b/src/newstuff/manager.h @@ -56,7 +56,7 @@ struct DataSourceInfo { class Manager : public TQObject { Q_OBJECT - TQ_OBJECT + public: Manager(TQObject* parent); diff --git a/src/newstuff/newscript.h b/src/newstuff/newscript.h index f59646a..cc290bf 100644 --- a/src/newstuff/newscript.h +++ b/src/newstuff/newscript.h @@ -33,7 +33,7 @@ class Manager; class NewScript : public SUPERCLASS { Q_OBJECT - TQ_OBJECT + public: NewScript(Manager* manager, TQWidget* parentWidget = 0); diff --git a/src/newstuff/providerloader.h b/src/newstuff/providerloader.h index 56b688e..60b174a 100644 --- a/src/newstuff/providerloader.h +++ b/src/newstuff/providerloader.h @@ -36,7 +36,7 @@ namespace Tellico { class ProviderLoader : public TQObject { Q_OBJECT - TQ_OBJECT + public: /** * Constructor. diff --git a/src/progressmanager.h b/src/progressmanager.h index 97e5018..1757109 100644 --- a/src/progressmanager.h +++ b/src/progressmanager.h @@ -30,7 +30,7 @@ class ProgressManager; */ class ProgressItem : public TQObject { Q_OBJECT - TQ_OBJECT + friend class ProgressManager; @@ -80,7 +80,7 @@ private: */ class ProgressManager : public TQObject { Q_OBJECT - TQ_OBJECT + public: virtual ~ProgressManager() {} diff --git a/src/reportdialog.h b/src/reportdialog.h index ee05e45..c6225ce 100644 --- a/src/reportdialog.h +++ b/src/reportdialog.h @@ -31,7 +31,7 @@ namespace Tellico { */ class ReportDialog : public KDialogBase { Q_OBJECT - TQ_OBJECT + public: /** diff --git a/src/statusbar.h b/src/statusbar.h index cf1aadc..b663c04 100644 --- a/src/statusbar.h +++ b/src/statusbar.h @@ -30,7 +30,7 @@ namespace Tellico { */ class StatusBar : public KStatusBar { Q_OBJECT - TQ_OBJECT + public: void clearStatus(); diff --git a/src/translators/alexandriaexporter.h b/src/translators/alexandriaexporter.h index cc2a368..93be36d 100644 --- a/src/translators/alexandriaexporter.h +++ b/src/translators/alexandriaexporter.h @@ -29,7 +29,7 @@ namespace Tellico { */ class AlexandriaExporter : public Exporter { Q_OBJECT - TQ_OBJECT + public: AlexandriaExporter() : Exporter() {} diff --git a/src/translators/alexandriaimporter.h b/src/translators/alexandriaimporter.h index 7ac5162..ecc9cfb 100644 --- a/src/translators/alexandriaimporter.h +++ b/src/translators/alexandriaimporter.h @@ -35,7 +35,7 @@ namespace Tellico { */ class AlexandriaImporter : public Importer { Q_OBJECT - TQ_OBJECT + public: /** diff --git a/src/translators/amcimporter.h b/src/translators/amcimporter.h index 7151140..0e287fc 100644 --- a/src/translators/amcimporter.h +++ b/src/translators/amcimporter.h @@ -24,7 +24,7 @@ namespace Tellico { */ class AMCImporter : public DataImporter { Q_OBJECT - TQ_OBJECT + public: AMCImporter(const KURL& url); virtual ~AMCImporter(); diff --git a/src/translators/audiofileimporter.h b/src/translators/audiofileimporter.h index a02e2bc..12d6434 100644 --- a/src/translators/audiofileimporter.h +++ b/src/translators/audiofileimporter.h @@ -33,7 +33,7 @@ namespace Tellico { */ class AudioFileImporter : public Importer { Q_OBJECT - TQ_OBJECT + public: /** diff --git a/src/translators/bibtexexporter.h b/src/translators/bibtexexporter.h index ea7189c..e3c302c 100644 --- a/src/translators/bibtexexporter.h +++ b/src/translators/bibtexexporter.h @@ -31,7 +31,7 @@ namespace Tellico { */ class BibtexExporter : public Exporter { Q_OBJECT - TQ_OBJECT + public: BibtexExporter(); diff --git a/src/translators/bibteximporter.h b/src/translators/bibteximporter.h index 4d9fe2b..6d1b878 100644 --- a/src/translators/bibteximporter.h +++ b/src/translators/bibteximporter.h @@ -42,7 +42,7 @@ namespace Tellico { */ class BibtexImporter : public Importer { Q_OBJECT - TQ_OBJECT + public: /** diff --git a/src/translators/bibtexmlexporter.h b/src/translators/bibtexmlexporter.h index 7813f18..f5e19d5 100644 --- a/src/translators/bibtexmlexporter.h +++ b/src/translators/bibtexmlexporter.h @@ -24,7 +24,7 @@ namespace Tellico { */ class BibtexmlExporter : public Exporter { Q_OBJECT - TQ_OBJECT + public: BibtexmlExporter() : Exporter() {} diff --git a/src/translators/bibtexmlimporter.h b/src/translators/bibtexmlimporter.h index d86dd3e..8af09f0 100644 --- a/src/translators/bibtexmlimporter.h +++ b/src/translators/bibtexmlimporter.h @@ -27,7 +27,7 @@ namespace Tellico { */ class BibtexmlImporter : public XMLImporter { Q_OBJECT - TQ_OBJECT + public: /** diff --git a/src/translators/csvexporter.h b/src/translators/csvexporter.h index 77b5e6b..8d41a3a 100644 --- a/src/translators/csvexporter.h +++ b/src/translators/csvexporter.h @@ -31,7 +31,7 @@ namespace Tellico { */ class CSVExporter : public Exporter { Q_OBJECT - TQ_OBJECT + public: CSVExporter(); diff --git a/src/translators/csvimporter.h b/src/translators/csvimporter.h index 9cadf92..5f3d4c6 100644 --- a/src/translators/csvimporter.h +++ b/src/translators/csvimporter.h @@ -40,7 +40,7 @@ namespace Tellico { */ class CSVImporter : public TextImporter { Q_OBJECT - TQ_OBJECT + public: class Parser; diff --git a/src/translators/dataimporter.h b/src/translators/dataimporter.h index 46a512d..3e1227b 100644 --- a/src/translators/dataimporter.h +++ b/src/translators/dataimporter.h @@ -25,7 +25,7 @@ namespace Tellico { */ class DataImporter : public Importer { Q_OBJECT - TQ_OBJECT + public: enum Source { URL, Text }; diff --git a/src/translators/deliciousimporter.h b/src/translators/deliciousimporter.h index 77011dc..da22a7d 100644 --- a/src/translators/deliciousimporter.h +++ b/src/translators/deliciousimporter.h @@ -25,7 +25,7 @@ namespace Tellico { */ class DeliciousImporter : public XSLTImporter { Q_OBJECT - TQ_OBJECT + public: /** diff --git a/src/translators/exporter.h b/src/translators/exporter.h index 0f7b55f..76d3897 100644 --- a/src/translators/exporter.h +++ b/src/translators/exporter.h @@ -45,7 +45,7 @@ namespace Tellico { */ class Exporter : public TQObject { Q_OBJECT - TQ_OBJECT + public: Exporter(); diff --git a/src/translators/filelistingimporter.h b/src/translators/filelistingimporter.h index 452f3f6..82d1693 100644 --- a/src/translators/filelistingimporter.h +++ b/src/translators/filelistingimporter.h @@ -35,7 +35,7 @@ namespace Tellico { */ class FileListingImporter : public Importer { Q_OBJECT - TQ_OBJECT + public: FileListingImporter(const KURL& url); diff --git a/src/translators/freedbimporter.h b/src/translators/freedbimporter.h index 22c7036..a90d8e8 100644 --- a/src/translators/freedbimporter.h +++ b/src/translators/freedbimporter.h @@ -33,7 +33,7 @@ namespace Tellico { */ class FreeDBImporter : public Importer { Q_OBJECT - TQ_OBJECT + public: /** diff --git a/src/translators/gcfilmsexporter.h b/src/translators/gcfilmsexporter.h index c226d7d..49c0e58 100644 --- a/src/translators/gcfilmsexporter.h +++ b/src/translators/gcfilmsexporter.h @@ -26,7 +26,7 @@ namespace Tellico { */ class GCfilmsExporter : public Exporter { Q_OBJECT - TQ_OBJECT + public: GCfilmsExporter(); diff --git a/src/translators/gcfilmsimporter.h b/src/translators/gcfilmsimporter.h index 9dca11d..4c1e5d6 100644 --- a/src/translators/gcfilmsimporter.h +++ b/src/translators/gcfilmsimporter.h @@ -27,7 +27,7 @@ namespace Tellico { */ class GCfilmsImporter : public TextImporter { Q_OBJECT - TQ_OBJECT + public: /** diff --git a/src/translators/griffithimporter.h b/src/translators/griffithimporter.h index de3d59a..39b5aa8 100644 --- a/src/translators/griffithimporter.h +++ b/src/translators/griffithimporter.h @@ -32,7 +32,7 @@ namespace Tellico { */ class GriffithImporter : public Importer { Q_OBJECT - TQ_OBJECT + public: /** diff --git a/src/translators/grs1importer.h b/src/translators/grs1importer.h index 04ea35b..af0c8c8 100644 --- a/src/translators/grs1importer.h +++ b/src/translators/grs1importer.h @@ -29,7 +29,7 @@ namespace Tellico { */ class GRS1Importer : public TextImporter { Q_OBJECT - TQ_OBJECT + public: GRS1Importer(const TQString& text); diff --git a/src/translators/htmlexporter.h b/src/translators/htmlexporter.h index 0f7371d..e99f227 100644 --- a/src/translators/htmlexporter.h +++ b/src/translators/htmlexporter.h @@ -40,7 +40,7 @@ namespace Tellico { */ class HTMLExporter : public Exporter { Q_OBJECT - TQ_OBJECT + public: HTMLExporter(); diff --git a/src/translators/importer.h b/src/translators/importer.h index 08fe3f1..b6db016 100644 --- a/src/translators/importer.h +++ b/src/translators/importer.h @@ -41,7 +41,7 @@ namespace Tellico { */ class Importer : public TQObject { Q_OBJECT - TQ_OBJECT + public: Importer() : TQObject(), m_options(ImportProgress) {} diff --git a/src/translators/onixexporter.h b/src/translators/onixexporter.h index fd947ae..08c0dcd 100644 --- a/src/translators/onixexporter.h +++ b/src/translators/onixexporter.h @@ -30,7 +30,7 @@ namespace Tellico { */ class ONIXExporter : public Exporter { Q_OBJECT - TQ_OBJECT + public: ONIXExporter(); diff --git a/src/translators/pdfimporter.h b/src/translators/pdfimporter.h index b16136d..97511c2 100644 --- a/src/translators/pdfimporter.h +++ b/src/translators/pdfimporter.h @@ -21,7 +21,7 @@ namespace Tellico { class PDFImporter : public Importer { Q_OBJECT - TQ_OBJECT + public: PDFImporter(const KURL::List& urls); diff --git a/src/translators/pilotdbexporter.h b/src/translators/pilotdbexporter.h index f827e2c..d4e87ad 100644 --- a/src/translators/pilotdbexporter.h +++ b/src/translators/pilotdbexporter.h @@ -28,7 +28,7 @@ namespace Tellico { */ class PilotDBExporter : public Exporter { Q_OBJECT - TQ_OBJECT + public: PilotDBExporter(); diff --git a/src/translators/referencerimporter.h b/src/translators/referencerimporter.h index 9105bd1..15c21eb 100644 --- a/src/translators/referencerimporter.h +++ b/src/translators/referencerimporter.h @@ -25,7 +25,7 @@ namespace Tellico { */ class ReferencerImporter : public XSLTImporter { Q_OBJECT - TQ_OBJECT + public: /** diff --git a/src/translators/risimporter.h b/src/translators/risimporter.h index 9b5b07b..fa581ba 100644 --- a/src/translators/risimporter.h +++ b/src/translators/risimporter.h @@ -34,7 +34,7 @@ namespace Tellico { */ class RISImporter : public Importer { Q_OBJECT - TQ_OBJECT + public: /** diff --git a/src/translators/tellicoimporter.h b/src/translators/tellicoimporter.h index a794c8a..93cf7da 100644 --- a/src/translators/tellicoimporter.h +++ b/src/translators/tellicoimporter.h @@ -34,7 +34,7 @@ namespace Tellico { */ class TellicoImporter : public DataImporter { Q_OBJECT - TQ_OBJECT + public: enum Format { Unknown, Error, XML, Zip, Cancel }; diff --git a/src/translators/tellicoxmlexporter.h b/src/translators/tellicoxmlexporter.h index 666bdde..d2b291c 100644 --- a/src/translators/tellicoxmlexporter.h +++ b/src/translators/tellicoxmlexporter.h @@ -33,7 +33,7 @@ namespace Tellico { */ class TellicoXMLExporter : public Exporter { Q_OBJECT - TQ_OBJECT + public: TellicoXMLExporter(); diff --git a/src/translators/tellicozipexporter.h b/src/translators/tellicozipexporter.h index 2e62c1d..7a460ac 100644 --- a/src/translators/tellicozipexporter.h +++ b/src/translators/tellicozipexporter.h @@ -24,7 +24,7 @@ namespace Tellico { */ class TellicoZipExporter : public Exporter { Q_OBJECT - TQ_OBJECT + public: TellicoZipExporter() : Exporter(), m_includeImages(true), m_cancelled(false) {} diff --git a/src/translators/textimporter.h b/src/translators/textimporter.h index 4f68b90..d285585 100644 --- a/src/translators/textimporter.h +++ b/src/translators/textimporter.h @@ -26,7 +26,7 @@ namespace Tellico { */ class TextImporter : public Importer { Q_OBJECT - TQ_OBJECT + public: /** diff --git a/src/translators/xmlimporter.h b/src/translators/xmlimporter.h index e544a17..0bf0720 100644 --- a/src/translators/xmlimporter.h +++ b/src/translators/xmlimporter.h @@ -28,7 +28,7 @@ namespace Tellico { */ class XMLImporter : public Importer { Q_OBJECT - TQ_OBJECT + public: /** diff --git a/src/translators/xsltimporter.h b/src/translators/xsltimporter.h index 25357de..fd5993d 100644 --- a/src/translators/xsltimporter.h +++ b/src/translators/xsltimporter.h @@ -29,7 +29,7 @@ namespace Tellico { */ class XSLTImporter : public TextImporter { Q_OBJECT - TQ_OBJECT + public: /** diff --git a/src/upcvalidator.h b/src/upcvalidator.h index 540857f..5931c79 100644 --- a/src/upcvalidator.h +++ b/src/upcvalidator.h @@ -23,7 +23,7 @@ namespace Tellico { */ class UPCValidator : public TQValidator { Q_OBJECT - TQ_OBJECT + public: UPCValidator(TQObject* parent, const char* name=0); diff --git a/src/viewstack.h b/src/viewstack.h index ac0701a..4868053 100644 --- a/src/viewstack.h +++ b/src/viewstack.h @@ -27,7 +27,7 @@ namespace Tellico { */ class ViewStack : public TQWidgetStack { Q_OBJECT - TQ_OBJECT + public: ViewStack(TQWidget* parent, const char* name = 0); |