Neal Wilson 11 lat temu
rodzic
commit
23482e5d3d
1 zmienionych plików z 9 dodań i 9 usunięć
  1. 9
    9
      src/typica.w

+ 9
- 9
src/typica.w Wyświetl plik

@@ -12580,24 +12580,24 @@ This class also automatically persists column widths when these are changed.
12580 12580
 
12581 12581
 @<Class declarations@>=
12582 12582
 class SqlQueryView : public QTableView@/
12583
-{@t\1@>@/
12584
-	Q_OBJECT@;
12583
+{@/
12584
+	@[Q_OBJECT@]@;
12585 12585
 	public:@/
12586 12586
 		SqlQueryView(QWidget *parent = NULL);
12587 12587
 		void setQuery(const QString &query);
12588 12588
 		bool setHeaderData(int section, Qt::Orientation@, orientation,
12589 12589
 						   const QVariant &value, int role);
12590
-		Q_INVOKABLE QVariant data(int row, int column,
12591
-								  int role = Qt::DisplayRole);@/
12590
+		@[Q_INVOKABLE@,@, QVariant@]@, data(int row, int column,
12591
+								  int role = Qt::DisplayRole);@t\2\2@>@/
12592 12592
 	signals:@/
12593 12593
 		void openEntry(QString key);
12594
-		void openEntryRow(int row);@t\2@>@/
12594
+		void openEntryRow(int row);@/
12595 12595
 	protected:@/
12596
-		virtual void showEvent(QShowEvent *event);
12597
-	private slots@t\kern-3pt@>:@t\1@>@/
12596
+		virtual void showEvent(QShowEvent *event);@/
12597
+	@[private slots@]:@/
12598 12598
 		void openRow(const QModelIndex &index);
12599
-		void persistColumnResize(int column, int oldsize, int newsize);@t\2@>@/
12600
-}@t\kern-3pt@>;
12599
+		void persistColumnResize(int column, int oldsize, int newsize);@/
12600
+};
12601 12601
 
12602 12602
 @ The constructor sets up the communication between the model and the view and
12603 12603
 also provides the connection needed to notice when columns change size to

Ładowanie…
Anuluj
Zapisz